virtualx-engine/servers/visual
lawnjelly 07e5022cce
BVH - add option for expanded AABBs in leaves
This PR adds a define BVH_EXPAND_LEAF_AABBS which is set, which stores expanded AABBs in the tree instead of exact AABBs.

This makes the logic less error prone when considering reciprocal collisions in the pairing, as all collision detect is now taking place between expanded AABB against expanded AABB, rather than expanded AABB against exact AABB.

The flip side of this is that the intersection tests will now be less exact when expanded margins are set.

All margins are now user customizable via project settings, and take account of collision pairing density to adjust the margin dynamically.

(cherry picked from commit 211dc8cd2d)
2021-11-25 23:13:14 +01:00
..
portals Portals - Allow user to set roaming expansion margin 2021-11-15 22:45:57 +01:00
rasterizer.cpp Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
rasterizer.h Merge pull request #51491 from Calinou/glow-add-high-quality-mode-3.x 2021-10-08 07:47:07 +02:00
SCsub Portal occlusion culling 2021-07-14 11:43:23 +01:00
shader_language.cpp clang-format: Disable alignment of operands, too unreliable 2021-10-28 13:23:38 +02:00
shader_language.h [3.x] Fix shader crash when using local var with the same name as varying 2021-08-13 09:30:35 +03:00
shader_types.cpp [3.x] Makes shader 'TIME' available in custom functions by default 2021-06-11 15:23:24 +03:00
shader_types.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
visual_server_canvas.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
visual_server_canvas.h Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
visual_server_globals.cpp Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
visual_server_globals.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
visual_server_raster.cpp Remove duplicate ERR_PRINTS macro 2021-06-16 11:56:25 +01:00
visual_server_raster.h Portals - Allow user to set roaming expansion margin 2021-11-15 22:45:57 +01:00
visual_server_scene.cpp BVH - add option for expanded AABBs in leaves 2021-11-25 23:13:14 +01:00
visual_server_scene.h Portals - Allow user to set roaming expansion margin 2021-11-15 22:45:57 +01:00
visual_server_viewport.cpp Only update render target directly if ARVR mode is off 2021-10-26 21:40:25 +11:00
visual_server_viewport.h Add support for contrast-adaptive sharpening in 3D (GLES3 only) 2021-06-21 15:37:31 +02:00
visual_server_wrap_mt.cpp Sphere occluders (portals and general use) 2021-08-17 09:02:06 +01:00
visual_server_wrap_mt.h Portals - Allow user to set roaming expansion margin 2021-11-15 22:45:57 +01:00