Sign in to follow this  
Funkymunky

Planet Rendering

Recommended Posts

How do you render an entire planet such that you can zoom down to ground level of or fly out into space with? How do you account for precision issues at huge distances? Can you use heightmaps? How do you deal with gravity the isn't always in the negative Y direction? I've seen Ysaneya's stuff and its incredible, but I just want to get something barebones up and running!

Share this post


Link to post
Share on other sites
I think the most logical awnser would be "level of detail".
I dont get what "How do you deal with gravity the isn't always in the negative Y direction?" has to do with the rendering of the world though.

Share this post


Link to post
Share on other sites
If I'd got it right from his website Ysaneya uses double percision coordinates.
Sean O'neil has got an interesting LOD algorithm which works (for me) very similar to the one Ysaneya has. See http://sponeil.org (sources included).

I'm using an other methode. I'm using space partioning into segments having their own coordinate system. The problem with the Y direction is solved very elegant.
And I'm rendering into screen layers, too. Check Koci's post http://www.gamedev.net/community/forums/topic.asp?topic_id=422162. He has got a similar idea of these layer drawing and he gives much useful hints.

Heighmaps:
I found the trick of ysaneya good to map a cube to a sphere: Every side of the cube can contain a squared heighmap which you can easily refine for each LOD step. I'm using perlin and Diamond square midpoint displacement.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this