| 
  | 
take a look at the image at .images.
This can only happen by scaling, I don't find any.
The texture code:
#declare MyGradientX=
texture {
  gradient x
  texture_map {
    [0.0 T_Stone10]
    [0.4 T_Stone10]
    [0.4 pigment {color rgbt <1,1,1,1,1>}]
    [0.5 pigment {color rgbt <1,1,1,1,1>}]
    [0.5 T_Stone15]
    [0.9 T_Stone15]
    [0.9 pigment {color rgbt <1,1,1,1,1>}]
    [1.0 pigment {color rgbt <1,1,1,1,1>}]
  }
}
#declare Texture3 =
texture {
  gradient z
  texture_map {
    [0.0 MyGradientX]
    [0.4 MyGradientX]
    [0.4 pigment {color rgbt <1,1,1,1,1>}]
    [0.5 pigment {color rgbt <1,1,1,1,1>}]
    [0.5 MyGradientX translate 0.5*x]
    [0.9 MyGradientX translate 0.5*x]
    [0.9 pigment {color rgbt <1,1,1,1,1>}]
    [1.0 pigment {color rgbt <1,1,1,1,1>}]
  }
  translate 90*x
}
Object code:
difference {
  plane { y, 0 }
  cylinder {-1*y, 3*y, 30 }
  texture {Texture3}
}
 Post a reply to this message 
 | 
  |