POV-Ray : Newsgroups : povray.advanced-users : Phong BRDF pigment { function{} } : Re: Phong BRDF pigment { function{} } Server Time
24 Apr 2024 20:13:54 EDT (-0400)
  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-2023 Persistence of Vision Raytracer Pty. Ltd.