home *** CD-ROM | disk | FTP | other *** search
- //this pov file tests the rotate program
- #include "colors.inc"
-
- #declare Arrow_X=
- object {
- union {
- cone {<-2,0,0>,0,<2,0,0>,1}
- cone {<2,0,0>,2,<4,0,0>,0}
- }
- texture {pigment {color red 0.9 green 0.5 blue 0.5}}
- no_shadow
- bounded_by { box { <-2.1,-2.1,-2.1>,<4.1,2.1,2.1>}}
- }
-
- #declare Arrow_Y=
- object {
- union {
- cone {<0,-2,0>,0,<0,2,0>,1}
- cone {<0,2,0>,2,<0,4,0>,0}
- }
- texture {pigment {color red 0.5 green 0.9 blue 0.5}}
- no_shadow
- bounded_by { box { <-2.1,-2.1,-2.1>,<2.1,4.1,2.1>}}
- }
-
- #declare Arrow_Z=
- object {
- union {
- cone {<0,0,-2>,0,<0,0,2>,1}
- cone {<0,0,2>,2,<0,0,4>,0}
- }
- texture {pigment {color red 0.5 green 0.5 blue 0.9}}
- no_shadow
- bounded_by { box { <-2.1,-2.1,-2.1>,<2.1,2.1,4.1>}}
- }
-
- #include "testrot.inc"
-
- object{sphere{<5.00,4.00,3.00>,1} texture {pigment {color Gray30}}}
-
- object {
- cylinder {
- < 5.000, 4.000, 3.000>, < 10.000, 11.000, 9.000>, 0.1}
- texture { pigment {color Gray75}}
- no_shadow
- }
-
- object {
- cylinder {
- < 5.000, 4.000, 3.000>, < 10.000, 11.000, -3.000>, 0.1}
- texture { pigment {color Gray75}}
- no_shadow
- }
-
- object {
- cylinder {
- < 5.000, 4.000, 3.000>, < 10.000, -1.000, 9.000>, 0.1}
- texture { pigment {color Gray75}}
- no_shadow
- }
-
- object {
- cylinder {
- < 5.000, 4.000, 3.000>, < 10.000, -1.000, -3.000>, 0.1}
- texture { pigment {color Gray75}}
- no_shadow
- }
-
- object {
- cylinder {
- < 5.000, 4.000, 3.000>, < -2.000, 11.000, 9.000>, 0.1}
- texture { pigment {color Gray75}}
- no_shadow
- }
-
- object {
- cylinder {
- < 5.000, 4.000, 3.000>, < -2.000, 11.000, -3.000>, 0.1}
- texture { pigment {color Gray75}}
- no_shadow
- }
-
- object {
- cylinder {
- < 5.000, 4.000, 3.000>, < -2.000, -1.000, 9.000>, 0.1}
- texture { pigment {color Gray75}}
- no_shadow
- }
-
- object {
- cylinder {
- < 5.000, 4.000, 3.000>, < -2.000, -1.000, -3.000>, 0.1}
- texture { pigment {color Gray75}}
- no_shadow
- }
-
- camera {
- location <0,-2,-18>
- look_at <5,4,3>
- }
-
- light_source{<200,200,-1000> color White}
-
- light_source{<-200,-200,1000> color White}
-
- object {
- sphere {<0,0,0>,2000}
- texture { pigment {color White} }
- }
-