• Advertisement
Sign in to follow this  

clip tiles outside camera-frustum

This topic is 3907 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
Hi!

Google for "Frustum culling" and I'm sure you'll get lots of tutorials for it!

Share this post


Link to post
Share on other sites
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