|
![](/i/fill.gif) |
In article <3A06F4C7.3AB43D80@my-dejanews.com>,
gre### [at] my-dejanews com 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] mac com, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tag povray org, http://tag.povray.org/
<><
Post a reply to this message
|
![](/i/fill.gif) |