Jump to content
  • Advertisement
Sign in to follow this  
ehmdjii

clip tiles outside camera-frustum

This topic is 4171 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 have a FPS-like game with a tile-based terrain. now depending on the camera frustum i want to render only the tiles which are in this frustum. the camera can be turned around in all degrees of freedom. are there any premade algorithms for this?

Share this post


Link to post
Share on other sites
Advertisement
thanks. yes, but they are all generalized algorithms.

im looking for something specific to tile based terrains. (regular grids)

Share this post


Link to post
Share on other sites
Well, I doubt you'll find anything that fits YOUR implementation perfectly, anyway. I suggest reading over those generalized tutorials, and then applying what you learn to your system. It shouldn't be too hard, since your using a regular grid of tiles.

While doing this, if you need any help with something specific, I'm sure the people here will be glad to help.

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!