Sign in to follow this  
Followers 0
riuthamus

Marching Cubes + Cubes....

2 posts in this topic

So, we are have run into a bit of a snag. Our issue is that we had originally started out with a voxel system. Once one of our coders figured out how marching cubes worked we started to play with that... now we want a system that will let us draw cubes for certain block types and marching cubes for the terrain. We cant seem to get hard edges like a cube though.

 

http://www.paulbourke.net/geometry/polygonise/

 

Is the algorithm we are using now. Any thoughts on how best we can obtain this result?

0

Share this post


Link to post
Share on other sites

There's a technique called 'Dual Contouring' that extends upon the Marching Cubes algorithm. Aside from weight data on grid corners it also takes tangent vectors on the grid field into account, to allow for better reconstruction of edges.

 

The Procedural World blog has a post that explains it well.

1

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  
Followers 0