Skip to content

[BVH precision] Make scene culling use precision-proof version of BVH::ray_query()#100480

Draft
Flarkk wants to merge 2 commits into
godotengine:masterfrom
Flarkk:fix_bvh_scene_cull
Draft

[BVH precision] Make scene culling use precision-proof version of BVH::ray_query()#100480
Flarkk wants to merge 2 commits into
godotengine:masterfrom
Flarkk:fix_bvh_scene_cull

Conversation

@Flarkk
Copy link
Copy Markdown
Contributor

@Flarkk Flarkk commented Dec 16, 2024

Follow-up PR of #100475. More context there.

This PR makes sure scene culling uses the numerical precision-proof version of BVH::ray_query().
Note that this PR breaks compatibility as it changes the signature of RenderingServer::instances_cull_ray(). This is however a function intended for editor usage, so this shouldn't be a hard stop.

TODO :

  • godot-cpp companion PR

@Flarkk Flarkk requested review from a team as code owners December 16, 2024 17:50
@Flarkk Flarkk requested a review from a team December 16, 2024 17:50
@Flarkk Flarkk requested review from a team as code owners December 16, 2024 17:50
@Flarkk Flarkk marked this pull request as draft December 16, 2024 17:51
@Flarkk Flarkk changed the title [BVH precision] Make scene culling use precision-proof version of BVH::ray_query() [BVH precision] Make scene culling use precision-proof version of BVH::ray_query() Dec 16, 2024
@AThousandShips AThousandShips added this to the 4.x milestone Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants