|
![](/i/fill.gif) |
I'm certain this has been asked before, but I can't seem to find it (or
figure it out from the docs).
All of my user defined functions return a float value. How can I write
a function that returns a 3d vector?
The context is simply a pigment block. What I want is something like this:
#declare f1=...
#declare f2=...
#declare f3=...
pigment {color rgb <f1(x,y,z), f2(x,y,z), f3(x,y,z)>]
Of course, I'd be happy declaring only 1 function if it allowed me this
functionality (no pun intended!).
...Chambers
Post a reply to this message
|
![](/i/fill.gif) |