|
|
Perhaps the desired effect is something I am missing, but I recently made a
pool ball, number 9 to be specific, using entirely procedural methods.
#declare texSpot =
texture {
pigment {
gradient z
turbulence 0
color_map {
[ 0.00 color rgbt <1,1,1,1> ]
[ 0.95 color rgbt <1,1,1,1> ]
[ 0.95 color rgbt <1,1,1,0> ]
[ 1.00 color rgbt <1,1,1,0> ]
}
scale 2
}
}
#declare texStripes =
texture {
pigment {
gradient y
turbulence 0
color_map {
[ 0.00 color rgb <1,1,1> ]
[ 0.25 color rgb <1,1,1> ]
[ 0.25 color rgb <0.98,0.98,0> ]
[ 0.75 color rgb <0.98,0.98,0> ]
[ 0.75 color rgb <1,1,1> ]
[ 1.00 color rgb <1,1,1> ]
}
}
finish {
ambient 0
diffuse 1
specular 0.8
roughness 1/128
reflection {
0.0625, 1/3
fresnel on
metallic
}
}
scale 2
translate <0,1,0>
}
#declare text9 =
union {
text {
ttf "bookos.ttf" "9" 10, 0
translate <-0.21,-1/3,-5>
rotate <90,0,0>
}
box {
<-0.21,-0.05,-5>
<0.3,-0.1,5>
translate <0,-1/3,0>
rotate <90,0,0>
}
translate <-0.07,0,0>
scale 1/2
}
#declare texText9 =
texture {
pigment {
object {
text9
rotate <-90,0,0>
color rgbt <1,1,1,1>
color rgb <0,0,0> // inside
}
turbulence 0
warp { planar }
}
}
sphere {
<0,0,0>
1
texture { texPoolBall }
}
Post a reply to this message
|
|