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:18:55 EDT (-0400)
  Re: Newbie Question: a simple polygon in 3D  
From: Tor Olav Kristensen
Date: 17 Jul 2004 10:01:13
Message: <40f93129$1@news.povray.org>
Tor Olav Kristensen wrote:

...
> union {
>   Slice(Contour1, Contour2, -10, 0)
>   pigment { color rgb <1, 0, 0> }
> }
> 
> /*
> union {
>   Slice(Contour1, Contour2, 0, 10)
>   pigment { color rgb <1, 0, 0> }
> }
> 
> union {
>   Slice(Contour1, Contour2, 10, 20)
>   pigment { color rgb <1, 0, 0> }
> }
> */
...


Ooops - I meant to write this:


union {
   Slice(Contour1, Contour2, -10, 0)
   pigment { color rgb <1, 0, 0> }
}

union {
   Slice(Contour2, Contour3, 0, 10)
   pigment { color rgb <1, 0, 0> }
}

union {
   Slice(Contour3, Contour4, 10, 20)
   pigment { color rgb <1, 0, 0> }
}


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


Post a reply to this message

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