Jump to content
  • Advertisement
Sign in to follow this  
JokerX

Bsp culling

This topic is 4496 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, in Quake3 bsp map I would like to implement movable object rendering optimization. To have a frustum culling of course is not enought. I have a problem how to determine object visibility in map - bsp culling. I plan to employ PVS capability of Q3 bsp maps. Each object has its own volume (bounding sphere or AABB). If I know which clusters intersects with this volume, than I can quickly determine if object is visible from actual camera position or not. But how it is possible to figure out every clusters(not leafs) that object is in? Thanks for any advise or link

Share this post


Link to post
Share on other sites
Advertisement
Each leaf stores its cluster index, so you have to check to see which leafs the object is in and then build a unique list of clusters. Or you might be able to build bounding boxes for the clusters themselves at load-time, and use those directly instead of checking against individual leafs.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • 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!