POV-Ray : Newsgroups : povray.programming : smooth triangle normals : Re: smooth triangle normals Server Time
28 Jul 2024 10:14:10 EDT (-0400)
  Re: smooth triangle normals  
From: Ben Chambers
Date: 8 May 2002 00:15:23
Message: <3cd8a65b@news.povray.org>
"Warp" <war### [at] tagpovrayorg> wrote in message
news:3cd7e391@news.povray.org...
> Ben Chambers <bdc### [at] yahoocom> 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

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