Sign in to follow this  

Generating spheres with unifrom vertex density

This topic is 1962 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

Hi, I'm in the fairly early stages of creating a 4x space strategy game, though it will have a fair bit of ground action as well. For many of the planets, I will need to use heightmapped 3d spheres as the basic mesh. The problem is that the most straightforward method of creating these meshes results in spheres with a non-uniform vertex density with more vertices around the poles. I was wondering if there are any well known methods for generating spheres with a unifrom vertex density, where the density is customizable?

Share this post


Link to post
Share on other sites
Search the web for something like `equidistant points sphere' and you'll find lots of information about this problem.

Also, if you use a 3D texture for height displacement, the variability of vertex density becomes much less of an issue.

Share this post


Link to post
Share on other sites
If geospheres might be adequate for this purpose, see e.g. [url="http://paulbourke.net/miscellaneous/sphere_cylinder/"]this[/url] and [url="http://freespace.virgin.net/hugo.elias/models/m_landsp.htm"]this[/url].

Share this post


Link to post
Share on other sites
Though I've never used the technique myself, I'm a fan of the cube to sphere mapping. It'd be the first thing I'd try if I wanted to render a globe.

Share this post


Link to post
Share on other sites

This topic is 1962 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.

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