Hi does anyone know of a easy to use tutorial for frustum culling and uses bounding boxes ( not axis aligned ) for the tests?.
Frustum culling using bounding boxes for objects to cull, need tutorial/example.
I have an example that tests if a cube is outside the view frustum: https://github.com/larspensjo/ephenation-client/blob/fb5094c88fc31ea1f63bdf7dc8ffeb62eca50f64/Source/render.cpp#L201.
It is actually a little complicated. It may be that all vertices are outside of the view frustum, but that some part of the cube is still inside. My example uses a simplification, only testing if all vertices are outside at the same side.
Hello try this http://www.flipcode.com/archives/Frustum_Culling.shtml
and http://www.chadvernon.com/blog/resources/directx9/frustum-culling/
and this may be a good read http://www.gamedev.net/topic/515371-frustum-corner-point-calculation/
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement