|
![](/i/fill.gif) |
On Thu, 28 Mar 2002 18:23:00 +0100, "Rune" <run### [at] mobilixnet dk>
wrote:
> I need something equivalent to vturbulence() which I can use in a function.
> I would then have used it with the .x, .y, and .z operators, just like with
> pigment functions. Any idea what I can do?
Noise function is wrong ?
Just use it with some factors, mirrors, etc.
For example:
#include "functions"
#local f_turb_x=function{f_noise(x,y,z)};
#local f_turb_y=function{f_noise(y*2,z*3,x*4)};
#local f_turb_z=function{f_noise(z/2,x/3,y*4)};
#local my_function=function{...};
#local my_turbulenced_function=function{my_function(
f_turb_x(x,y,z),
f_turb_y(x,y,z),
f_turb_z(x,y,z)
)};
ABX
Post a reply to this message
|
![](/i/fill.gif) |