|
|
/* Cinder Block (measured from real one, though not guaranteed
accurate */
#declare CinderBlock=
difference {
box {-1,1 scale <15.5,7.36,7.36>/2}
superellipsoid {<.4,.4> scale <3,4.5,2.67> translate -3.45*x}
superellipsoid {<.4,.4> scale <3,4.5,2.67> translate 3.45*x}
/* uncomment the following two lines for end indentations, otherwise
makes corner block */
superellipsoid {<.4,.4> scale <1,5,2.5> translate -8.25*x}
superellipsoid {<.4,.4> scale <1,5,2.5> translate 8.25*x}
pigment {granite frequency 8 color_map {
[.2 color rgb .75]
[.7 color rgb .9]
} triangle_wave }
normal {granite -.1 frequency 8 triangle_wave}
finish {ambient .15 diffuse .7 specular .05 roughness .5}
}
object {CinderBlock} /* actual object */
#declare CinderBlockHalf= /* the Half Block variety */
difference {
box {-1,1 scale <15.5,7.36,7.36>/2}
superellipsoid {<.4,.4> scale <3,4.25,2.25> translate -3.45*x}
superellipsoid {<.4,.4> scale <3,4.25,2.25> translate 3.45*x}
pigment {granite frequency 8 color_map {
[.2 color rgb .75]
[.7 color rgb .9]
} triangle_wave }
normal {granite -.1 frequency 8 triangle_wave}
finish {ambient .15 diffuse .7 specular .05 roughness .5}
scale <1,1,.5>
}
object {CinderBlockHalf} /* actual object */
/*Bob*/
--
omniVERSE
Post a reply to this message
|
|