home *** CD-ROM | disk | FTP | other *** search
/ Computerspiele Selbermachen / computerspieleselbermachen.iso / pov / stem1.inc < prev    next >
Text File  |  1993-09-27  |  13KB  |  551 lines

  1. // Persistence Of Vision Raytracer version 1.0 sample file.
  2.  
  3. //--------------------- Spiral Twist or SexWorms
  4.  
  5. #declare Stem1_Inc_Temp = version
  6. #version 1.0
  7.  
  8. #declare ccc = texture {
  9.    marble
  10.    turbulence 0.4
  11.    colour_map {
  12.       [0.000 0.210   colour red  0.333  green  0.467  blue  0.404  alpha  0.000
  13.                      colour red  0.341  green  0.302  blue  0.039  alpha  0.000]
  14.       [0.210 0.555   colour red  0.341  green  0.302  blue  0.039  alpha  0.000
  15.                      colour red  0.584  green  0.388  blue  0.373  alpha  0.000]
  16.       [0.555 0.773   colour red  0.584  green  0.388  blue  0.373  alpha  0.000
  17.                      colour red  0.816  green  0.647  blue  0.518  alpha  0.000]
  18.       [0.773 1.001   colour red  0.816  green  0.647  blue  0.518  alpha  0.000
  19.                      colour red  0.333  green  0.467  blue  0.404  alpha  0.000]
  20.  
  21.    }
  22.    ambient 0.2 diffuse 0.5 phong 1.0 phong_size 80
  23. }
  24.  
  25. #declare YourTexture =    /* change to your preference */
  26. texture {
  27.    ccc scale <10 20 10>
  28. }
  29.  
  30. #declare Dot =
  31. quadric {
  32.    < 1.0  1.0  1.0>
  33.    < 0.0  0.0  0.0>
  34.    < 0.0  0.0  0.0>
  35.    -1.0
  36. }
  37.  
  38. #declare Connector_1 = 
  39. object {
  40.    quadric {
  41.       < 0.0  1.0  1.0>
  42.       < 0.0  0.0  0.0>
  43.       < 0.0  0.0  0.0>
  44.       -1.0
  45.    }
  46.    clipped_by {
  47.       plane { < 1.0  0.0  0.0> 1.0  }
  48.       plane { <-1.0  0.0  0.0> 0.0  }
  49.    }
  50. }
  51.  
  52. #declare Connector_2 =
  53. quadric {
  54.    < 1.0 -1.0  1.0>
  55.    < 0.0  0.0  0.0>
  56.    < 0.0  0.0  0.0>
  57.    0.0
  58.    rotate < 0.0  0.0  90.0>
  59. }
  60.  
  61. /*----------------------------------------------------------------------------*/
  62.  
  63. #declare YourThing1 =
  64. composite {
  65.    object {
  66.       sphere { < 0.000000  0.000000 -5.000000>  2.950000  }
  67.       texture {
  68.          YourTexture
  69.       }
  70.    }
  71.    object {
  72.       sphere { <-1.018770  0.666670 -4.792920>  2.900000  }
  73.       texture {
  74.          YourTexture
  75.       }
  76.    }
  77.    object {
  78.       sphere { <-1.952340  1.333330 -4.385020>  2.850000  }
  79.       texture {
  80.          YourTexture
  81.       }
  82.    }
  83.    object {
  84.       sphere { <-2.762590  2.000000 -3.802380>  2.800000  }
  85.       texture {
  86.          YourTexture
  87.       }
  88.    }
  89.    object {
  90.       sphere { <-3.418470  2.666670 -3.078000>  2.750000  }
  91.       texture {
  92.          YourTexture
  93.       }
  94.    }
  95.    object {
  96.       sphere { <-3.897110  3.333330 -2.250000>  2.700000  }
  97.       texture {
  98.          YourTexture
  99.       }
  100.    }
  101.    object {
  102.       sphere { <-4.184650  4.000000 -1.359670>  2.650000  }
  103.       texture {
  104.          YourTexture
  105.       }
  106.    }
  107.    object {
  108.       sphere { <-4.276440  4.666670 -0.449470>  2.600000  }
  109.       texture {
  110.          YourTexture
  111.       }
  112.    }
  113.    object {
  114.       sphere { <-4.176990  5.333330  0.439020>  2.550000  }
  115.       texture {
  116.          YourTexture
  117.       }
  118.    }
  119.    object {
  120.       sphere { <-3.899330  6.000000  1.266970>  2.500000  }
  121.       texture {
  122.          YourTexture
  123.       }
  124.    }
  125.    object {
  126.       sphere { <-3.464100  6.666670  2.000000>  2.450000  }
  127.       texture {
  128.          YourTexture
  129.       }
  130.    }
  131.    object {
  132.       sphere { <-2.898270  7.333330  2.609610>  2.400000  }
  133.       texture {
  134.          YourTexture
  135.       }
  136.    }
  137.    bounded_by {
  138.       sphere { <-1.963220  3.391665 -1.470195>  11.343572  }
  139.    }
  140.    /*
  141.    Fudge factor:  10.000000 percent 
  142.    Maximum x coordinate:  2.950000
  143.            y coordinate:  9.733330
  144.            z coordinate:  5.009610
  145.    Minimum x coordinate: -6.876440
  146.            y coordinate: -2.950000
  147.            z coordinate: -7.950000
  148.    Center  x coordinate: -1.963220
  149.            y coordinate:  3.391665
  150.            z coordinate: -1.470195
  151. */
  152. }
  153. #declare YourThing2 =
  154. composite {
  155.    object {
  156.       sphere { <-2.233580  8.000000  3.074270>  2.350000  }
  157.       texture {
  158.          YourTexture
  159.       }
  160.    }
  161.    object {
  162.       sphere { <-1.504930  8.666670  3.380120>  2.300000  }
  163.       texture {
  164.          YourTexture
  165.       }
  166.    }
  167.    object {
  168.       sphere { <-0.748480  9.333330  3.521330>  2.250000  }
  169.       texture {
  170.          YourTexture
  171.       }
  172.    }
  173.    object {
  174.       sphere { < 0.000000  10.000000  3.500000>  2.200000  }
  175.       texture {
  176.          YourTexture
  177.       }
  178.    }
  179.    object {
  180.       sphere { < 0.706900  10.666670  3.325700>  2.150000  }
  181.       texture {
  182.          YourTexture
  183.       }
  184.    }
  185.    object {
  186.       sphere { < 1.342230  11.333330  3.014700>  2.100000  }
  187.       texture {
  188.          YourTexture
  189.       }
  190.    }
  191.    object {
  192.       sphere { < 1.880910  12.000000  2.588860>  2.050000  }
  193.       texture {
  194.          YourTexture
  195.       }
  196.    }
  197.    object {
  198.       sphere { < 2.303750  12.666670  2.074310>  2.000000  }
  199.       texture {
  200.          YourTexture
  201.       }
  202.    }
  203.    object {
  204.       sphere { < 2.598080  13.333330  1.500000>  1.950000  }
  205.       texture {
  206.          YourTexture
  207.       }
  208.    }
  209.    object {
  210.       sphere { < 2.758070  14.000000  0.896150>  1.900000  }
  211.       texture {
  212.          YourTexture
  213.       }
  214.    }
  215.    object {
  216.       sphere { < 2.784660  14.666670  0.292680>  1.850000  }
  217.       texture {
  218.          YourTexture
  219.       }
  220.    }
  221.    object {
  222.       sphere { < 2.685210  15.333340 -0.282230>  1.800000  }
  223.       texture {
  224.          YourTexture
  225.       }
  226.    }
  227.    object {
  228.       sphere { < 2.472750  16.000000 -0.803450>  1.750000  }
  229.       texture {
  230.          YourTexture
  231.       }
  232.    }
  233.    object {
  234.       sphere { < 2.165070  16.666670 -1.250000>  1.700000  }
  235.       texture {
  236.          YourTexture
  237.       }
  238.    }
  239.    bounded_by {
  240.       sphere { < 0.037245  9.183335  1.410665>  12.283659  }
  241.    }
  242.    /*
  243.    Fudge factor:  10.000000 percent 
  244.    Maximum x coordinate:  4.658070
  245.            y coordinate:  18.366670
  246.            z coordinate:  5.771330
  247.    Minimum x coordinate: -4.583580
  248.            y coordinate:  0.000000
  249.            z coordinate: -2.950000
  250.    Center  x coordinate:  0.037245
  251.            y coordinate:  9.183335
  252.            z coordinate:  1.410665
  253. */
  254. }
  255. #declare YourThing3 =
  256. composite {
  257.    object {
  258.       sphere { < 1.783550  17.333330 -1.605920>  1.650000  }
  259.       texture {
  260.          YourTexture
  261.       }
  262.    }
  263.    object {
  264.       sphere { < 1.351910  18.000000 -1.860740>  1.600000  }
  265.       texture {
  266.          YourTexture
  267.       }
  268.    }
  269.    object {
  270.       sphere { < 0.894820  18.666670 -2.009800>  1.550000  }
  271.       texture {
  272.          YourTexture
  273.       }
  274.    }
  275.    object {
  276.       sphere { < 0.436610  19.333330 -2.054110>  1.500000  }
  277.       texture {
  278.          YourTexture
  279.       }
  280.    }
  281.    object {
  282.       sphere { <-0.000000  20.000000 -2.000000>  1.450000  }
  283.       texture {
  284.          YourTexture
  285.       }
  286.    }
  287.    object {
  288.       sphere { < 0.000000  20.000000 -2.000000>  1.418330  }
  289.       texture {
  290.          YourTexture
  291.       }
  292.    }
  293.    object {
  294.       sphere { <-0.401960  20.666670 -1.891090>  1.386670  }
  295.       texture {
  296.          YourTexture
  297.       }
  298.    }
  299.    object {
  300.       sphere { <-0.759240  21.333330 -1.705280>  1.355000  }
  301.       texture {
  302.          YourTexture
  303.       }
  304.    }
  305.    object {
  306.       sphere { <-1.058010  22.000000 -1.456230>  1.323330  }
  307.       texture {
  308.          YourTexture
  309.       }
  310.    }
  311.    object {
  312.       sphere { <-1.288120  22.666670 -1.159830>  1.291670  }
  313.       texture {
  314.          YourTexture
  315.       }
  316.    }
  317.    object {
  318.       sphere { <-1.443380  23.333330 -0.833330>  1.260000  }
  319.       texture {
  320.          YourTexture
  321.       }
  322.    }
  323.    object {
  324.       sphere { <-1.521690  24.000000 -0.494430>  1.228330  }
  325.       texture {
  326.          YourTexture
  327.       }
  328.    }
  329.    object {
  330.       sphere { <-1.524930  24.666670 -0.160280>  1.196670  }
  331.       texture {
  332.          YourTexture
  333.       }
  334.    }
  335.    object {
  336.       sphere { <-1.458630  25.333330  0.153310>  1.165000  }
  337.       texture {
  338.          YourTexture
  339.       }
  340.    }
  341.    bounded_by {
  342.       sphere { < 0.341765  13.249165 -1.120745>  15.204232  }
  343.    }
  344.    /*
  345.    Fudge factor:  10.000000 percent 
  346.    Maximum x coordinate:  3.433550
  347.            y coordinate:  26.498330
  348.            z coordinate:  1.318310
  349.    Minimum x coordinate: -2.750020
  350.            y coordinate:  0.000000
  351.            z coordinate: -3.559800
  352.    Center  x coordinate:  0.341765
  353.