Wednesday, May 31, 2006

Lunchtime artwork.

I booted up mediainlinux and made this piece of work using povray in 20 minutes, not counting final render time. I started with Mike William's tutorial on isosurfaces.


code is here:

------------------
light_source{<70,100,-20> color rgb <1.2,.4,.1>}
sky_sphere{
pigment{gradient y
pigment_map{
[0.0 rgb <0,0,1>]
[1 rgb <1,0,0>]
}
translate 5e9*y}
}

#declare F=function{pigment{
crackle
turbulence 0.1
color_map { [0 rgb 1] [1 rgb 0] }
scale 1.2
}
}

isosurface {
function {y- F(x,0,z).red + 2.5 }
max_gradient 5
contained_by{box{-10,<10,3,10>}}
pigment {rgb .9}
finish{ambient .41}
}
----------------

No comments: