Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Getting started with marching cubes in three.js

I am new to Three.js and looking for a tutorial to get me started on how to use Marching Cubes in three.js. Some of the projects I have seen so far in three.js which use this are a bit complicated for me, so a simple tutorial would be nice.

Thank you.

like image 470
miki725 Avatar asked Oct 22 '25 03:10

miki725


1 Answers

Like yourself, I was looking for a non-metaballs example of the Marching Cubes algorithm -- I am particularly interested in graphing implicitly defined surfaces. Since I couldn't find one, I wrote an introductory Marching Cubes example that uses Three.js and posted it at:

https://stemkoski.github.io/Three.js/Marching-Cubes.html

For more details on the theory, you should check out the article at

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

like image 175
Stemkoski Avatar answered Oct 25 '25 07:10

Stemkoski



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!