|
![](/i/fill.gif) |
"Warp" <war### [at] tag povray org> wrote in message
news:3cd7e391@news.povray.org...
> Ben Chambers <bdc### [at] yahoo com> wrote:
> > One thing I noticed the other day... you don't even need to average the
> > normals. Just add them together, and then normalize the result. Saves
a
> > few ops.
>
> Why do you need to normalize the result? POV-Ray eats normal vectors of
> any size (the length of the vector makes no difference).
<g> Usually (ie, in most graphics apps), non-unit-length normals leads to
odd lighting. But if POV normalizes the results internally, then you don't
even need to worry about that - just sum the vectors.
...Chambers
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.323 / Virus Database: 180 - Release Date: 2/8/2002
Post a reply to this message
|
![](/i/fill.gif) |