3(4) ways to extract a mesh from a rectilinear scalar field

Isosurface extraction using a rectilinear scalar field (here distance from a mesh) 1) Classical marching cubes using iso-surface from Millipede 2) Marching tetrahedrons (Paul Bourke) 3) Naive surface nets/dual countouring without smoothed vertex (Mikola Lysenko) 4) Naive surface nets/dual countouring with smoothed vertex (Mikola Lysenko)

Load Previous Comments
  • Laurent DELRIEU

    I extract each face of the mesh generate as many colours as needed, jitter everything and assign colours. See the scripts.
  • Ben

    Sorry for bugging you again Lauren, I've been using the from dual cubes to smooth script and am really enjoying it. 

    However is there a way to say vary the size of the cubes (faces i guess) of the output mesh. At the moment they are all the same size. 

    May not be possible, would be great if there was a way to do this though, or even to vary the size of the faces based on an image sample or a map?

    Regards,

    Ben

  • Laurent DELRIEU

    The size of the output is driver by Maxres and factor.

    Factor augment the size of the bounding box around the mesh

    Maxres give the number of subdivision of the bounding box. So there are Maxres^3 points for calculating the scalar field (here distance from a mesh)