mirror of
https://github.com/mwpenny/portal64-still-alive.git
synced 2024-10-19 22:27:36 -04:00
9822ffeac9
Standard culling is quite coarse, for performance reasons: * Only uses axis-aligned bounding boxes * One visible object in a BVH node will make all others in the same node visible These properties allow the bounding boxes of rotated objects to clip through the back of portals to be considered visible, causing improper rendering. This commit introduces a new optional argument for `@static` level objects: `precise_culling`. Static geometry marked for precise culling will be culled based on its exact (i.e., rotated) bounding box, in the same way dynamic/animated geometry is. Precise culling is more expensive than standard culling so it is opt-in. It is intended only for the few situations that can hit the edge cases described above. |
||
---|---|---|
.. | ||
level_scripts | ||
auto_uv.py | ||
bake_lighting.py | ||
debug_simplex.py | ||
debug_surface_builder.py | ||
dump_rcp_state.py | ||
export_fbx.py | ||
export_level.lua | ||
font_converter.js | ||
generate_animation_ld.js | ||
generate_dynamic_animated_model_list.js | ||
generate_dynamic_model_list.js | ||
generate_level_ld.js | ||
generate_level_list.js | ||
generate_sound_config.js | ||
generate_sound_ids.js | ||
jsox.js | ||
profile_parser.js | ||
romfix64.sh | ||
setup.sh | ||
zimage_formatter.js |