/* attempt to deal with prototype, bootstrap, jquery conflicts */ /* for dropdown menus */

Jump to content

Image of the Day

Day 17 -- a bunch more tools join the table :) #blender3d #screenshotsaturday #itssaturdaysomewhere #lowpoly #3D https://t.co/CYJucn0Lfv
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net's newsletters to receive the latest updates and exclusive content.


Sign up now

Marching Cubes + Cubes....

4: Adsense

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   Moderators   

8205
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?



#2 eppo   Members   

4609
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   Moderators   

8205
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.