Jump to content
  • Advertisement


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


Problem with visibility-test

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

Hello! I''ve been doing a 3D tile based map viewer recently. The view is isometric. I generate a bounding box for each tile, and then before rendering one tile, I check if its bounding box is visible (I don''t render it when it is not visible). I do this by checking the visibility of the box''s corners (with gluProject). This works fine when at least one corner is visible. But in some cases none of the corners are visible but the box is still visible because an edge of the box is visible (this happens mainly at the screen corners). So my question is how can I make a fast visibility test that works in any case?

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!