POV-Ray : Newsgroups : povray.advanced-users : Phong BRDF pigment { function{} } : Re: Phong BRDF pigment { function{} } Server Time
29 Mar 2024 02:36:25 EDT (-0400)
  Re: Phong BRDF pigment { function{} }  
From: Tor Olav Kristensen
Date: 12 Nov 2022 17:55:00
Message: <web.6370241a6d24d70e4ce504189db30a9@news.povray.org>
"Bald Eagle" <cre### [at] netscapenet> wrote:
> "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!

No problem.

I've studied your code some more - and done some experiments with it.
You are one the right track, but unfortunately I don't have enough time
to look further at it and suggest more changes.

I did a similar experiment some years ago:

Subject: With and without a light_source - 2 attachments
From: Tor Olav Kristensen
Date and time: 2003-06-23 23:19:10
Message: <Xns### [at] 204213191226>
http://news.povray.org/povray.binaries.images/32195/

Perhaps it can help if you look at the source code for it:

Subject: Source code for "With and without a light_source"
From: Tor Olav Kristensen
Date: 24 Jun 2003 18:20:41
Message: <Xns### [at] 204213191226>
http://news.povray.org/povray.text.scene-files/message/
%3CXns93A54E262AE2torolavkhotmailcom%40204.213.191.226%3E/

--
Tor Olav
http://subcube.com
https://github.com/t-o-k


Post a reply to this message

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