home *** CD-ROM | disk | FTP | other *** search
- ~ definition of red and blue dice ~
- define
- material
- named die-pips
- colour (0 0 0)
- spec-colour (1 1 1)
- diffuse-reflection 0.0
- specular-reflection 0.8
- reflection 0.0
- ;
- object
- name pips
- object sphere centre (0 0 -1.2) radius 0.25 ; material called die-pips ; ;
-
- object sphere centre (0.4 -0.4 1.2) radius 0.25 ; material called die-pips ; ;
- object sphere centre (0.4 0.0 1.2) radius 0.25 ; material called die-pips ; ;
- object sphere centre (0.4 0.4 1.2) radius 0.25 ; material called die-pips ; ;
- object sphere centre (-.4 -0.4 1.2) radius 0.25 ; material called die-pips ; ;
- object sphere centre (-.4 0.0 1.2) radius 0.25 ; material called die-pips ; ;
- object sphere centre (-.4 0.4 1.2) radius 0.25 ; material called die-pips ; ;
-
- object sphere centre (1.2 -0.4 0.4) radius 0.25 ; material called die-pips ; ;
- object sphere centre (1.2 0.4 -0.4) radius 0.25 ; material called die-pips ; ;
-
- object sphere centre (-1.2 -0.4 0.4 ) radius 0.25 ; material called die-pips ; ;
- object sphere centre (-1.2 0.0 0.0 ) radius 0.25 ; material called die-pips ; ;
- object sphere centre (-1.2 0.4 0.4 ) radius 0.25 ; material called die-pips ; ;
- object sphere centre (-1.2 -0.4 -0.4 ) radius 0.25 ; material called die-pips ; ;
- object sphere centre (-1.2 0.4 -0.4 ) radius 0.25 ; material called die-pips ; ;
-
- object sphere centre (-0.4 -1.2 0.4 ) radius 0.25 ; material called die-pips ; ;
- object sphere centre ( 0.4 -1.2 0.4 ) radius 0.25 ; material called die-pips ; ;
- object sphere centre (-0.4 -1.2 -0.4 ) radius 0.25 ; material called die-pips ; ;
- object sphere centre ( 0.4 -1.2 -0.4 ) radius 0.25 ; material called die-pips ; ;
-
- object sphere centre (-0.4 1.2 0.4 ) radius 0.25 ; material called die-pips ; ;
- object sphere centre ( 0.0 1.2 0.0 ) radius 0.25 ; material called die-pips ; ;
- object sphere centre ( 0.4 1.2 -0.4 ) radius 0.25 ; material called die-pips ; ;
- ;
- object
- name blue-die
- object
- csg
- subtract
- operand1
- csg
- intersect
- operand1
- sphere
- centre (0 0 0)
- radius 1.414
- ;
- material
- named bdie-stuff
- colour (0.2 0.2 0.8)
- diffuse-reflection 0.7
- specular-reflection 0.4
- specular-power 100
- reflection 0.0
- ;
- ;
- operand2
- box
- a (-1 -1 -1)
- b ( 1 1 1)
- ;
- material
- called bdie-stuff
- ;
- ;
- ;
- ;
- operand2
- pips
- at (0 0 0)
- ;
- ;
- ;
- ;
- ;
- object
- name red-die
- object
- csg
- subtract
- operand1
- csg
- intersect
- operand1
- sphere
- centre (0 0 0)
- radius 1.414
- ;
- material
- named rdie-stuff
- colour (0.8 0.2 0.2)
- diffuse-reflection 0.7
- specular-reflection 0.4
- specular-power 100
- reflection 0.0
- ;
- ;
- operand2
- box
- a (-1 -1 -1)
- b ( 1 1 1)
- ;
- material
- called rdie-stuff
- ;
- ;
- ;
- ;
- operand2
- pips
- at (0 0 0)
- ;
- ;
- ;
- ;
- ;
- ;
-
-