From contours to 3d modells in POV Ray (Message 1 to 4 of 4)
From: Rene
Subject: From contours to 3d modells in POV Ray
Date: 24 Aug 2000 06:15:48
Message: <39A4F5D5.2A291BA9@hotmail.com>
Sorry... didn't want to appear as annonymous in my previous message.....
Hi everyone!
I need some help! I've got a stack of 2D images that represent a series
of cross sections through an object. (This is biological data: sections
through animal tissue) I am trying to reconstruct certain structures
from this stack of images. Up to now I have been using a program called
IGL trace to draw contours around these structures in all of the images
and then exporting this information as a VRML object. Then I have to
convert it to POV format. Unfortunately the objects appear to be quite
"chuncky" in both VRML and POVRAY.
Is there some direct way to create a 3d modell (POVRAY) from a series of
contours?
Thanks a lot for any help!
Rene (rhe### [at] hotmailcom)
Rene wrote:
> > Sorry... didn't want to appear as annonymous in my previous message.....> > Hi everyone!> > I need some help! I've got a stack of 2D images that represent a series> of cross sections through an object. (This is biological data: sections> through animal tissue) I am trying to reconstruct certain structures> from this stack of images. Up to now I have been using a program called> IGL trace to draw contours around these structures in all of the images> and then exporting this information as a VRML object. Then I have to> convert it to POV format. Unfortunately the objects appear to be quite> "chuncky" in both VRML and POVRAY.> > Is there some direct way to create a 3d modell (POVRAY) from a series of> > contours?> > Thanks a lot for any help!> > Rene (rhe### [at] hotmailcom)
I don't know what you exactly mean by 2d contour files, if it's raster data, you
should have a look at the density file section in the pov documentation, if it's
a vector file you could write a program generating a triangle mesh.
Christoph
--
Christoph Hormann <chr### [at] gmxde>
Homepage: http://www.schunter.etc.tu-bs.de/~chris/
From: Warp
Subject: Re: From contours to 3d modells in POV Ray
Date: 24 Aug 2000 11:55:05
Message: <39a54558@news.povray.org>
Rene <rhe### [at] hotmailcom> wrote:
: Sorry... didn't want to appear as annonymous in my previous message.....
You can cancel messages.
--
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):_;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/
From: Jim Kress
Subject: Re: From contours to 3d modells in POV Ray
Date: 24 Aug 2000 20:44:33
Message: <39a5c171@news.povray.org>
Create a file that contains the stack of 2D images. Then use the isosurface
function to create a 3D representation for a specific density value.
You can also create a POV density file from this data. There are a number
of posts about utilities to do this from TGA files. Look in
povray.binaries.utilities or search the news server for 'density' or df3.
Jim
"Rene" <rhe### [at] hotmailcom> wrote in message
news:39A4F5D5.2A291BA9@hotmail.com...
> Sorry... didn't want to appear as annonymous in my previous message.....>> Hi everyone!>> I need some help! I've got a stack of 2D images that represent a series> of cross sections through an object. (This is biological data: sections> through animal tissue) I am trying to reconstruct certain structures> from this stack of images. Up to now I have been using a program called> IGL trace to draw contours around these structures in all of the images> and then exporting this information as a VRML object. Then I have to> convert it to POV format. Unfortunately the objects appear to be quite> "chuncky" in both VRML and POVRAY.>> Is there some direct way to create a 3d modell (POVRAY) from a series of>> contours?>> Thanks a lot for any help!>> Rene (rhe### [at] hotmailcom)>>>