Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


beginning Quadtree

This topic is 5551 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I have my terrain accurately split up into a quadtree now. I''m stuck on how to do culling (like don''t draw if it''s outside the view frustum). I know it''s a simple test of determining whether a point is on the left or right of certain planes, but how can I extract the planes from the view frustrum and what exactly is that equation to determine which side a point is on? It''s some dot3 evaluation isn''t it? I looked around for a while and everything I found just explains the concept but doesn''t tell me how to implement it. I''m using DirectX 9.0. Thanks!

Share this post

Link to post
Share on other sites
Here is a superb tutorial on Frustum Culling, it is OpenGL but easily converted to DirectX, this is what I used for my frustum culling.

Link : http://www.markmorley.com/opengl/frustumculling.html

Hope it helps,

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!