|
|
3.5 beta3 Windows
Slope pattern still does not work for slope = 1
See attached scene file, the flat top of the object should be red.
-tgq
camera{
direction<0,0,1>
up<0,1,0>
right<4/3,0,0>
location <-60,60,-60>
look_at 0
}
light_source{
0
color rgb 1
translate<-50,200,-50>
}
background {color 0}
#declare MD1=
material{
texture{
pigment{rgb 1}
finish{ambient 0.5 diffuse 0.05}
}
texture{
pigment{
slope y
color_map{
[0.5 rgbt 1]
[1.0 red 1]
}
}
finish{ambient 0.5 diffuse 0.85}
}
}
merge{
torus{20 20}
cylinder{-20*y 20*y 20}
material{MD1}
}
Post a reply to this message
|
|