We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpPrograms › marching squares.
Page Index Toggle Pages: 1
marching squares. (Read 1060 times)
marching squares.
Jul 17th, 2005, 12:44am
 
all the examples or references i find are for marching cubes. does anyone have any use full examples or links?
Re: marching squares.
Reply #1 - Jul 20th, 2005, 8:28pm
 
(shovelling noises)

Found it!

http://processing.org/discourse/yabb/YaBB.cgi?board=Contribution_Responsive;action=display;num=1063091603

I'm loathe to mention it again but I used v3ga's edge-detection code not long ago. It's been demonstrated to me that its not the fastest code on the block but it does incorporate a two-dimensional version of the marching cube algorithm (which would be like marching squares if you will).

The algorithm in question uses a big fat look up table to calculate how a plane intersects a voxel (volumetric pixel - cube pixel). And since my math tutor in school refused to enter our class for the higher paper I have no understanding of the maths.

Hope this gets you started.
Page Index Toggle Pages: 1