|
|
"Kenneth" <kdw### [at] earthlinknet> wrote:
> I was playing around with isosurfaces, and this turned out so delicious that
> I just *had* to share it.
>
Same function as a heightfield using function image:
(the outcome is different as the pigment values are evaluated on the x-y
plane rather than 3-space)
intersection{
height_field {
function 500,500 {
pattern {waves
triangle_wave
rotate -x*90
scale .15
warp{turbulence .5 lambda .1}
scale 1/3
translate <1/2,1/2,0>
}
}
smooth
translate <-1/2,-1/2,-1/2>
scale <3,-1/3,3>
inverse
}
box{<-1,-0.5,-1><1,1,1>}
texture{
pigment{color rgb <.75,.4,.28>*1.1}
finish{
ambient .15
diffuse .35
phong .35
phong_size 14
specular .9
roughness .004
}
}
}
-tgq
Post a reply to this message
Attachments:
Download 'choco2.jpg' (57 KB)
Preview of image 'choco2.jpg'
|
|