POV-Ray : Newsgroups : povray.general : Newbie Question: a simple polygon in 3D : Re: Newbie Question: a simple polygon in 3D Server Time
2 Aug 2024 22:19:32 EDT (-0400)
  Re: Newbie Question: a simple polygon in 3D  
From: Tor Olav Kristensen
Date: 16 Jul 2004 12:01:22
Message: <40f7fbd2$1@news.povray.org>
nomail@nomail wrote:
> Hi everyone;
> 
> I have cut an object into many slices. For each slice I have taken a
> photographical image... I can get the X Y coordinates of the perimeter of
> this object in each slice.. Using POV-Ray, I 'd like to reconstruct this
> object in 3D. Someone can help me?.. How can I make a 3D polygon for each
> slice, and then put the 3D polygons together?..
> 
> if you have a simple example that i can change it to get what I want,I would
> be most grateful !!
> 
> Here you are the coordinates X Y  of this object for two successive
> slices...The thickness (according to Z) is 10 for example.

If the number of sampled points from each slice contour
is equal, then you can write a little macro that produces
triangles that connects each pair of successive slices.

(All the triangles can be merged into a mesh.)

-- 
Tor Olav
http://subcube.net
http://subcube.com


Post a reply to this message

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