Archived

This topic is now archived and is closed to further replies.

algorithm help: making faces out of random verts on a sphere?

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

I am trying to create a random solid by distributing a bunch of vertices randomly on a sphere. So far, so good. The hard part is creating faces out of the collection of random points (is this process called tesselation?). I am trying to make an algorithm to accomplish this by connecting closest vertices but it seems like it will rapidly become hopelessly complex. Can anybody give me some tips on how to accomplish this?

Share this post


Link to post
Share on other sites
would something like this work?

create first edge from any two neighboring verts

for each unchecked edge,
find closest unchecked vert.
add two edges (endpoints of this edge to new vert)to create a new face,
and add the two new edges to the list of unchecked edges.
repeat

but this wouldn''t guarantee a closed solid....ideas?

Share this post


Link to post
Share on other sites