|
|
I was playing around with isosurfaces, and this turned out so delicious that
I just *had* to share it.
Bon apetit!
----------------
global_settings{assumed_gamma 2.0}
#declare chocolate_function =
function {
pigment {waves
triangle_wave
scale .15
warp{turbulence .5 lambda .1}
}
}
isosurface {
function {y
+ chocolate_function (x,y,z).gray * .3
}
max_gradient 6.2
contained_by { box { <-1,-.5,-1>, <1,.25,1> } }
texture{
pigment{color rgb <.75,.4,.28>*1.1}
finish{
ambient .15
diffuse .35
phong .35
phong_size 14
specular .9
roughness .004
}
}
}
Post a reply to this message
Attachments:
Download 'iso_chocolate.jpg' (42 KB)
Preview of image 'iso_chocolate.jpg'
|
|