home *** CD-ROM | disk | FTP | other *** search
/ Mega A/V / mega_av.zip / mega_av / GRAPHUTL / POVSCN.ZIP / LEVEL3.ZIP / FISH13.ZIP / STEM1.INC < prev    next >
Text File  |  1992-07-03  |  13KB  |  547 lines

  1. // Persistence Of Vision Raytracer version 1.0 sample file.
  2.  
  3. //--------------------- Spiral Twist or SexWorms
  4.  
  5.  
  6. #declare ccc = texture {
  7.    marble
  8.    turbulence 0.4
  9.    colour_map {
  10.       [0.000 0.210   colour red  0.333  green  0.467  blue  0.404  alpha  0.000
  11.       colour red  0.341  green  0.302  blue  0.039  alpha  0.000]
  12.       [0.210 0.555   colour red  0.341  green  0.302  blue  0.039  alpha  0.000
  13.       colour red  0.584  green  0.388  blue  0.373  alpha  0.000]
  14.       [0.555 0.773   colour red  0.584  green  0.388  blue  0.373  alpha  0.000
  15.       colour red  0.816  green  0.647  blue  0.518  alpha  0.000]
  16.       [0.773 1.001   colour red  0.816  green  0.647  blue  0.518  alpha  0.000
  17.       colour red  0.333  green  0.467  blue  0.404  alpha  0.000]
  18.  
  19.    }
  20.    ambient 0.2 diffuse 0.5 phong 1.0 phong_size 80
  21. }
  22.  
  23. #declare YourTexture =    /* change to your preference */
  24. texture {
  25.    ccc scale <10 20 10>
  26. }
  27.  
  28. #declare Dot =
  29. quadric {
  30.    < 1.0  1.0  1.0>
  31.    < 0.0  0.0  0.0>
  32.    < 0.0  0.0  0.0>
  33.    -1.0
  34. }
  35.  
  36. #declare Connector_1 = 
  37. object {
  38.    quadric {
  39.       < 0.0  1.0  1.0>
  40.       < 0.0  0.0  0.0>
  41.       < 0.0  0.0  0.0>
  42.       -1.0
  43.    }
  44.    clipped_by {
  45.       plane { < 1.0  0.0  0.0> 1.0  }
  46.       plane { <-1.0  0.0  0.0> 0.0  }
  47.    }
  48. }
  49.  
  50. #declare Connector_2 =
  51. quadric {
  52.    < 1.0 -1.0  1.0>
  53.    < 0.0  0.0  0.0>
  54.    < 0.0  0.0  0.0>
  55.    0.0
  56.    rotate < 0.0  0.0  90.0>
  57. }
  58.  
  59. /*----------------------------------------------------------------------------*/
  60.  
  61. #declare YourThing1 =
  62. composite {
  63.    object {
  64.       sphere { < 0.000000  0.000000 -5.000000>  2.950000  }
  65.       texture {
  66.          YourTexture
  67.       }
  68.    }
  69.    object {
  70.       sphere { <-1.018770  0.666670 -4.792920>  2.900000  }
  71.       texture {
  72.          YourTexture
  73.       }
  74.    }
  75.    object {
  76.       sphere { <-1.952340  1.333330 -4.385020>  2.850000  }
  77.       texture {
  78.          YourTexture
  79.       }
  80.    }
  81.    object {
  82.       sphere { <-2.762590  2.000000 -3.802380>  2.800000  }
  83.       texture {
  84.          YourTexture
  85.       }
  86.    }
  87.    object {
  88.       sphere { <-3.418470  2.666670 -3.078000>  2.750000  }
  89.       texture {
  90.          YourTexture
  91.       }
  92.    }
  93.    object {
  94.       sphere { <-3.897110  3.333330 -2.250000>  2.700000  }
  95.       texture {
  96.          YourTexture
  97.       }
  98.    }
  99.    object {
  100.       sphere { <-4.184650  4.000000 -1.359670>  2.650000  }
  101.       texture {
  102.          YourTexture
  103.       }
  104.    }
  105.    object {
  106.       sphere { <-4.276440  4.666670 -0.449470>  2.600000  }
  107.       texture {
  108.          YourTexture
  109.       }
  110.    }
  111.    object {
  112.       sphere { <-4.176990  5.333330  0.439020>  2.550000  }
  113.       texture {
  114.          YourTexture
  115.       }
  116.    }
  117.    object {
  118.       sphere { <-3.899330  6.000000  1.266970>  2.500000  }
  119.       texture {
  120.          YourTexture
  121.       }
  122.    }
  123.    object {
  124.       sphere { <-3.464100  6.666670  2.000000>  2.450000  }
  125.       texture {
  126.          YourTexture
  127.       }
  128.    }
  129.    object {
  130.       sphere { <-2.898270  7.333330  2.609610>  2.400000  }
  131.       texture {
  132.          YourTexture
  133.       }
  134.    }
  135.    bounded_by {
  136.       sphere { <-1.963220  3.391665 -1.470195>  11.343572  }
  137.    }
  138.    /*
  139.    Fudge factor:  10.000000 percent 
  140.    Maximum x coordinate:  2.950000
  141.            y coordinate:  9.733330
  142.            z coordinate:  5.009610
  143.    Minimum x coordinate: -6.876440
  144.            y coordinate: -2.950000
  145.            z coordinate: -7.950000
  146.    Center  x coordinate: -1.963220
  147.            y coordinate:  3.391665
  148.            z coordinate: -1.470195
  149. */
  150. }
  151. #declare YourThing2 =
  152. composite {
  153.    object {
  154.       sphere { <-2.233580  8.000000  3.074270>  2.350000  }
  155.       texture {
  156.          YourTexture
  157.       }
  158.    }
  159.    object {
  160.       sphere { <-1.504930  8.666670  3.380120>  2.300000  }
  161.       texture {
  162.          YourTexture
  163.       }
  164.    }
  165.    object {
  166.       sphere { <-0.748480  9.333330  3.521330>  2.250000  }
  167.       texture {
  168.          YourTexture
  169.       }
  170.    }
  171.    object {
  172.       sphere { < 0.000000  10.000000  3.500000>  2.200000  }
  173.       texture {
  174.          YourTexture
  175.       }
  176.    }
  177.    object {
  178.       sphere { < 0.706900  10.666670  3.325700>  2.150000  }
  179.       texture {
  180.          YourTexture
  181.       }
  182.    }
  183.    object {
  184.       sphere { < 1.342230  11.333330  3.014700>  2.100000  }
  185.       texture {
  186.          YourTexture
  187.       }
  188.    }
  189.    object {
  190.       sphere { < 1.880910  12.000000  2.588860>  2.050000  }
  191.       texture {
  192.          YourTexture
  193.       }
  194.    }
  195.    object {
  196.       sphere { < 2.303750  12.666670  2.074310>  2.000000  }
  197.       texture {
  198.          YourTexture
  199.       }
  200.    }
  201.    object {
  202.       sphere { < 2.598080  13.333330  1.500000>  1.950000  }
  203.       texture {
  204.          YourTexture
  205.       }
  206.    }
  207.    object {
  208.       sphere { < 2.758070  14.000000  0.896150>  1.900000  }
  209.       texture {
  210.          YourTexture
  211.       }
  212.    }
  213.    object {
  214.       sphere { < 2.784660  14.666670  0.292680>  1.850000  }
  215.       texture {
  216.          YourTexture
  217.       }
  218.    }
  219.    object {
  220.       sphere { < 2.685210  15.333340 -0.282230>  1.800000  }
  221.       texture {
  222.          YourTexture
  223.       }
  224.    }
  225.    object {
  226.       sphere { < 2.472750  16.000000 -0.803450>  1.750000  }
  227.       texture {
  228.          YourTexture
  229.       }
  230.    }
  231.    object {
  232.       sphere { < 2.165070  16.666670 -1.250000>  1.700000  }
  233.       texture {
  234.          YourTexture
  235.       }
  236.    }
  237.    bounded_by {
  238.       sphere { < 0.037245  9.183335  1.410665>  12.283659  }
  239.    }
  240.    /*
  241.    Fudge factor:  10.000000 percent 
  242.    Maximum x coordinate:  4.658070
  243.            y coordinate:  18.366670
  244.            z coordinate:  5.771330
  245.    Minimum x coordinate: -4.583580
  246.            y coordinate:  0.000000
  247.            z coordinate: -2.950000
  248.    Center  x coordinate:  0.037245
  249.            y coordinate:  9.183335
  250.            z coordinate:  1.410665
  251. */
  252. }
  253. #declare YourThing3 =
  254. composite {
  255.    object {
  256.       sphere { < 1.783550  17.333330 -1.605920>  1.650000  }
  257.       texture {
  258.          YourTexture
  259.       }
  260.    }
  261.    object {
  262.       sphere { < 1.351910  18.000000 -1.860740>  1.600000  }
  263.       texture {
  264.          YourTexture
  265.       }
  266.    }
  267.    object {
  268.       sphere { < 0.894820  18.666670 -2.009800>  1.550000  }
  269.       texture {
  270.          YourTexture
  271.       }
  272.    }
  273.    object {
  274.       sphere { < 0.436610  19.333330 -2.054110>  1.500000  }
  275.       texture {
  276.          YourTexture
  277.       }
  278.    }
  279.    object {
  280.       sphere { <-0.000000  20.000000 -2.000000>  1.450000  }
  281.       texture {
  282.          YourTexture
  283.       }
  284.    }
  285.    object {
  286.       sphere { < 0.000000  20.000000 -2.000000>  1.418330  }
  287.       texture {
  288.          YourTexture
  289.       }
  290.    }
  291.    object {
  292.       sphere { <-0.401960  20.666670 -1.891090>  1.386670  }
  293.       texture {
  294.          YourTexture
  295.       }
  296.    }
  297.    object {
  298.       sphere { <-0.759240  21.333330 -1.705280>  1.355000  }
  299.       texture {
  300.          YourTexture
  301.       }
  302.    }
  303.    object {
  304.       sphere { <-1.058010  22.000000 -1.456230>  1.323330  }
  305.       texture {
  306.          YourTexture
  307.       }
  308.    }
  309.    object {
  310.       sphere { <-1.288120  22.666670 -1.159830>  1.291670  }
  311.       texture {
  312.          YourTexture
  313.       }
  314.    }
  315.    object {
  316.       sphere { <-1.443380  23.333330 -0.833330>  1.260000  }
  317.       texture {
  318.          YourTexture
  319.       }
  320.    }
  321.    object {
  322.       sphere { <-1.521690  24.000000 -0.494430>  1.228330  }
  323.       texture {
  324.          YourTexture
  325.       }
  326.    }
  327.    object {
  328.       sphere { <-1.524930  24.666670 -0.160280>  1.196670  }
  329.       texture {
  330.          YourTexture
  331.       }
  332.    }
  333.    object {
  334.       sphere { <-1.458630  25.333330  0.153310>  1.165000  }
  335.       texture {
  336.          YourTexture
  337.       }
  338.    }
  339.    bounded_by {
  340.       sphere { < 0.341765  13.249165 -1.120745>  15.204232  }
  341.    }
  342.    /*
  343.    Fudge factor:  10.000000 percent 
  344.    Maximum x coordinate:  3.433550
  345.            y coordinate:  26.498330
  346.            z coordinate:  1.318310
  347.    Minimum x coordinate: -2.750020
  348.            y coordinate:  0.000000
  349.            z coordinate: -3.559800
  350.    Center  x coordinate:  0.341765
  351.            y coordinate:  13.249165
  352.            z coordinate: -1.120745
  353. */
  354. }
  355. #declare YourThing4 =
  356. composite {
  357.    object {
  358.       sphere { <-1.331480  26.000000  0.432620>  1.133330  }
  359.       texture {
  360.          YourTexture
  361.       }
  362.    }
  363.    object {
  364.       sphere { <-1.154700  26.666670  0.666670>  1.101670  }
  365.       texture {
  366.          YourTexture
  367.       }
  368.    }
  369.    object {
  370.       sphere { <-0.941320  27.333330  0.847570>  1.070000  }
  371.       texture {
  372.          YourTexture
  373.       }
  374.    }
  375.    object {
  376.       sphere { <-0.705340  28.000000  0.970820>  1.038330  }
  377.       texture {
  378.          YourTexture
  379.       }
  380.    }
  381.    object {
  382.       sphere { <-0.460970  28.666670  1.035350>  1.006670  }
  383.       texture {
  384.          YourTexture
  385.       }
  386.    }
  387.    object {
  388.       sphere { <-0.221770  29.333330  1.043360>  0.975000  }
  389.       texture {
  390.          YourTexture
  391.       }
  392.    }
  393.    object {
  394.       sphere { < 0.000000  30.000000  1.000000>  0.943330  }
  395.       texture {
  396.          YourTexture
  397.       }
  398.    }
  399.    object {
  400.       sphere { < 0.194050  30.666670  0.912940>  0.911670  }
  401.       texture {
  402.          YourTexture
  403.       }
  404.    }
  405.    object {
  406.       sphere { < 0.352500  31.333330  0.791740>  0.880000  }
  407.       texture {
  408.          YourTexture
  409.       }
  410.    }
  411.    object {
  412.       sphere { < 0.470230  32.000000  0.647210>  0.848330  }
  413.       texture {
  414.          YourTexture
  415.       }
  416.    }
  417.    object {
  418.       sphere { < 0.544970  32.666670  0.490700>  0.816670  }
  419.       texture {
  420.          YourTexture
  421.       }
  422.    }
  423.    object {
  424.       sphere { < 0.577350  33.333340  0.333330>  0.785000  }
  425.       texture {
  426.          YourTexture
  427.       }
  428.    }
  429.    object {
  430.       sphere { < 0.570630  34.000000  0.185410>  0.753330  }
  431.       texture {
  432.          YourTexture
  433.       }
  434.    }
  435.    object {
  436.       sphere { < 0.530410  34.666670  0.055750>  0.721670  }
  437.       texture {
  438.          YourTexture
  439.       }
  440.    }
  441.    object {
  442.       sphere { < 0.464110  35.333340 -0.048780>  0.690000  }
  443.       texture {
  444.          YourTexture
  445.       }
  446.    }
  447.    bounded_by {
  448.       sphere { <-0.551230  18.011670  0.651620>  19.982954  }
  449.    }
  450.    /*
  451.    Fudge factor:  10.000000 percent 
  452.    Maximum x coordinate:  1.362350
  453.            y coordinate:  36.023340
  454.            z coordinate:  2.042020
  455.    Minimum x coordinate: -2.464810
  456.            y coordinate:  0.000000
  457.            z coordinate: -0.738780
  458.    Center  x coordinate: -0.551230
  459.            y coordinate:  18.011670
  460.            z coordinate:  0.651620
  461. */
  462. }
  463. #declare YourThing5 =
  464. composite {
  465.    object {
  466.       sphere { < 0.380420  36.000000 -0.123610>  0.658330  }
  467.       texture {
  468.          YourTexture
  469.       }
  470.    }
  471.    object {
  472.       sphere { < 0.288670  36.666670 -0.166670>  0.626670  }
  473.       texture {
  474.          YourTexture
  475.       }
  476.    }
  477.    object {
  478.       sphere { < 0.198170  37.333340 -0.178430>  0.595000  }
  479.       texture {
  480.          YourTexture
  481.       }
  482.    }
  483.    object {
  484.       sphere { < 0.117560  38.000000 -0.161800>  0.563330  }
  485.       texture {
  486.          YourTexture
  487.       }
  488.    }
  489.    object {
  490.       sphere { < 0.054230  38.666670 -0.121810>  0.531670  }
  491.       texture {
  492.          YourTexture
  493.       }
  494.    }
  495.    object {
  496.       sphere { < 0.013860  39.333340 -0.065210>  0.500000  }
  497.       texture {
  498.          YourTexture
  499.       }
  500.    }
  501.    object {
  502.       sphere { < 0.000000  40.000000  0.000000>  0.468330  }
  503.       texture {
  504.          YourTexture
  505.       }
  506.    }
  507.    bounded_by {
  508.       sphere { < 0.276305  20.234165 -0.129310>  22.285351  }
  509.    }
  510.    /*
  511.    Fudge factor:  10.000000 percent 
  512.    Maximum x coordinate:  1.038750
  513.            y coordinate:  40.468330
  514.            z coordinate:  0.534720
  515.    Minimum x coordinate: -0.486140
  516.            y coordinate:  0.000000
  517.            z coordinate: -0.793340
  518.    Center  x coordinate:  0.276305
  519.            y coordinate:  20.234165
  520.            z coordinate: -0.129310
  521. */
  522. }
  523.  
  524. #declare stem1 = 
  525. composite {
  526.    composite { YourThing1  }
  527.    composite { YourThing2  }
  528.    composite { YourThing3  }
  529.    composite { YourThing4  }
  530.    composite { YourThing5  }
  531.    bounded_by {
  532.       sphere { <-1.109185  18.759165 -1.089335>  25.835200  }
  533.    }
  534.    /*
  535.    Fudge factor:  10.000000 percent 
  536.    Maximum x coordinate:  4.658070
  537.            y coordinate:  40.468330
  538.            z coordinate:  5.771330
  539.    Minimum x coordinate: -6.876440
  540.            y coordinate: -2.950000
  541.            z coordinate: -7.950000
  542.    Center  x coordinate: -1.109185
  543.            y coordinate:  18.759165
  544.            z coordinate: -1.089335
  545. */
  546. }
  547.