Quantcast
Channel: GameDev.net
Viewing all articles
Browse latest Browse all 17625

Clip planes for large planet rendering

$
0
0

Hi everyone,

I've got a question about how to set the clip planes for my camera when rendering real-scale planets. I think I've got most things figured out (render the scene with camera at the origin, store large positions as doubles then convert to float for rendering) but this is still confusing me.

Most people seem to say that you should set the far clip to a manageable value (e.g. 10,000) and then scale the planet down, but how does this work when I'm actually at the surface? If the camera's only 1m away …


Viewing all articles
Browse latest Browse all 17625

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>