POV-Ray : Newsgroups : povray.newusers : Polygon not rendering in 3d : Re: Polygon not rendering in 3d Server Time
28 Jul 2024 16:16:07 EDT (-0400)
  Re: Polygon not rendering in 3d  
From: Thorsten Froehlich
Date: 5 Aug 2008 14:13:17
Message: <4898983d$1@news.povray.org>
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

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