View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002593 | The Dark Mod | Coding | public | 30.01.2011 19:45 | 27.10.2011 05:16 |
Reporter | tels | Assigned To | tels | ||
Priority | normal | Severity | normal | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | TDM 1.03 | ||||
Target Version | TDM 1.04 | Fixed in Version | TDM 1.04 | ||
Summary | 0002593: ModelGenerator fails for twosided materials | ||||
Description | The 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 Information | http://modetwo.net/darkmod/index.php?/topic/12107-announcement-seed-system/page__view__findpost__p__246317 | ||||
Tags | No tags attached. | ||||
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. |
|
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. | |
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. | |
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 |