Isosurface to mesh algorithm(s)

Discussion in 'Programming' started by jhu, Mar 21, 2010.

  1. jhu

    jhu Lifer

    Joined:
    Oct 10, 1999
    Messages:
    11,878
    Likes Received:
    0
    I'm trying to implement a marching cubes algorithm to get a mesh from an isosurface. But I've heard of a marching triangle approach but can't find anything on google. Anyone have any tips on better algorithms for this type of thing?
     
  2. ChuaChua

    ChuaChua Member

    Joined:
    Dec 20, 2002
    Messages:
    178
    Likes Received:
    0
    Marching cubes is the algorithm to get a mesh from an isosurface.
    You might mean marching squares for 2D. Also, Marching tetrahedron is also an algorithm.

    What is the problem you are having?
     
  3. CycloWizard

    CycloWizard Lifer

    Joined:
    Sep 10, 2001
    Messages:
    12,350
    Likes Received:
    0
  4. Cogman

    Cogman Lifer

    Joined:
    Sep 19, 2000
    Messages:
    10,080
    Likes Received:
    14
    To answer your original questions, the marching triangles approach is going to be exactly like the marching cubes approach. The only difference is that instead of using cubes, you use half/cubes (divide by a cross-sectional plane)
     
  5. jhu

    jhu Lifer

    Joined:
    Oct 10, 1999
    Messages:
    11,878
    Likes Received:
    0