View Issue Details

IDProjectCategoryView StatusLast Update
0004321DarkRadiantMap Editingpublic29.03.2017 18:29
Reportergreebo Assigned Togreebo  
PrioritynormalSeveritynormalReproducibilityhave not tried
Status closedResolutionfixed 
Product Version2.0.3 
Target Version2.1.0Fixed in Version2.1.0 
Summary0004321: Patch tesselation code produces strange normals on some patches
DescriptionCertain patches with dimensions higher than 3x3 and fixed subdivision enabled appear to have strange normals on them. They don't appear in-game but in DR only, where exporter plugins like the ASE export script pick up the wrong values during export.
Steps To Reproduce- Create Patch 5x3 and give it a caulk texture
- Set fixed subdivisions to 2x1
- Save the map
- Reload the map, it should show the shadings
TagsNo tags attached.
Attached Files
subdiv_bug.map (520 bytes)   
Version 2
// entity 0
{
"classname" "worldspawn"
"editor_drLastCameraPos" "-76.9592 -91.7054 214.341"
"editor_drLastCameraAngle" "-60.6 53.7 0"
// primitive 0
{
patchDef3
{
"textures/common/caulk"
( 5 3 2 1 0 0 0 )
(
( ( -64 -64 0 0 0 ) ( -64 0 0 0 -2 ) ( -64 64 0 0 -4 ) )
( ( -32 -64 0 1 0 ) ( -32 0 0 1 -2 ) ( -32 64 0 1 -4 ) )
( ( 0 -64 0 2 0 ) ( 0 0 0 2 -2 ) ( 0 64 0 2 -4 ) )
( ( 32 -64 0 3 0 ) ( 32 0 0 3 -2 ) ( 32 64 0 3 -4 ) )
( ( 64 -64 0 4 0 ) ( 64 0 0 4 -2 ) ( 64 64 0 4 -4 ) )
)
}
}
}
subdiv_bug.map (520 bytes)   

Relationships

related to 0004313 closedgreebo Dark spots/areas on patches when exporting to ASE 

Activities

greebo

greebo

11.06.2016 07:34

administrator   ~0008205

Ported the code from idTech4, plus some adjustments in the Patch classes.
Commit is 006b3612b419b122cddc3673df084d59754cd74a

Issue History

Date Modified Username Field Change
21.05.2016 09:34 greebo New Issue
21.05.2016 09:34 greebo File Added: subdiv_bug.map
21.05.2016 09:34 greebo Relationship added related to 0004313
21.05.2016 09:34 greebo Status new => confirmed
04.06.2016 07:34 greebo Target Version => 2.1.0
11.06.2016 05:57 greebo Assigned To => greebo
11.06.2016 05:57 greebo Status confirmed => assigned
11.06.2016 07:34 greebo Note Added: 0008205
11.06.2016 07:34 greebo Status assigned => resolved
11.06.2016 07:34 greebo Fixed in Version => 2.1.0
11.06.2016 07:34 greebo Resolution open => fixed
29.03.2017 18:29 greebo Status resolved => closed