|
|
"Bald Eagle" <cre### [at] netscapenet> wrote:
>...
> I would love to get everything ironed out so as to not have to worry about weird
> fudge factors, so that when I puzzle out and refine applying the importance
> sampling part, I can focus on the real issues and not be chasing ghosts in the
> code.
>...
> #declare R_hatX = function {RX (x , y, z) / SFn_vlength (RX (x , y, z), RY (x ,
> y, z), RY (x , y, z))}
> #declare R_hatY = function {RY (x , y, z) / SFn_vlength (RX (x , y, z), RY (x ,
> y, z), RY (x , y, z))}
> #declare R_hatZ = function {RZ (x , y, z) / SFn_vlength (RX (x , y, z), RY (x ,
> y, z), RY (x , y, z))}
>...
Hi Bill
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.
--
Tor Olav
http://subcube.com
https://github.com/t-o-k
Post a reply to this message
|
|