POV-Ray : Newsgroups : povray.general : Polygon Problem : Re: Polygon Problem Server Time
18 Nov 2024 21:20:17 EST (-0500)
  Re: Polygon Problem  
From: Slime
Date: 11 Jul 2002 16:19:52
Message: <3d2de868$1@news.povray.org>
> Warning: Polygon not closed. Closing it.

"Closing" a polygon means making sure the beginning and end of your list of
points matches up with each other. If it starts at <1,1>, goes to <2,3>, and
ends at <3,1>, then it's not closed. (imagine drawing lines between those
points; you would only draw two sides of the triangle.) In order to close
it, you have to add <1,1> at the end of the list (this is analagous to
bringing your pen to the point you started at).

With linear prisms this is a common mistake, and it doesn't really cause a
problem as you've seen. I usually don't worry about it. However, when you
get into quadratic and cubic splines, matching up the ends is more
important, since the ends of the list of control points don't exactly
correspond to the ends of the spline.

 - Slime
[ http://www.slimeland.com/ ]


Post a reply to this message

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