POV-Ray : Newsgroups : povray.unofficial.patches : Diffuse==0 in step functions, problem solved? : Re: Diffuse==0 in step functions, problem solved? Server Time
1 Sep 2024 20:18:55 EDT (-0400)
  Re: Diffuse==0 in step functions, problem solved?  
From: Chris Huff
Date: 7 Nov 2000 06:54:20
Message: <chrishuff-2A58F8.06542107112000@news.povray.org>
In article <3A06F4C7.3AB43D80@my-dejanews.com>, 
gre### [at] my-dejanewscom wrote:

> There is here the use of the cells pattern in a way that does not give
> diffuse=0 on the edges of step functions.  I will study the source code,
> but the reason why it looks so good hasn't hit me yet.  Any clues?

As I have mentioned before: I think the problem is not that the diffuse 
is being set to 0(which sounds impossible), but that there is a problem 
calculating the normal for these functions. If the resulting normal is 
bad(containing NaN or something) or is just wrong, the lighting 
calculations will not work properly.

-- 
Christopher James Huff
Personal: chr### [at] maccom, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tagpovrayorg, http://tag.povray.org/

<><


Post a reply to this message

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