View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0002297||The Dark Mod||Graphics||public||06.07.2010 05:36||27.05.2018 16:45|
|Platform||x86_64||OS||Linux||OS Version||Kubuntu 9.04|
|Product Version||TDM 1.03|
|Target Version||Fixed in Version|
|Summary||0002297: Sidedness of material sticks to skin|
|Description||It seems a two-sided texture on a model prevents a skin to be one-sided, and vice-versa.|
Not sure if this is even fixable in our code. Discussion here:
|Tags||No tags attached.|
|related to||0003771||acknowledged||Models with corrupt or badly scaled textures - ongoing|
|related to||0002678||closed||SteveL||nodraw skinned surfaces are still active for collision detection|
|related to||0004802||assigned||nbohr1more||Nodraw surfaces in models remain invisible when given a visible texture via skin.|
It might be fixable in code with the new ModelGenerator.
* If you apply a one-sided skin to a formerly-two-sided skinned model, remove every second surface.
* If you apply a two-sided skin to a formerly-one-sided skinned model, add the back surfaces again.
That needs to happen upon setting the skin, although in the case the model is loaded and the entity skin is set right away, it would be better if f.i. the backsided polygons weren't even created only to be removed for a one-sided skin again.
|From reading the code comments and the code, the same happens with shadows. Surfaces that are set to noshadow in a skin would still have the shadow, as the shadow hull is not rebuild.|
|So that's the reason for http://bugs.thedarkmod.com/view.php?id=4200#c7718|
|N.B. Whenever this gets fixed, somebody will have to make sure existing skins are also fixed where necessary. I was wondering why atdm:moveable_loot_gold_sugarcup and atdm:moveable_loot_gold_creamer have invisible insides in DR but not in TDM, and the answer seems to be that several skins used by models/darkmod/kitchen/sugar_silver.ase and models/darkmod/kitchen/creamer_silver.ase replace a two-sided material with a one-sided one.|
|06.07.2010 05:36||tels||New Issue|
|22.08.2010 11:31||tels||Note Added: 0003175|
|26.10.2010 16:01||tels||Note Added: 0003274|
|15.03.2011 18:06||tels||Relationship added||related to 0002678|
|12.10.2015 16:24||VanishedOne||Note Added: 0007861|
|26.03.2016 21:34||VanishedOne||Note Added: 0008057|
||Relationship added||related to 0003771|
|27.05.2018 16:45||nbohr1more||Relationship added||related to 0004802|