|
![](/i/fill.gif) |
Ryan Rife wrote:
>
> I am looking for a real looking model of a set od dice or a single di. I
> don't want a fancy scene, just the dice so I can mold it around a bit. Thanx
Here, try this:
#declare Die=
difference {
superellipsoid{ <0.25,0.25>}
//One
sphere {<-1,0,0>,0.15
pigment {color rgb 0.0}}
//Two
sphere {<-0.6,1,-0.6>,0.15
pigment {color rgb 0.0}}
sphere {<0.6,1,0.6>,0.15
pigment {color rgb 0.0}}
//Three
sphere {<0.5,0.5,1>,0.15
pigment {color rgb 0.0}}
sphere {<-0.5,-0.5,1>,0.15
pigment {color rgb 0.0}}
sphere {<0,0,1>,0.15
pigment {color rgb 0.0}}
//Four
sphere {<-0.6,-1,-0.6>,0.15
pigment {color rgb 0.0}}
sphere {<0.6,-1,0.6>,0.15
pigment {color rgb 0.0}}
sphere {<-0.6,-1,0.6>,0.15
pigment {color rgb 0.0}}
sphere {<0.6,-1,-0.6>,0.15
pigment {color rgb 0.0}}
// Five
sphere {<0,0,-1>,0.15
pigment {color rgb 0.0}}
sphere {<0.5,0.5,-1>,0.15
pigment {color rgb 0.0}}
sphere {<-0.5,-0.5,-1>,0.15
pigment {color rgb 0.0}}
sphere {<-0.5,0.5,-1>,0.15
pigment {color rgb 0.0}}
sphere {<0.5,-0.5,-1>,0.15
pigment {color rgb 0.0}}
//Six
sphere {<1,0.5,-0.5>,0.15
pigment {color rgb 0.0}}
sphere {<1,0.5,0.5>,0.15
pigment {color rgb 0.0}}
sphere {<1,0,-0.5>,0.15
pigment {color rgb 0.0}}
sphere {<1,0,0.5>,0.15
pigment {color rgb 0.0}}
sphere {<1,-0.5,-0.5>,0.15
pigment {color rgb 0.0}}
sphere {<1,-0.5,0.5>,0.15
pigment {color rgb 0.0}}
pigment {color rgb 1.0}
finish {Shiny}
scale 5
}
I hope that'll work for what you want to do.
-Ed
--
Edward Wedig
Content Management
Kreber Graphics
Columbus, OH
Post a reply to this message
|
![](/i/fill.gif) |