|
|
// try a succession of deleting the # after "piggy"
#declare piggy1 = texture{pigment {slope {y} frequency 4} finish{ambient 1}}
#declare piggy2 = texture{pigment {bozo frequency 4} finish{ambient 1}}
#declare piggy3 = texture{pigment {rgb 1}
normal {
gradient x
slope_map {
[0 <0, 1>]
[0.5 <1, 1>]
[0.5 <1,-1>]
[1 <0,-1>]
}
frequency 4
}
finish{ambient 0.25}
}
// unrotated slope map
sphere{0,2
texture{piggy}
rotate 0*z
translate -3*x+10*z
}
// rotated slope map
sphere{0,2
texture{piggy}
rotate 90*z
translate 3*x+10*z }
light_source{ y*10 rgb 1}
Post a reply to this message
|
|