POV-Ray : Newsgroups : povray.general : Why the dark triangle? : Re: Why the dark triangle? Server Time
31 Jul 2024 14:30:38 EDT (-0400)
  Re: Why the dark triangle?  
From: Tim Attwood
Date: 11 Aug 2007 19:50:19
Message: <46be4b3b$1@news.povray.org>
>> a normal is a direction, so the magnitude doesn't matter,
>> and hence it should be unit length.
>
>  That's a contradictory sentence.
I guess I should be clearer.

A normal could be expressed as two angles, but
is expressed as an x,y,z vector in POV.  Since vectors
have both length and direction properties, but
normals only need a direction property, one popular
aesthetic is to use unit length vectors to represent normals.

In particular about the dark triangles, if the "wrinkled"
normals are all biased in a certain direction, then when
a triangle is near the "edge" then the supplied normals
may point away from the camera, while the actual
true normal of the triangle is still pointing in the camera
direction. You see the front of the triangle from the
camera, but the normal says you are looking at the
rear of the triangle, and shades dark accordingly.


Post a reply to this message

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