POV-Ray : Newsgroups : povray.advanced-users : Phong BRDF pigment { function{} } : Re: Phong BRDF pigment { function{} } Server Time
30 Nov 2022 06:44:07 EST (-0500)
  Re: Phong BRDF pigment { function{} }  
From: Bald Eagle
Date: 12 Nov 2022 06:35:00
Message: <web.636f845f6d24d701f9dae3025979125@news.povray.org>
"Tor Olav Kristensen" <tor### [at] TOBEREMOVEDgmailcom> wrote:


> In your code above you pass RX once and RY twice as arguments to your
> SFn_vlength() function, but I guess that you intended to pass RX, RY and RZ as
> arguments.


TOK of the eagle eyes to the rescue again.

Thanks so much - I'm sure that would have registered at some point.  Works a LOT
better now!


Post a reply to this message


Attachments:
Download 'importancesampledphongbrdf.png' (59 KB)

Preview of image 'importancesampledphongbrdf.png'
importancesampledphongbrdf.png


 

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