View Issue Details

IDProjectCategoryView StatusLast Update
0004880DarkRadiantModelspublic20.09.2018 13:20
ReporterchedapAssigned Togreebo 
PrioritynormalSeveritynormalReproducibilityalways
Status resolvedResolutionfixed 
PlatformOSWindows 7 x64OS Version
Product Version2.6.0 
Target Version2.6.1Fixed in Version2.6.1 
Summary0004880: Bad normals produced by .ASE exporter
DescriptionDarkRadiant ASE exporter writes some bad values for normals (-1.#IND, -nan(ind), nan). Not sure how the engine handles NaNs, but among already existing TDM+FMs models, every fourth DR-exported .ase is affected.
Steps To ReproduceI could reproduce it by just making a cylinder out of a 1x1x1 brush.
Additional InformationThese were produced with exporter v0.9 (latest at the moment):

\models\darkmod\mechanical\security_camera.ase
\models\darkmod\wearables\headgear\forger_face_mask.ase
\fms\itb\models\darkmod\cupola_lowpoly.ase
\fms\river\models\custom\furniture\chair_simple.ase
\fms\river\models\custom\ship\paddlewheel_housing.ase
\fms\river\models\custom\furniture\secret_knob.ase
\fms\cauldron_v2\models\volta\architecture\dock_hydrant_thing.ase
\fms\cauldron_v2\models\volta\architecture\large_industrial_fan.ase
\fms\cauldron_v2\models\volta\architecture\light_outdoor_ground_lantern.ase
\fms\cauldron_v2\models\volta\architecture\light_outdoor_spot.ase
\fms\cauldron_v2\models\volta\architecture\light_outdoor_spot_standing.ase
\fms\cauldron_v2\models\volta\architecture\small_industrial_fan.ase
\fms\cauldron_v2\models\volta\architecture\volta_flag_large.ase

(itb="In the Black", river="Down by the Riverside", cauldron="Volta 2")
TagsNo tags attached.

Activities

greebo

greebo

20.09.2018 13:15

administrator   ~0010767

I can confirm the exporters producing -NaN for the cylinder patch generated from a 1x1x1 brush.
greebo

greebo

20.09.2018 13:20

administrator   ~0010768

In commit e7bf1707e I changed the tesselation code to catch degenerate (0,0,0) normals. The model output isn't much better now, but at least the .ASE syntax is now free of the NaNs when exporting these patches.

Issue History

Date Modified Username Field Change
04.09.2018 17:40 chedap New Issue
20.09.2018 11:43 greebo Status new => acknowledged
20.09.2018 13:15 greebo Note Added: 0010767
20.09.2018 13:15 greebo Status acknowledged => confirmed
20.09.2018 13:18 greebo Assigned To => greebo
20.09.2018 13:18 greebo Status confirmed => assigned
20.09.2018 13:20 greebo Note Added: 0010768
20.09.2018 13:20 greebo Status assigned => resolved
20.09.2018 13:20 greebo Fixed in Version => 2.6.1
20.09.2018 13:20 greebo Resolution open => fixed
20.09.2018 13:20 greebo Target Version => 2.6.1