home *** CD-ROM | disk | FTP | other *** search
-
-
-
-
- {------------ SHAPES DATA ---------------------------------}
-
- #declare Cylinder_X = quadric
- <0.0 1.0 1.0> <0.0 0.0 0.0> <0.0 0.0 0.0> -1.0 end_quadric
-
- #declare Cylinder_Y = quadric
- <1.0 0.0 1.0> <0.0 0.0 0.0> <0.0 0.0 0.0> -1.0 end_quadric
-
- #declare Cylinder_Z = quadric
- <1.0 1.0 0.0> <0.0 0.0 0.0> <0.0 0.0 0.0> -1.0 end_quadric
-
- #declare Cone_X = quadric
- <-1.0 1.0 1.0> <0.0 0.0 0.0> <0.0 0.0 0.0> 0.0 end_quadric
-
- #declare Cone_Y = quadric
- <1.0 -1.0 1.0> <0.0 0.0 0.0> <0.0 0.0 0.0> 0.0 end_quadric
-
- #declare Cone_Z = quadric
- <1.0 1.0 -1.0> <0.0 0.0 0.0> <0.0 0.0 0.0> 0.0 end_quadric
-
- #declare DCone = {---------CONE POINT DOWN /POINT at 000--------}
- INTERSECTION
- QUADRIC Cone_Y SCALE <1 1 1> END_QUADRIC PLANE <0 -1 0> 0 END_PLANE
- PLANE <0 1 0> 1 END_PLANE END_INTERSECTION
-
- #declare UCone = {---------CONE POINT UP /POINT at 000--------}
- INTERSECTION
- QUADRIC Cone_Y SCALE <1 1 1> END_QUADRIC PLANE <0 1 0> 0 END_PLANE
- PLANE <0 1 0> -1 INVERSE END_PLANE END_INTERSECTION
-
-
- #declare Cube = intersection
- plane <0.0 0.0 1.0> 1.0 end_plane
- plane <0.0 0.0 -1.0> 1.0 end_plane
- plane <0.0 1.0 0.0> 1.0 end_plane
- plane <0.0 -1.0 0.0> 1.0 end_plane
- plane <1.0 0.0 0.0> 1.0 end_plane
- plane <-1.0 0.0 0.0> 1.0 end_plane
- end_intersection
-
-
- #declare X_Disk = intersection { Capped cylinder, Length in x axis }
- quadric Cylinder_X end_quadric
- plane <1.0 0.0 0.0> 0.0 inverse end_plane
- plane <1.0 0.0 0.0> 1.0 end_plane
- end_intersection
-
-
- #declare Y_Disk = intersection { Capped cylinder, Length in y axis }
- quadric Cylinder_Y end_quadric
- plane <0.0 1.0 0.0> 0.0 inverse end_plane
- plane <0.0 1.0 0.0> 1.0 end_plane
- end_intersection
-
-
- #declare Z_Disk = intersection { Capped cylinder, Length in z axis }
- quadric Cylinder_Z end_quadric
- plane <0.0 0.0 1.0> 0.0 inverse end_plane
- plane <0.0 0.0 1.0> 1.0 end_plane
- end_intersection
-
- #declare QSphere = quadric
- <1.0 1.0 1.0> <0.0 0.0 0.0> <0.0 0.0 0.0> -1.0 end_quadric
-
-
-
-
- {----------- DIRECT FROM COLORS.DAT ----------------------------------}
- #declare White = colour red 1.0 green 1.0 blue 1.0
- #declare Black = colour red 0.0 green 0.0 blue 0.0
- #declare BlueViolet = colour red 0.62352 green 0.372549 blue 0.623529
- #declare CadetBlue = colour red 0.372549 green 0.623529 blue 0.623529
- #declare DimGray = colour red 0.329412 green 0.329412 blue 0.329412
- #declare ForestGreen = colour red 0.137255 green 0.556863 blue 0.137255
- #declare Gold = colour red 0.8 green 0.498039 blue 0.196078
- #declare Salmon = colour red 0.435294 green 0.258824 blue 0.258824
- #declare SeaGreen = colour red 0.137255 green 0.556863 blue 0.419608
- #declare Feldspar = colour red 0.82 green 0.57 blue 0.46
- #declare DarkGreen = colour red 0.184314 green 0.309804 blue 0.184314
- #declare Scarlet = color RED 0.55 GREEN 0.09 BLUE 0.09
- #declare Yellow = colour red 1.0 green 1.0
-
-
-
-
- {-------------- TEXTURES ---------------------------------}
-
- #declare STONE1 = TEXTURE COLOR DimGray Diffuse 1.0 AMBIENT 0.4 PHONG 1.0 END_TEXTURE
- #declare STONE2 = TEXTURE COLOR Salmon PHONG 1.0 END_TEXTURE
- #declare STONE3 = TEXTURE COLOR DimGray PHONG 1.0 END_TEXTURE
- #declare STONE4 = TEXTURE COLOR Feldspar AMBIENT 0.2 DIFFUSE 0.8 PHONG 1.0 END_TEXTURE
- #declare BRASS = TEXTURE METALLIC COLOR RED 0.80 GREEN 0.58 BLUE 0.0
- AMBIENT 0.4 DIFFUSE 0.3 REFLECTION 0.5 BRILLIANCE 6 PHONG 1.0 END_TEXTURE
-
-
-
-
- #declare SILVER = texture {---------Bright REFLECTIVE SILVER-----------}
- 0.02 ambient 0.4 diffuse 0.7
- colour red 0.7 green 0.7 blue 0.7 reflection 0.9 brilliance 7.0
- specular 0.5
- end_texture
-
- #declare LIGHT =
- OBJECT SPHERE <0 0 0> 1 END_SPHERE
- TEXTURE COLOR White END_TEXTURE
- LIGHT_SOURCE COLOR White END_OBJECT
-
-
-
-
-
-
-
-
-
-
-