[vtkusers] Minecraft-style volume rendering
Tim Hutton
tim.hutton at gmail.com
Thu Mar 29 11:40:07 EDT 2012
Hello,
I've got a 3d images (vtkImageData) containing values 0 and 1. I'd
like to render this as blocky voxels - rendered with cubes like in
Minecraft.
I've tried vtkContourFilter and vtkDiscreteMarchingCubes but these
both show angled surfaces - e.g. an octahedron for an isolated voxel.
I tried vtkGeometryFilter but this just gives me the outer surface of
the volume. And vtkImageThreshold just changes the pixel values.
I tried vtkImageDataGeometryFilter but this doesn't seem to support
thresholding in 3D?
Thanks for your help,
Tim
--
Tim Hutton - http://www.sq3.org.uk - http://profiles.google.com/tim.hutton/
More information about the vtkusers
mailing list