Jump to content

  • Log In with Google      Sign In   
  • Create Account


Marching Cubes + Cubes....


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 riuthamus   Crossbones+   -  Reputation: 4297

Like
0Likes
Like

Posted 23 April 2013 - 09:01 PM

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?



Sponsor:

#2 eppo   Crossbones+   -  Reputation: 2299

Like
1Likes
Like

Posted 24 April 2013 - 12:41 AM

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.



#3 riuthamus   Crossbones+   -  Reputation: 4297

Like
0Likes
Like

Posted 24 April 2013 - 12:10 PM

Thanks, that has some really great information.






Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS