View Issue Details

IDProjectCategoryView StatusLast Update
0002593The Dark ModCodingpublic27.10.2011 05:16
Reportertels Assigned Totels  
PrioritynormalSeveritynormalReproducibilityalways
Status closedResolutionfixed 
Product VersionTDM 1.03 
Target VersionTDM 1.04Fixed in VersionTDM 1.04 
Summary0002593: ModelGenerator fails for twosided materials
DescriptionThe issue is not garbled normales, but a wrongly duplicated-twice surface data due to the original being twosided. Need somehow to detect this case (hopefully this only happens if you only have one surface).
Additional Informationhttp://modetwo.net/darkmod/index.php?/topic/12107-announcement-seed-system/page__view__findpost__p__246317
TagsNo tags attached.

Relationships

parent of 0002590 closedSteveL SEED: make seed_watch_brethren work 
related to 0002628 closedtels SEED: some surfaces still doubled twice 

Activities

tels

tels

02.02.2011 15:28

reporter   ~0003539

It seems that the normals are not garbled (but stgatilov fixed a case with scaling and the normals, anyway, and also used a combined matrix to make things go faster), but instead a backsided surface got duplicated and then duplicated again. Rendering alphatested surfaces twice means everything is twice as bright.

The real solution for this is to completely rewrite the strategy of the modelcombiner when to skip surfaces and when not, and when to call FinishSurfaces() and when not. This is currently underway.
tels

tels

02.02.2011 19:53

reporter   ~0003541

Fixed with revision 0004536. Works no in stages, with any number of two-sided textures regardless on whether these are in the base surfaces, avoids calling FinishSurfaces() in a lot more cases (thus much faster) and is better documented, too.
tels

tels

03.02.2011 21:01

reporter   ~0003549

With revision 0004543 the same strategy is now also used for DuplicateModel(), which is used (atm exclusively) to duplicate map geometry func_statics. Should now be faster if these are noshadow casting.

Issue History

Date Modified Username Field Change
30.01.2011 19:45 tels New Issue
30.01.2011 19:45 tels Status new => assigned
30.01.2011 19:45 tels Assigned To => tels
01.02.2011 19:30 tels Summary ModelGenerator garbles normals => ModelGenerator fails for twosided materials
01.02.2011 19:30 tels Description Updated
02.02.2011 15:28 tels Note Added: 0003539
02.02.2011 19:53 tels Note Added: 0003541
02.02.2011 19:53 tels Status assigned => resolved
02.02.2011 19:53 tels Fixed in Version => TDM 1.04
02.02.2011 19:53 tels Resolution open => fixed
02.02.2011 19:54 tels Relationship added parent of 0002590
03.02.2011 21:01 tels Note Added: 0003549
12.02.2011 19:54 tels Relationship added related to 0002628
27.10.2011 05:16 greebo Status resolved => closed