|
![](/i/fill.gif) |
Why not using the "phase" keyword...
The following code works fine.
#declare T1=texture {
pigment {
gradient x+y
frequency 6
color_map {
[0.45 rgb <1,1,0>]
[0.55 rgb <1,0,0>]
}
}
finish {ambient 1}
}
#declare T2=texture {
pigment {
gradient z+y
frequency 4
color_map {
[0.45 rgb <0,1,1>]
[0.55 rgb <0,0,1>]
}
}
finish {ambient 1}
}
sphere {
0,1
texture {
radial
triangle_wave
texture_map {
[0.4 T1]
[0.6 T2]
}
}
}
camera {
location <3,2,-4>
look_at 0
}
Post a reply to this message
|
![](/i/fill.gif) |