Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Flarkk
Copy link
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 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