|
|
Christopher James Huff <chr### [at] maccom> wrote:
: I've never really used slope maps before, though...
You should. They are difficult to understand at first, but once you master
them, they are really handy. You can make pretty nice effects with them.
Just a quickie which I cooked in a couple of minutes:
camera { location <0,1,-1>*3 look_at 0 angle 35 }
light_source { <20,15,-5>, 1 }
plane { y,0 pigment { rgb .5 } }
cylinder
{ 0,y*.1,1
pigment { rgb <1,.5> }
finish { specular .5 }
normal
{ wood 1 slope_map
{ [0 <0,1>][.5 <1,1>][.5 <1,0>]
[.9 <1,0>][.9 <1,-1>][1 <.5,0>]
}
scale .3
rotate x*-90
}
}
--
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -
Post a reply to this message
|
|