branchrust_reboot/main/optimize_reduce_dynamic_occlusioncancel

13 Commits over 0 Days - ∞cph!

4 Days Ago
Remove the IsEntityDynamic() override in CookingWorkbenchBBQ because that is not the normal BBQ :( - don't worry about normal bbq anyways, it was already static and seemed to work fine with occlusion
5 Days Ago
Compile fixes
5 Days Ago
Mark ladder as static when parented to building block
5 Days Ago
Mark TC as static
5 Days Ago
Set additional entities as static so industrial adapters & codelocks parented are also considered static - furnaces / ovens (exclude BBQ because they open & close) - fridge - lockers - codelocks themselves (was accounting for doors but not the codelocks individually)
5 Days Ago
merge from main -> optimize_reduce_dynamic_occlusion
20 Days Ago
Fix compile errors
20 Days Ago
Set dynamic_occlusion_pausing to enabled instead of disabled
22 Days Ago
Switch certain dynamic occlusion entities to static occludees when we know they can't move - convar `dynamic_occlusion_pausing` (0 = off, 1 = codelocks + industrial adapters on boxes, 2 = codelocks on doors) - currently (and by default) every entity is considered dynamic if parented - now certain entities can indicate if they are static (like boxes) - converts codelocks to dynamic while the door is opening, converts back to static once finished - will check all parents so a box parented to a tugboat will still be considered dynamic since it will find the tugboat as root parent - reduces dynamic ocludee count by 80% (417->74) on a sample base (converts nearly all codelocks and industrial adapters) - refresh entity dynamic status when running `refresh_renderers`
22 Days Ago
22 Days Ago
Make dynamicOccludees list public so it works with the command
22 Days Ago
Set industrial adapter to not be dynamic - still gets set to dynamic at all times since it's always spawned parented to an entity
22 Days Ago
Add `print_occlusion` command to print the amount of dynamic ocludees