Jump to content
  • Advertisement


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


Frustrum-Triangle visibility/intersection test?

This topic is 6043 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

My landscape is determining which quads to draw using point tests at the corners of bounding boxes. It works ok, but it is possible that when very close to the camera, none of the points in technically in the view frustrum, so the polys never get drawn... To do this was simply a matter of transforming the points using the world/view/camera transformation matrices in D3D8. Now, it seems I need to actually compute a frustrum-triangle intersection test.... Or is there an easier way? Perhaps I could transform the 3 points of a triangle into screen space, and test if that 2D triangle intersects with my screen viewport (in pixel coordinates)? What is the best way of doing this? Thanks! Mal.

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!