virtualx-engine/modules/raycast
jfons dd970482c5 Improvements and fixes to occluders
Improvements:
* Occluder3D is now an abstract type inherited by: ArrayOccluder3D, QuadOccluder3D, BoxOccluder3D, SphereOccluder3D and PolygonOccluder3D. ArrayOccluder3D serves the same purpose as the old Occluder3D (triangle mesh occluder) while the rest are primitives that can be used to manually place simple occluders.
* Occluder baking can now apply simplification. The "bake_simplification_distance" property can be used to set a world-space distance as the desired maximum error, set to 0.1 by default.
* Occluders can now be generated on import. Using the "occ" and "occonly" keywords (similar to "col" and "colonly" for colliders) or by enabling on MeshInstance3Ds in the scene's import window.

Fixes:
* Fixed saving of occluder files after bake.
* Fixed a small error where occluders didn't correctly update in the rendering server.

Bonus content:
* Generalized "CollisionPolygon3DEditor" so it can also be used to edit Resources. Renamed it to "Polygon3DEditor" since it was already being used by other things, not just colliders.
* Fixed a small bug in "EditorPropertyArray" where a call to "remove" was left after the "remove_at" rename.
2022-02-07 13:04:51 +01:00
..
config.py Add support for PowerPC family 2021-11-01 22:25:53 +01:00
godot_update_embree.py Upgrade Embree and enable ray packets 2021-09-13 16:17:28 +02:00
lightmap_raycaster.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
lightmap_raycaster.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
raycast_occlusion_cull.cpp Improvements and fixes to occluders 2022-02-07 13:04:51 +01:00
raycast_occlusion_cull.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
register_types.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
register_types.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
SCsub Merge pull request #53245 from JFonS/occ_fixes2 2021-09-30 19:58:05 +02:00
static_raycaster.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
static_raycaster.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00