|
|
Hi,
Can I modulate this isosurface using a linear_spline?
======================================
#declare S = function {
spline {
linear_spline
-1.0, < 0.5, 0, 0>,
-0.5, < 0, 0, 0>,
0.01,< 0.2, 0, 0>,
0.5, <-0.2, 0, 0>,
1, <-0.2, 0, 0>
}
}
isosurface {
function { abs(S(x, y, z)) - Thickness }
max_gradient 2
contained_by{box{ <-36, -20, 147> <280, 20, 150> }}
pigment { color Green}
finish { ambient 0.2 diffuse 0.8 phong 1 }
translate <10, -40, -116>}
======================================
Thanks in advance.
Regards,
Oleguer Vilella
Post a reply to this message
|
|