home *** CD-ROM | disk | FTP | other *** search
/ ANews 3 / AnewsCD3.iso / atari / GRAPHX / POV / 68030.060 / POV31G30 / POVRAY_3.1G / SCENES / ADVANCED / IONIC5 / TURN.INC < prev   
Text File  |  1999-10-30  |  36KB  |  1,174 lines

  1. // Persistence Of Vision raytracer version 3.1 sample file.
  2. /*--------   IONIC CAPITAL TURN -------------------------------*/
  3.  
  4. #declare Turn_Inc_Temp = version;
  5. #version 1.0;
  6.  
  7.  
  8. #declare YourTexture =
  9.  
  10. texture {  marble1 ambient 0.4 diffuse 1.0 
  11.    scale <5 13 4>   }
  12. texture { marble4 diffuse 1.0 phong 0.6 phong_size 20 scale <5 7 3> rotate <0 0 50>  }
  13.  
  14. /*  ***** dot declaration *****  */
  15.  
  16. // #declare Dot =
  17. // quadric {
  18. //    < 1.0  1.0  1.0>
  19. //    < 0.0  0.0  0.0>
  20. //    < 0.0  0.0  0.0>
  21. //    -1.0
  22. // }
  23. #declare Dot = sphere { 0, 1 }
  24.  
  25. /*  ***** cylindrical connector *****  */
  26.  
  27. // #declare Connector_1 =
  28. // object {
  29. //    quadric {
  30. //       < 0.0  1.0  1.0>
  31. //       < 0.0  0.0  0.0>
  32. //       < 0.0  0.0  0.0>
  33. //       -1.0
  34. //    }
  35. //    clipped_by {
  36. //       plane { < 1.0  0.0  0.0> 1.0  }
  37. //       plane { <-1.0  0.0  0.0> 0.0  }
  38. //    }
  39. // }
  40. #declare Connector_1 = cylinder { -x, x, 1 }
  41.  
  42. /*  ***** conical connector *****  */
  43.  
  44. // Infinite cone in Y axis, rotated to X axis
  45. #declare Connector_2 =
  46. quadric {
  47.    < 1.0 -1.0  1.0>
  48.    < 0.0  0.0  0.0>
  49.    < 0.0  0.0  0.0>
  50.    0.0
  51.    rotate < 0.0  0.0  90.0>
  52. }
  53.  
  54. #declare s1 =
  55. composite {
  56.    object {
  57.       quadric {
  58.          Dot
  59.          scale     < 1.200000  1.200000  1.200000>
  60.          translate < 4.000000  0.000000  0.000000>
  61.       }            
  62.       texture {
  63.          YourTexture
  64.       }            
  65.    }      
  66.    object {
  67.       quadric {
  68.          Connector_2
  69.       }            
  70.       clipped_by {
  71.          plane {     < 1.000000  0.000000  0.000000>  1.199990  }
  72.          plane {     < 1.000000  0.000000  0.000000>  1.194990 inverse  }
  73.       }            
  74.       translate <-1.199990  0.000000  0.000000>
  75.       scale     < 248.644324  1.000000  1.000000>
  76.       translate <-0.004826  0.000000  0.000000>
  77.       rotate    < 0.000000  180.000000  0.000000>
  78.       rotate    < 0.000000 -101.846098  0.000000>
  79.       translate < 4.000000  0.000000  0.000000>
  80.       texture {
  81.          YourTexture
  82.       }            
  83.    }      
  84.    object {
  85.       quadric {
  86.          Dot
  87.          scale     < 1.195000  1.195000  1.195000>
  88.          translate < 3.744785  0.000000  1.216754>
  89.       }            
  90.       texture {
  91.          YourTexture
  92.       }            
  93.    }      
  94.    object {
  95.       quadric {
  96.          Connector_2
  97.       }            
  98.       clipped_by {
  99.          plane {     < 1.000000  0.000000  0.000000>  1.194990  }
  100.          plane {     < 1.000000  0.000000  0.000000>  1.189990 inverse  }
  101.       }            
  102.       translate <-1.194990  0.000000  0.000000>
  103.       scale     < 244.738491  1.000000  1.000000>
  104.       translate <-0.004883  0.000000  0.000000>
  105.       rotate    < 0.000000  180.000000  0.000000>
  106.       rotate    < 0.000000 -119.891533  0.000000>
  107.       translate < 3.744785  0.000000  1.216754>
  108.       texture {
  109.          YourTexture
  110.       }            
  111.    }      
  112.    object {
  113.       quadric {
  114.          Dot
  115.          scale     < 1.190000  1.190000  1.190000>
  116.          translate < 3.134941  0.000000  2.277668>
  117.       }            
  118.       texture {
  119.          YourTexture
  120.       }            
  121.    }      
  122.    object {
  123.       quadric {
  124.          Connector_2
  125.       }            
  126.       clipped_by {
  127.          plane {     < 1.000000  0.000000  0.000000>  1.189990  }
  128.          plane {     < 1.000000  0.000000  0.000000>  1.184990 inverse  }
  129.       }            
  130.       translate <-1.189990  0.000000  0.000000>
  131.       scale     < 240.832580  1.000000  1.000000>
  132.       translate <-0.004941  0.000000  0.000000>
  133.       rotate    < 0.000000  180.000000  0.000000>
  134.       rotate    < 0.000000 -137.938517  0.000000>
  135.       translate < 3.134941  0.000000  2.277668>
  136.       texture {
  137.          YourTexture
  138.       }            
  139.    }      
  140.    object {
  141.       quadric {
  142.          Dot
  143.          scale     < 1.185000  1.185000  1.185000>
  144.          translate < 2.240931  0.000000  3.084377>
  145.       }            
  146.       texture {
  147.          YourTexture
  148.       }            
  149.    }      
  150.    object {
  151.       quadric {
  152.          Connector_2
  153.       }            
  154.       clipped_by {
  155.          plane {     < 1.000000  0.000000  0.000000>  1.184989  }
  156.          plane {     < 1.000000  0.000000  0.000000>  1.179989 inverse  }
  157.       }            
  158.       translate <-1.184989  0.000000  0.000000>
  159.       scale     < 236.926837  1.000000  1.000000>
  160.       translate <-0.005001  0.000000  0.000000>
  161.       rotate    < 0.000000  180.000000  0.000000>
  162.       rotate    < 0.000000 -155.986945  0.000000>
  163.       translate < 2.240931  0.000000  3.084377>
  164.       texture {
  165.          YourTexture
  166.       }            
  167.    }      
  168.    object {
  169.       quadric {
  170.          Dot
  171.          scale     < 1.180000  1.180000  1.180000>
  172.          translate < 1.158814  0.000000  3.566462>
  173.       }            
  174.       texture {
  175.          YourTexture
  176.       }            
  177.    }      
  178.    object {
  179.       quadric {
  180.          Connector_2
  181.       }            
  182.       clipped_by {
  183.          plane {     < 1.000000  0.000000  0.000000>  1.179989  }
  184.          plane {     < 1.000000  0.000000  0.000000>  1.174989 inverse  }
  185.       }            
  186.       translate <-1.179989  0.000000  0.000000>
  187.       scale     < 233.021465  1.000000  1.000000>
  188.       translate <-0.005064  0.000000  0.000000>
  189.       rotate    < 0.000000  180.000000  0.000000>
  190.       rotate    < 0.000000 -174.037084  0.000000>
  191.       translate < 1.158814  0.000000  3.566462>
  192.       texture {
  193.          YourTexture
  194.       }            
  195.    }      
  196.    object {
  197.       quadric {
  198.          Dot
  199.          scale     < 1.175000  1.175000  1.175000>
  200.          translate <-0.000000  0.000000  3.687500>
  201.       }            
  202.       texture {
  203.          YourTexture
  204.       }            
  205.    }      
  206.    object {
  207.       quadric {
  208.          Connector_2
  209.       }            
  210.       clipped_by {
  211.          plane {     < 1.000000  0.000000  0.000000>  1.174989  }
  212.          plane {     < 1.000000  0.000000  0.000000>  1.169989 inverse  }
  213.       }            
  214.       translate <-1.174989  0.000000  0.000000>
  215.       scale     < 229.116173  1.000000  1.000000>
  216.       translate <-0.005128  0.000000  0.000000>
  217.       rotate    < 0.000000  180.000000  0.000000>
  218.       rotate    < 0.000000  167.911115  0.000000>
  219.       translate <-0.000000  0.000000  3.687500>
  220.       texture {
  221.          YourTexture
  222.       }            
  223.    }      
  224.    object {
  225.       quadric {
  226.          Dot
  227.          scale     < 1.170000  1.170000  1.170000>
  228.          translate <-1.120187  0.000000  3.447580>
  229.       }            
  230.       texture {
  231.          YourTexture
  232.       }            
  233.    }      
  234.    object {
  235.       quadric {
  236.          Connector_2
  237.       }            
  238.       clipped_by {
  239.          plane {     < 1.000000  0.000000  0.000000>  1.169988  }
  240.          plane {     < 1.000000  0.000000  0.000000>  1.164989 inverse  }
  241.       }            
  242.       translate <-1.169988  0.000000  0.000000>
  243.       scale     < 225.210938  1.000000  1.000000>
  244.       translate <-0.005195  0.000000  0.000000>
  245.       rotate    < 0.000000  180.000000  0.000000>
  246.       rotate    < 0.000000  149.857475  0.000000>
  247.       translate <-1.120187  0.000000  3.447580>
  248.       texture {
  249.          YourTexture
  250.       }            
  251.    }      
  252.    object {
  253.       quadric {
  254.          Dot
  255.          scale     < 1.165000  1.165000  1.165000>
  256.          translate <-2.093985  0.000000  2.882123>
  257.       }            
  258.       texture {
  259.          YourTexture
  260.       }            
  261.    }      
  262.    object {
  263.       quadric {
  264.          Connector_2
  265.       }            
  266.       clipped_by {
  267.          plane {     < 1.000000  0.000000  0.000000>  1.164988  }
  268.          plane {     < 1.000000  0.000000  0.000000>  1.159988 inverse  }
  269.       }            
  270.       translate <-1.164988  0.000000  0.000000>
  271.       scale     < 221.306048  1.000000  1.000000>
  272.       translate <-0.005264  0.000000  0.000000>
  273.       rotate    < 0.000000  180.000000  0.000000>
  274.       rotate    < 0.000000  131.801954  0.000000>
  275.       translate <-2.093985  0.000000  2.882123>
  276.       texture {
  277.          YourTexture
  278.       }            
  279.    }      
  280.    object {
  281.       quadric {
  282.          Dot
  283.