home *** CD-ROM | disk | FTP | other *** search
/ Stars of Shareware: Raytrace & Morphing / SOS-RAYTRACE.ISO / programm / utility / dos / rotate / testrot.pov < prev    next >
Encoding:
Text File  |  1994-06-06  |  2.3 KB  |  110 lines

  1. //this pov file tests the rotate program
  2. #include "colors.inc"
  3.  
  4. #declare Arrow_X=
  5.   object {
  6.     union {
  7.       cone {<-2,0,0>,0,<2,0,0>,1}
  8.       cone {<2,0,0>,2,<4,0,0>,0}
  9.     }
  10.     texture {pigment {color red 0.9 green 0.5 blue 0.5}}
  11.     no_shadow
  12.     bounded_by { box { <-2.1,-2.1,-2.1>,<4.1,2.1,2.1>}}
  13.   }
  14.  
  15. #declare Arrow_Y=
  16.   object {
  17.     union {
  18.       cone {<0,-2,0>,0,<0,2,0>,1}
  19.       cone {<0,2,0>,2,<0,4,0>,0}
  20.     }
  21.     texture {pigment {color red 0.5 green 0.9 blue 0.5}}
  22.     no_shadow
  23.     bounded_by { box { <-2.1,-2.1,-2.1>,<2.1,4.1,2.1>}}
  24.   }
  25.  
  26. #declare Arrow_Z=
  27.   object {
  28.     union {
  29.       cone {<0,0,-2>,0,<0,0,2>,1}
  30.       cone {<0,0,2>,2,<0,0,4>,0}
  31.     }
  32.     texture {pigment {color red 0.5 green 0.5 blue 0.9}}
  33.     no_shadow
  34.     bounded_by { box { <-2.1,-2.1,-2.1>,<2.1,2.1,4.1>}}
  35.   }
  36.  
  37. #include "testrot.inc"
  38.  
  39. object{sphere{<5.00,4.00,3.00>,1} texture {pigment {color Gray30}}}
  40.  
  41. object {
  42.   cylinder {
  43.     <   5.000,   4.000,   3.000>,    <  10.000,  11.000,   9.000>, 0.1}
  44.   texture { pigment {color Gray75}}
  45.   no_shadow
  46. }
  47.  
  48. object {
  49.   cylinder {
  50.     <   5.000,   4.000,   3.000>,    <  10.000,  11.000,  -3.000>, 0.1}
  51.   texture { pigment {color Gray75}}
  52.   no_shadow
  53. }
  54.  
  55. object {
  56.   cylinder {
  57.     <   5.000,   4.000,   3.000>,    <  10.000,  -1.000,   9.000>, 0.1}
  58.   texture { pigment {color Gray75}}
  59.   no_shadow
  60. }
  61.  
  62. object {
  63.   cylinder {
  64.     <   5.000,   4.000,   3.000>,    <  10.000,  -1.000,  -3.000>, 0.1}
  65.   texture { pigment {color Gray75}}
  66.   no_shadow
  67. }
  68.  
  69. object {
  70.   cylinder {
  71.     <   5.000,   4.000,   3.000>,    <  -2.000,  11.000,   9.000>, 0.1}
  72.   texture { pigment {color Gray75}}
  73.   no_shadow
  74. }
  75.  
  76. object {
  77.   cylinder {
  78.     <   5.000,   4.000,   3.000>,    <  -2.000,  11.000,  -3.000>, 0.1}
  79.   texture { pigment {color Gray75}}
  80.   no_shadow
  81. }
  82.  
  83. object {
  84.   cylinder {
  85.     <   5.000,   4.000,   3.000>,    <  -2.000,  -1.000,   9.000>, 0.1}
  86.   texture { pigment {color Gray75}}
  87.   no_shadow
  88. }
  89.  
  90. object {
  91.   cylinder {
  92.     <   5.000,   4.000,   3.000>,    <  -2.000,  -1.000,  -3.000>, 0.1}
  93.   texture { pigment {color Gray75}}
  94.   no_shadow
  95. }
  96.  
  97. camera {
  98.   location <0,-2,-18>
  99.   look_at <5,4,3>
  100. }
  101.  
  102. light_source{<200,200,-1000> color White}
  103.  
  104. light_source{<-200,-200,1000> color White}
  105.  
  106. object {
  107.   sphere {<0,0,0>,2000}
  108.   texture { pigment {color White} }
  109. }
  110.