|
|
Hello,
How can I make a plane solid? In more detail: I have a complex polygon (2D)
and want to give that polygon a depth (3D). How do I do that? Just scaling
the polygon doesn't work. I think that's because the "depth" of a plane
polygon is just 0 so x*0 is still 0.
Thanks for help
Bye,
K
Post a reply to this message
|
|
|
|
K wrote:
> Hello,
>
> How can I make a plane solid? In more detail: I have a complex polygon (2D)
> and want to give that polygon a depth (3D). How do I do that? Just scaling
> the polygon doesn't work. I think that's because the "depth" of a plane
> polygon is just 0 so x*0 is still 0.
What are you talking about - planes or polygons? Planes are solid in
POV-Ray in the way that everything below the plane surface is inside the
plane. Polygons are not. If you are looking for a shape that resembles
an extrusion of a polygon you could have a look at the prism shape.
Christoph
--
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 01 May. 2004 _____./\/^>_*_<^\/\.______
Post a reply to this message
|
|
|
|
On Sat, 19 Jun 2004 12:55:56 EDT, "K" <k-p### [at] ailisde> wrote:
>Hello,
>
>How can I make a plane solid? In more detail: I have a complex polygon (2D)
>and want to give that polygon a depth (3D). How do I do that? Just scaling
>the polygon doesn't work. I think that's because the "depth" of a plane
>polygon is just 0 so x*0 is still 0.
>
If you want to "extrude" a 2d polygon, you might want to
try using the prism object.
Here is a prism example that makes a hexagon with depth:
prism {
linear_sweep
linear_spline
-0.1, // These two numbers ...
0.1, // ... control the extrusion.
7, // number of points
<-1, 0>, // first point
<-0.5, sqrt(3)>,
<0.5, sqrt(3)>,
<1, 0>,
<0.5, -sqrt(3)>,
<-0.5, -sqrt(3)>,
<-1, 0> // to close the shape, last point = first point
pigment { color rgb <0, 0.5, 1> }
finish { ambient 0.3 diffuse 0.7 }
}
>Thanks for help
>
Hope that helps
>Bye,
>K
>
--
to all the companies who wait until a large user base becomes
dependant on their freeware, then shafting said happy campers with
mandatory payment for continued usage. I spit on your grave.
Post a reply to this message
|
|