View Issue Details

IDProjectCategoryView StatusLast Update
0002297The Dark ModGraphicspublic08.08.2022 01:14
Reportertels Assigned To 
PrioritynormalSeveritynormalReproducibilityalways
Status newResolutionopen 
Platformx86_64OSLinuxOS VersionKubuntu 9.04
Product VersionTDM 1.03 
Summary0002297: Sidedness of material sticks to skin
DescriptionIt 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:

https://forums.thedarkmod.com/index.php?/topic/11281-improve-the-lod-system/page/2/#comment-222226
TagsNo tags attached.

Relationships

related to 0002678 closedSteveL nodraw skinned surfaces are still active for collision detection 
related to 0004802 assignednbohr1more Nodraw surfaces in models remain invisible when given a visible texture via skin. 

Activities

tels

tels

22.08.2010 11:31

reporter   ~0003175

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.
tels

tels

26.10.2010 16:01

reporter   ~0003274

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.
VanishedOne

VanishedOne

12.10.2015 16:24

reporter   ~0007861

So that's the reason for http://bugs.thedarkmod.com/view.php?id=4200#c7718
VanishedOne

VanishedOne

26.03.2016 21:34

reporter   ~0008057

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.

Issue History

Date Modified Username Field Change
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
28.03.2018 09:34 user81 Relationship added related to 0003771
27.05.2018 16:45 nbohr1more Relationship added related to 0004802
09.07.2022 22:42 Dragofer Relationship deleted related to 0003771
08.08.2022 01:14 nbohr1more Description Updated