POV-Ray : Newsgroups : povray.general : Problems with mesh2 and uniform normals : Re: Problems with mesh2 and uniform normals Server Time
7 Nov 2024 11:32:50 EST (-0500)
  Re: Problems with mesh2 and uniform normals  
From: Christopher James Huff
Date: 17 Oct 2003 17:47:11
Message: <cjameshuff-C13280.17445717102003@netplex.aussie.org>
In article <web.3f902f48984cd6c4462c6a70@news.povray.org>,
 "FlyerX" <fly### [at] yahoocom> wrote:

> That is what I suspected. By disturbing the normals slightly it worked.
> I wonder why does POV-Ray behave like that.

If the normals are all the same, no interpolation needs to be done. 
Simply using a normal value is faster than interpolating between three, 
so interpolation is turned off. Whoever wrote the code just never 
anticipated that anyone would want a non-interpolated normal that is not 
in the direction of the actual triangle normal. It does seem a very 
strange thing to do.

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/


Post a reply to this message

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