POV-Ray : Newsgroups : povray.newusers : Texture and CSG : Texture and CSG Server Time
26 Sep 2024 17:45:18 EDT (-0400)
  Texture and CSG  
From: telepanda
Date: 2 Mar 2005 14:20:00
Message: <web.4226114056f5c5cc3854dde20@news.povray.org>
I'm writing a 3d slicer program (a "Virtual MRI"), and am trying to make a
mock dataset to test it on.  I have a test object, a half-torus, and have
applied a radial colormap to it.  I need several different stacks of
slices, but I'll give a concrete example of where my problem lies:

My half-torus is in the XY plane.  I wish to make a large number of parallel
slices along the y-axis.  Currently, I'm doing this by intersecting it with
a very thin box, which is shifted incrementally along the y-axis by means
of the clock variable, and then photographing the result with an
orthographic camera.  Geometrically, this works fine - I get a nice stack
of slice images - but I lose the colormapping, which is crucial to my
application.

Because I'm not slicing in-plane with the radial colormap, I can't just
apply it to each individual slice.  I really need to have an appropriately
colored solid object, which I can slice from any direction, and have the
colormap be sliced too.

Can anyone help, please?


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.