|
|
Chris B wrote:
> "terminallyconfused" <nomail@nomail> wrote in message
> news:web.489855e7bc511af377a8183b0@news.povray.org...
>> Does the polygon primitive only draw 2D polygons or am I doing
>> something wrong
>> when I try to use it to draw a pentagon in 3D?
>
> Yes it only draws 2D polygons (it is planar).
Your explanation falls short explaining the real issue:
The polygon is 3D, but all points (vertices) have to be within a plane. This
is not a limitation of POV-Ray, but a mathematical necessity because one
cannot define a 3D polygon unambiguously unless all points are within a
plane. Thus, the points are all 3D, but the polygon will not be well-defined
unless the points are all in some plane. Unless a computer generates the 3D
points, usually it is easier to specify the polygon in the x-y plane
(basically 2D) and then transform it.
Thorsten
Post a reply to this message
|
|