|
|
Wasn't it Frank who wrote:
>I have a 3D voxel image of 256 by 256 by 256 voxels of a heart, which
>is already
>segmented. Let's assume that the left ventricle is marked by a 1 in the image,
>the right ventricle by a 2, the outside by a 0. I would like to render the
>geometry in povray, with the surface of the segments smoothed out, left
>ventricle in blue, right in red. I need reflection on the surface, meaning I
>want to define a solid object.
>
>I could produce a geometry file that contains lots of small boxes given with
>their full dimensions, and unite them for the respective objects, or a massive
>number of blobs - but that seems uneffective, and I failed to create a smooth
>(!) volume from these blocks anyway.
>
>Any suggestions? I couldn't find a simple object that does what I need.
>Maybe it
>can be done with a density file? I tried to, but couldn't get
>reflections on the
>surface to work.
Have you tried using your density file to drive an isosurface? That will
produce an actual surface that can have a reflective finish. I don't
know if it will do smoothness.
See: http://www.econym.demon.co.uk/isotut/patterns.htm#density
--
Mike Williams
Gentleman of Leisure
Post a reply to this message
|
|