MaskedOcclusionCulling icon indicating copy to clipboard operation
MaskedOcclusionCulling copied to clipboard

Feature request: TestSphere

Open fstrugar opened this issue 8 years ago • 2 comments

Bounding sphere visibility test.

fstrugar avatar Jun 29 '17 15:06 fstrugar

you can compute a bounding rect from a sphere.

https://research.nvidia.com/publication/2d-polyhedral-bounds-clipped-perspective-projected-3d-sphere

brunntho avatar Feb 14 '19 09:02 brunntho

That is an excellent article, thank you! With the bounding rect there would be some amount of false negatives for culling as it doesn't fit tightly, but if that is a problem one can use a bounding polygon with more sides and test using already available MaskedOcclusionCulling::TestTriangles. I'll leave this open in case anyone wants to write an implementation based on the Nvidia paper!

fstrugar avatar Feb 15 '19 10:02 fstrugar