home *** CD-ROM | disk | FTP | other *** search
- #declare Beer_Bottle =
- texture { //color Green } useful for diagnostics
- Glass3
- color red 0.4 green .9 blue 0.5 alpha 0.9
- }
-
- #declare Heineken =
-
- composite {
- // ********************** Outside Bits ************
- object {
- quartic { // Minor Radius = 0.1250 Major Radius = 0.4000
- <
- +1.0000 +0.0000 +0.0000 +0.0000 +2.0000
- +0.0000 +0.0000 +2.0000 +0.0000 -0.3513
- +0.0000 +0.0000 +0.0000 +0.0000 +0.0000
- +0.0000 +0.0000 +0.0000 +0.0000 +0.0000
- +1.0000 +0.0000 +0.0000 +2.0000 +0.0000
- +0.2888 +0.0000 +0.0000 +0.0000 +0.0000
- +1.0000 +0.0000 -0.3513 +0.0000 +0.0208
- >
- translate < 0 7.75 0 >
- }
- texture { Beer_Bottle }
- }
- object {
- quartic { // Minor Radius = 0.1250 Major Radius = 0.4000
- <
- +1.0000 +0.0000 +0.0000 +0.0000 +2.0000
- +0.0000 +0.0000 +2.0000 +0.0000 -0.3513
- +0.0000 +0.0000 +0.0000 +0.0000 +0.0000
- +0.0000 +0.0000 +0.0000 +0.0000 +0.0000
- +1.0000 +0.0000 +0.0000 +2.0000 +0.0000
- +0.2888 +0.0000 +0.0000 +0.0000 +0.0000
- +1.0000 +0.0000 -0.3513 +0.0000 +0.0208
- >
- translate < 0 7.51 0 >
- }
- texture { Beer_Bottle }
- }
- object {
- quadric { QCone_Y }
- clipped_by { plane { < 0 -1 0 > 0 } }
- clipped_by { plane { < 0 1 0 > 1 } }
- scale < .75 1 .75 >
- scale < 1 4.26 1 >
- rotate < 0 0 180 >
- translate < 0 10.0165 0 >
- clipped_by { plane { < 0 1 0 > 7.5 } }
- texture { Beer_Bottle }
- }
- object {
- sphere { < 0 0 0 > 1 }
- clipped_by { plane { < 0 -1 0 > 0 } }
- scale < 1.25 1.25 1.25 >
- translate < 0 4.75 0 >
- clipped_by { plane { < 0 1 0 > 5.75 } }
- texture { Beer_Bottle }
- }
- object {
- quadric { Cylinder_Y }
- clipped_by { plane { < 0 1 0 > 1 } }
- clipped_by { plane { < 0 -1 0 > 0 } }
- scale < 1.25 4.5 1.25 >
- translate < 0 .25 0 >
- texture { Beer_Bottle }
- }
- object {
- quadric { Cylinder_Y }
- clipped_by { plane { < 0 1 0 > .9 } }
- clipped_by { plane { < 0 -1 0 > 0 } }
- clipped_by { plane { < 1 0 0 > 0 rotate < 0 -75 0 > } }
- clipped_by { plane { < -1 0 0 > 0 rotate < 0 75 0 > } }
- scale < 1.251 4.5 1.251 >
- translate < 0 .25 0 >
- texture {
- image_map { < 1 -1 0 > gif "heinlabl.gif"
- map_type 2
- alpha 31 1
- once
- interpolate 2 }
- scale < 2 3.8 2 >
- translate < 0 .7 0 >
- rotate < 0 -90 0 >
- }
- }
- object {
- quartic { // Minor Radius = 0.250 Major Radius = 1.000
- <
- +1.0000 +0.0000 +0.0000 +0.0000 +2.0000
- +0.0000 +0.0000 +2.0000 +0.0000 -2.1250
- +0.0000 +0.0000 +0.0000 +0.0000 +0.0000
- +0.0000 +0.0000 +0.0000 +0.0000 +0.0000
- +1.0000 +0.0000 +0.0000 +2.0000 +0.0000
- +1.8750 +0.0000 +0.0000 +0.0000 +0.0000
- +1.0000 +0.0000 -2.1250 +0.0000 +0.8789
- >
- }
- texture { Beer_Bottle }
- clipped_by { plane { < 0 1 0 > 0 } }
- clipped_by { sphere { < 0 0 0 > 1 inverse } }
- translate < 0 .25 0 >
- }
- object {
- sphere { < 0 -2.2917 0 > 2.5 } //2.6667
- clipped_by { plane { < 0 -1 0 > 0 } }
- texture { Beer_Bottle }
- }
-
- // ************************ Inside Bits **************
- object {
- quadric { Cylinder_Y }
- inverse
- clipped_by { plane { < 0 1 0 > 1 } }
- clipped_by { plane { < 0 -1 0 > 0 } }
- scale < .325 .25 .325 >
- translate < 0 7.625 0 >
- texture { Beer_Bottle }
- }
- object {
- quadric { QCone_Y }
- inverse
- clipped_by { plane { < 0 -1 0 > 0 } }
- clipped_by { plane { < 0 1 0 > 1 } }
- scale < .65 1 .65 >
- scale < 1 4.26 1 >
- rotate < 0 0 180 >
- translate < 0 10.0165 0 >
- clipped_by { plane { < 0 1 0 > 7.5 } }
- texture { Beer_Bottle }
- }
- object {
- sphere { < 0 0 0 > 1 }
- inverse
- clipped_by { plane { < 0 -1 0 > 0 } }
- scale < 1.15 1.15 1.15 >
- translate < 0 4.75 0 >
- clipped_by { plane { < 0 1 0 > 5.75 } }
- texture { Beer_Bottle }
- }
- object {
- quadric { Cylinder_Y }
- inverse
- clipped_by { plane { < 0 1 0 > 1 } }
- clipped_by { plane { < 0 -1 0 > 0 } }
- scale < 1.15 4.5 1.15 >
- translate < 0 .25 0 >
- texture { Beer_Bottle }
- }
- bounded_by { box { < -2 0 -2 > < 2 8 2 > } }
-
- }
-