home *** CD-ROM | disk | FTP | other *** search
- //Pov aspirin bottle, "for 3-Dimensional headaches".
-
- #include "colors.inc"
- #include "shapes.inc"
- #include "textures.inc"
- #include "env04.inc"
- #include "pill.inc"
- #include "cap.inc"
-
- camera {
- location <0, 6.7, -15>
- direction <0, 0, 1>
- up <0, 1, 0>
- right <4/3, 0, 0>
- look_at <0, 5.75, 0>
- }
-
- light_source { <80, 60, -20> color White }
-
- light_source { <-80, 60, -50> color White }
-
- box { <-10, -5, -4> <10, 0, 4>
- texture { Dark_Wood finish { reflection 0.3 phong 1 phong_size 80 }}
- }
-
- object {
- union {
- object {
- Cap
- pigment { color White }
-
- }
- object {
- cylinder { <0, 7, 0> <0, 8.75, 0> 1.5
- pigment { color White }
- }
- }
- object {
- cylinder { <0, 8, 0> <0, 8.19, 0> 1.69 //Lip under bottle cap
- pigment { color White }
- }
- }
- object {
- sphere { <0, 7.25, 0> 0.5
- scale <4, 1, 4>
- pigment { color White }
- }
- }
- object {
- cylinder { <0, 5.75, 0> <0, 7.25, 0> 2
- pigment { color White }
- }
- }
- //Label
- object {
- cylinder { <0, 2.5, 0> <0, 5.75, 0> 2
- pigment { red 0.2 green 0.2 blue 0.8 }
- pigment {
- image_map { gif "label.gif" once map_type 2 interpolate 0 }
- scale <1, 3.3, 1> rotate <0, -85, 0> translate <0.5, 2.5, 0>}
- }
- }
- object {
- cylinder { <0, 0.5, 0> <0, 2.5, 0> 2
- pigment { color White }
- }
- }
- object {
- torus { 1.5, 0.5 }
- pigment { color White }
- }
- }
- }
-
-
-
-
-
-