|
![](/i/fill.gif) |
Hi,
trying to do is translate the result of a function on the isosurface in the x or
I can create a rippled surface for my isosurface using the following:
function {(y - cos(sqrt(x*x + z*z)*5*pi)*0.08}
I can get the same result if I construct the function using a pattern, using
something like:
#declare fn_ripples1 = function {
pattern {ripples scale 0.1 translate <0.5, 0, 0.5>}
}
The advantage of the pattern is I can translate the result of the function
different surface to that generated by the function outside of the pattern.
#declare fn_myripples = function { // This doesn't work as expected
pattern {
function {cos(sqrt(x*x + z*z)*5*pi)*0.08}
}
}
obvious.
Any suggestion are welcome.
Cheers,
Alan
Post a reply to this message
|
![](/i/fill.gif) |