View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0005190||The Dark Mod||Coding||public||22.03.2020 02:27||05.12.2020 12:33|
|Product Version||TDM 2.08|
|Target Version||TDM 2.10|
|Summary||0005190: Frontend optimizations due to connectedness of entities/surfaces|
|Description||One of the inefficiencies of current frontend is that objects are often pushed into visleafs where they don't belong.|
This usually happens for sloped walls, when the object is completely indoors, but its bounding passes through the wall, so the entity is also considered to be outdoors.
This results in excessive draw calls in such cases.
The idea is to exploit connectedness property of an object to better determine which areas is belongs to.
If the object bounds don't overlap any visportal, then the whole object belongs only to the area/visleaf where its test point (chosen arbitrarily) belongs to.
Hopefully, it is possible to deduce connectedness of many objects automatically.
However, spawnargs for forcing connectedness / disconnectedness are still necessary.
|Additional Information||See discussion:|
|Tags||No tags attached.|