home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 5 / DATAFILE_PDCD5.iso / utilities / p / povray / !POVscene / level3 / inc / tori2 < prev    next >
Encoding:
Text File  |  1992-07-22  |  14.3 KB  |  294 lines

  1. // Persistence Of Vision raytracer version 1.0 sample file.
  2.  
  3. /*
  4.    ------------------------------------------------------------------------------
  5.    This DAT file created by Truman's Torus Generator 1.0 (c) 1991 Truman Brown
  6.    ------------------------------------------------------------------------------
  7.    Torus specs:
  8.       Major radius: 9.500000
  9.       Minor radius: 0.500000
  10.       Outer radius: 10.000000
  11.       Inner radius: 9.000000
  12.    ------------------------------------------------------------------------------
  13. */
  14.  
  15. #declare torus =
  16. quartic {
  17.    <    1.000000 0.000000 0.000000 0.000000 2.000000
  18.    0.000000 0.000000 2.000000 0.000000 -181.000000
  19.    0.000000 0.000000 0.000000 0.000000 0.000000
  20.    0.000000 0.000000 0.000000 0.000000 0.000000
  21.    1.000000 0.000000 0.000000 2.000000 0.000000
  22.    180.000000 0.000000 0.000000 0.000000 0.000000
  23.    1.000000 0.000000 -181.000000 0.000000 8100.000000 >
  24.    sturm
  25. }
  26. /*
  27.    ------------------------------------------------------------------------------
  28.    This DAT file created by Truman's Torus Generator 1.0 (c) 1991 Truman Brown
  29.    ------------------------------------------------------------------------------
  30.    Torus specs:
  31.       Major radius: 9.376883
  32.       Minor radius: 0.500000
  33.       Outer radius: 9.876883
  34.       Inner radius: 8.876883
  35.    ------------------------------------------------------------------------------
  36. */
  37.  
  38. #declare torus00 =
  39. quartic {
  40.    <    1.000000 0.000000 0.000000 0.000000 2.000000
  41.    0.000000 0.000000 2.000000 0.000000 -176.351870
  42.    0.000000 0.000000 0.000000 0.000000 0.000000
  43.    0.000000 0.000000 0.000000 0.000000 0.000000
  44.    1.000000 0.000000 0.000000 2.000000 0.000000
  45.    175.351870 0.000000 0.000000 0.000000 0.000000
  46.    1.000000 0.000000 -176.351870 0.000000 7687.069542 >
  47.    sturm
  48. }
  49. /*
  50.    ------------------------------------------------------------------------------
  51.    This DAT file created by Truman's Torus Generator 1.0 (c) 1991 Truman Brown
  52.    ------------------------------------------------------------------------------
  53.    Torus specs:
  54.       Major radius: 9.010565
  55.       Minor radius: 0.500000
  56.       Outer radius: 9.510565
  57.       Inner radius: 8.510565
  58.    ------------------------------------------------------------------------------
  59. */
  60.  
  61. #declare torus01 =
  62. quartic {
  63.    <    1.000000 0.000000 0.000000 0.000000 2.000000
  64.    0.000000 0.000000 2.000000 0.000000 -162.880563
  65.    0.000000 0.000000 0.000000 0.000000 0.000000
  66.    0.000000 0.000000 0.000000 0.000000 0.000000
  67.    1.000000 0.000000 0.000000 2.000000 0.000000
  68.    161.880563 0.000000 0.000000 0.000000 0.000000
  69.    1.000000 0.000000 -162.880563 0.000000 6551.329189 >
  70.    sturm
  71. }
  72. /*
  73.    ------------------------------------------------------------------------------
  74.    This DAT file created by Truman's Torus Generator 1.0 (c) 1991 Truman Brown
  75.    ------------------------------------------------------------------------------
  76.    Torus specs:
  77.       Major radius: 8.410065
  78.       Minor radius: 0.500000
  79.       Outer radius: 8.910065
  80.       Inner radius: 7.910065
  81.    ------------------------------------------------------------------------------
  82. */
  83.  
  84. #declare torus02 =
  85. quartic {
  86.    <    1.000000 0.000000 0.000000 0.000000 2.000000
  87.    0.000000 0.000000 2.000000 0.000000 -141.958387
  88.    0.000000 0.000000 0.000000 0.000000 0.000000
  89.    0.000000 0.000000 0.000000 0.000000 0.000000
  90.    1.000000 0.000000 0.000000 2.000000 0.000000
  91.    140.958387 0.000000 0.000000 0.000000 0.000000
  92.    1.000000 0.000000 -141.958387 0.000000 4967.316689 >
  93.    sturm
  94. }
  95. /*
  96.    ------------------------------------------------------------------------------
  97.    This DAT file created by Truman's Torus Generator 1.0 (c) 1991 Truman Brown
  98.    ------------------------------------------------------------------------------
  99.    Torus specs:
  100.       Major radius: 7.590170
  101.       Minor radius: 0.500000
  102.       Outer radius: 8.090170
  103.       Inner radius: 7.090170
  104.    ------------------------------------------------------------------------------
  105. */
  106.  
  107. #declare torus03 =
  108. quartic {
  109.    <    1.000000 0.000000 0.000000 0.000000 2.000000
  110.    0.000000 0.000000 2.000000 0.000000 -115.721361
  111.    0.000000 0.000000 0.000000 0.000000 0.000000
  112.    0.000000 0.000000 0.000000 0.000000 0.000000
  113.    1.000000 0.000000 0.000000 2.000000 0.000000
  114.    114.721361 0.000000 0.000000 0.000000 0.000000
  115.    1.000000 0.000000 -115.721361 0.000000 3290.247682 >
  116.    sturm
  117. }
  118. /*
  119.    ------------------------------------------------------------------------------
  120.    This DAT file created by Truman's Torus Generator 1.0 (c) 1991 Truman Brown
  121.    ------------------------------------------------------------------------------
  122.    Torus specs:
  123.       Major radius: 6.571068
  124.       Minor radius: 0.500000
  125.       Outer radius: 7.071068
  126.       Inner radius: 6.071068
  127.    ------------------------------------------------------------------------------
  128. */
  129.  
  130. #declare torus04 =
  131. quartic {
  132.    <    1.000000 0.000000 0.000000 0.000000 2.000000
  133.    0.000000 0.000000 2.000000 0.000000 -86.857869
  134.    0.000000 0.000000 0.000000 0.000000 0.000000
  135.    0.000000 0.000000 0.000000 0.000000 0.000000
  136.    1.000000 0.000000 0.000000 2.000000 0.000000
  137.    85.857869 0.000000 0.000000 0.000000 0.000000
  138.    1.000000 0.000000 -86.857869 0.000000 1842.893431 >
  139.    sturm
  140. }
  141. /*
  142.    ------------------------------------------------------------------------------
  143.    This DAT file created by Truman's Torus Generator 1.0 (c) 1991 Truman Brown
  144.    ------------------------------------------------------------------------------
  145.    Torus specs:
  146.       Major radius: 5.377853
  147.       Minor radius: 0.500000
  148.       Outer radius: 5.877853
  149.       Inner radius: 4.877853
  150.    ------------------------------------------------------------------------------
  151. */
  152.  
  153. #declare torus05 =
  154. quartic {
  155.    <    1.000000 0.000000 0.000000 0.000000 2.000000
  156.    0.000000 0.000000 2.000000 0.000000 -58.342606
  157.    0.000000 0.000000 0.000000 0.000000 0.000000
  158.    0.000000 0.000000 0.000000 0.000000 0.000000
  159.    1.000000 0.000000 0.000000 2.000000 0.000000
  160.    57.342606 0.000000 0.000000 0.000000 0.000000
  161.    1.000000 0.000000 -58.342606 0.000000 822.043609 >
  162.    sturm
  163. }
  164. /*
  165.    ------------------------------------------------------------------------------
  166.    This DAT file created by Truman's Torus Generator 1.0 (c) 1991 Truman Brown
  167.    ------------------------------------------------------------------------------
  168.    Torus specs:
  169.       Major radius: 4.039905
  170.       Minor radius: 0.500000
  171.       Outer radius: 4.539905
  172.       Inner radius: 3.539905
  173.    ------------------------------------------------------------------------------
  174. */
  175.  
  176. #declare torus06 =
  177. quartic {
  178.    <    1.000000 0.000000 0.000000 0.000000 2.000000
  179.    0.000000 0.000000 2.000000 0.000000 -33.141665
  180.    0.000000 0.000000 0.000000 0.000000 0.000000
  181.    0.000000 0.000000 0.000000 0.000000 0.000000
  182.    1.000000 0.000000 0.000000 2.000000 0.000000
  183.    32.141665 0.000000 0.000000 0.000000 0.000000
  184.    1.000000 0.000000 -33.141665 0.000000 258.271654 >
  185.    sturm
  186. }
  187. /*
  188.    ------------------------------------------------------------------------------
  189.    This DAT file created by Truman's Torus Generator 1.0 (c) 1991 Truman Brown
  190.    ------------------------------------------------------------------------------
  191.    Torus specs:
  192.       Major radius: 2.590170
  193.       Minor radius: 0.500000
  194.       Outer radius: 3.090170
  195.       Inner radius: 2.090170
  196.    ------------------------------------------------------------------------------
  197. */
  198.  
  199. #declare torus07 =
  200. quartic {
  201.    <    1.000000 0.000000 0.000000 0.000000 2.000000
  202.    0.000000 0.000000 2.000000 0.000000 -13.917961
  203.    0.000000 0.000000 0.000000 0.000000 0.000000
  204.    0.000000 0.000000 0.000000 0.000000 0.000000
  205.    1.000000 0.000000 0.000000 2.000000 0.000000
  206.    12.917961 0.000000 0.000000 0.000000 0.000000
  207.    1.000000 0.000000 -13.917961 0.000000 41.718431 >
  208.    sturm
  209. }
  210. /*
  211.    ------------------------------------------------------------------------------
  212.    This DAT file created by Truman's Torus Generator 1.0 (c) 1991 Truman Brown
  213.    ------------------------------------------------------------------------------
  214.    Torus specs:
  215.       Major radius: 1.064345
  216.       Minor radius: 0.500000
  217.       Outer radius: 1.564345
  218.       Inner radius: 0.564345
  219.    ------------------------------------------------------------------------------
  220. */
  221.  
  222. #declare torus08 =
  223. quartic {
  224.    <    1.000000 0.000000 0.000000 0.000000 2.000000
  225.    0.000000 0.000000 2.000000 0.000000 -2.765661
  226.    0.000000 0.000000 0.000000 0.000000 0.000000
  227.    0.000000 0.000000 0.000000 0.000000 0.000000
  228.    1.000000 0.000000 0.000000 2.000000 0.000000
  229.    1.765661 0.000000 0.000000 0.000000 0.000000
  230.    1.000000 0.000000 -2.765661 0.000000 0.779389 >
  231.    sturm
  232. }
  233.  
  234. /*
  235.    ------------------------------------------------------------------------------
  236.    This DAT file created by Truman's Torus Generator 1.0 (c) 1991 Truman Brown
  237.    ------------------------------------------------------------------------------
  238.    Torus specs:
  239.       Major radius: 9.500000
  240.       Minor radius: 0.200000
  241.       Outer radius: 9.700000
  242.       Inner radius: 9.300000
  243.    ------------------------------------------------------------------------------
  244. */
  245.  
  246. #declare torus09 =
  247. quartic {
  248.    <    1.000000 0.000000 0.000000 0.000000 2.000000
  249.    0.000000 0.000000 2.000000 0.000000 -180.580000
  250.    0.000000 0.000000 0.000000 0.000000 0.000000
  251.    0.000000 0.000000 0.000000 0.000000 0.000000
  252.    1.000000 0.000000 0.000000 2.000000 0.000000
  253.    180.420000 0.000000 0.000000 0.000000 0.000000
  254.    1.000000 0.000000 -180.580000 0.000000 8137.844100 >
  255.    sturm
  256. }
  257. /*
  258. declare torus  = object quartic TORUS   end_quartic bounded_by intersection sphere <0 0 0> 10.1 end_sphere plane <0 1 0> 0.51 end_plane plane < 0 -1 0> 0.51 end_plane end_intersection end_bound end_object
  259. declare torus0 = object quartic TORUS00 end_quartic bounded_by intersection sphere <0 0 0>  9.9 end_sphere plane <0 1 0> 0.51 end_plane plane < 0 -1 0> 0.51 end_plane end_intersection end_bound end_object
  260. declare torus1 = object quartic TORUS01 end_quartic bounded_by intersection sphere <0 0 0>  9.6 end_sphere plane <0 1 0> 0.51 end_plane plane < 0 -1 0> 0.51 end_plane end_intersection end_bound end_object
  261. declare torus2 = object quartic TORUS02 end_quartic bounded_by intersection sphere <0 0 0>  9.0 end_sphere plane <0 1 0> 0.51 end_plane plane < 0 -1 0> 0.51 end_plane end_intersection end_bound end_object
  262. declare torus3 = object quartic TORUS03 end_quartic bounded_by intersection sphere <0 0 0>  8.1 end_sphere plane <0 1 0> 0.51 end_plane plane < 0 -1 0> 0.51 end_plane end_intersection end_bound end_object
  263. declare torus4 = object quartic TORUS04 end_quartic bounded_by intersection sphere <0 0 0>  7.1 end_sphere plane <0 1 0> 0.51 end_plane plane < 0 -1 0> 0.51 end_plane end_intersection end_bound end_object
  264. declare torus5 = object quartic TORUS05 end_quartic bounded_by intersection sphere <0 0 0>  5.9 end_sphere plane <0 1 0> 0.51 end_plane plane < 0 -1 0> 0.51 end_plane end_intersection end_bound end_object
  265. declare torus6 = object quartic TORUS06 end_quartic bounded_by intersection sphere <0 0 0>  4.6 end_sphere plane <0 1 0> 0.51 end_plane plane < 0 -1 0> 0.51 end_plane end_intersection end_bound end_object
  266. declare torus7 = object quartic TORUS07 end_quartic bounded_by intersection sphere <0 0 0>  3.1 end_sphere plane <0 1 0> 0.51 end_plane plane < 0 -1 0> 0.51 end_plane end_intersection end_bound end_object
  267. declare torus8 = object quartic TORUS08 end_quartic bounded_by intersection sphere <0 0 0>  1.6 end_sphere plane <0 1 0> 0.51 end_plane plane < 0 -1 0> 0.51 end_plane end_intersection end_bound end_object
  268. declare torus9 = object quartic TORUS09 end_quartic bounded_by intersection sphere <0 0 0>  9.8 end_sphere plane <0 1 0> 0.21 end_plane plane < 0 -1 0> 0.21 end_plane end_intersection end_bound end_object
  269.  
  270. declare torus  = object quartic TORUS   end_quartic bounded_by intersection sphere <0 0 0> 10.1 end_sphere plane <0 1 0> 0.51 end_plane end_intersection end_bound end_object
  271. declare torus0 = object quartic TORUS00 end_quartic bounded_by intersection sphere <0 0 0>  9.9 end_sphere plane <0 1 0> 0.51 end_plane end_intersection end_bound end_object
  272. declare torus1 = object quartic TORUS01 end_quartic bounded_by intersection sphere <0 0 0>  9.6 end_sphere plane <0 1 0> 0.51 end_plane end_intersection end_bound end_object
  273. declare torus2 = object quartic TORUS02 end_quartic bounded_by intersection sphere <0 0 0>  9.0 end_sphere plane <0 1 0> 0.51 end_plane end_intersection end_bound end_object
  274. declare torus3 = object quartic TORUS03 end_quartic bounded_by intersection sphere <0 0 0>  8.1 end_sphere plane <0 1 0> 0.51 end_plane end_intersection end_bound end_object
  275. declare torus4 = object quartic TORUS04 end_quartic bounded_by intersection sphere <0 0 0>  7.1 end_sphere plane <0 1 0> 0.51 end_plane end_intersection end_bound end_object
  276. declare torus5 = object quartic TORUS05 end_quartic bounded_by intersection sphere <0 0 0>  5.9 end_sphere plane <0 1 0> 0.51 end_plane end_intersection end_bound end_object
  277. declare torus6 = object quartic TORUS06 end_quartic bounded_by intersection sphere <0 0 0>  4.6 end_sphere plane <0 1 0> 0.51 end_plane end_intersection end_bound end_object
  278. declare torus7 = object quartic TORUS07 end_quartic bounded_by intersection sphere <0 0 0>  3.1 end_sphere plane <0 1 0> 0.51 end_plane end_intersection end_bound end_object
  279. declare torus8 = object quartic TORUS08 end_quartic bounded_by intersection sphere <0 0 0>  1.6 end_sphere plane <0 1 0> 0.51 end_plane end_intersection end_bound end_object
  280. declare torus9 = object quartic TORUS09 end_quartic bounded_by intersection sphere <0 0 0>  9.8 end_sphere plane <0 1 0> 0.21 end_plane end_intersection end_bound end_object
  281. */
  282.  
  283. #declare torus  = object { quartic { torus    } bounded_by { sphere { <0 0 0> 10.1  }  }  }
  284. #declare torus0 = object { quartic { torus00  } bounded_by { sphere { <0 0 0>  9.9  }  }  }
  285. #declare torus1 = object { quartic { torus01  } bounded_by { sphere { <0 0 0>  9.6  }  }  }
  286. #declare torus2 = object { quartic { torus02  } bounded_by { sphere { <0 0 0>  9.0  }  }  }
  287. #declare torus3 = object { quartic { torus03  } bounded_by { sphere { <0 0 0>  8.1  }  }  }
  288. #declare torus4 = object { quartic { torus04  } bounded_by { sphere { <0 0 0>  7.1  }  }  }
  289. #declare torus5 = object { quartic { torus05  } bounded_by { sphere { <0 0 0>  5.9  }  }  }
  290. #declare torus6 = object { quartic { torus06  } bounded_by { sphere { <0 0 0>  4.6  }  }  }
  291. #declare torus7 = object { quartic { torus07  } bounded_by { sphere { <0 0 0>  3.1  }  }  }
  292. #declare torus8 = object { quartic { torus08  } bounded_by { sphere { <0 0 0>  1.6  }  }  }
  293. #declare torus9 = object { quartic { torus09  } bounded_by { sphere { <0 0 0>  9.8  }  }  }
  294.