|
![](/i/fill.gif) |
In article <3f0af44b@news.povray.org>, "Jaap Frank" <jjf### [at] xs4all nl>
wrote:
> can anyone tell me how POV decide what the front or back side
> of a triangle is?
It does it by taking the cross product of two sides of the triangle. The
"front" or "outside is determined by the order of the vertices.
"triangle {A, B, C}" faces in the opposite direction of "triangle {A,
C, B}".
I think the side from which the vertices appear to wind counterclockwise
is the one that is "outside", but you should test it to be sure.
--
Christopher James Huff <cja### [at] earthlink net>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tag povray org
http://tag.povray.org/
Post a reply to this message
|
![](/i/fill.gif) |