|
![](/i/fill.gif) |
> The problem is in the declaration for f. Try one of the following
> instead:
>
> #declare f = function {K*x}
>
> or
>
> #declare f(y) = function {K*y} <-- This one errors, wants an '=' not '('
#declare K = 1;
#declare f = function {K*x}
#declare Twist_x = function (x,y,z) {( ( x * cos (f(y))) + (z * sin
(f(y))) )}
#declare Twist_z = function (x,y,z) {( (-x * sin (f(y))) + (z * cos
(f(y))) )}
#declare Heart_Function = function { f_torus
(y-pow(abs(Twist_x),Sharpness)*Bend,
Twist_z,
Twist_x,
0.8,0.1) }
Very frustrated.. :(
Post a reply to this message
|
![](/i/fill.gif) |