Jump to content
  • Advertisement
Sign in to follow this  
TarmoRhox

Z-buffer split techniques for large scale environments

This topic is 2493 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'm developing a render engine, which should render very large scale environments (f.e. space objects, planets, ships, etc.). Among others I have a task to deal with z-buffer. I have a lot of multiscale objects which needs to be rendered in one scene. It could be a space station, a planet and a space station trajectory. Splitting objects to z-buffer groups is not suitable because, for example, space ship intersects trajectory and trajectory intersects planet. So, I decided that I need some technique for z-buffer split (maybe some analog of PSSM for z-buffer) and then render objects in that splits.

What can you suggest about this approach? It would be great to look at some articles or technical reports, connected to this topic.

Thanks for help!

Regards,
Nikita

Share this post


Link to post
Share on other sites
Advertisement
I just sort objects (or groupings of objects) by depth, and scale/translate each one to fit the z-distance I work with - a technique I borrowed from one of Sean O'Neil's articles.

It's not perfect, but works quite well for planets/stars/spaceships in every configuration I've tried.

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!