home *** CD-ROM | disk | FTP | other *** search
/ Chestnut's Multimedia Mania / MM_MANIA.ISO / graphics / povscn20 / 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.            y coordinate:  13.249165
  354.            z coordinate: -1.120745
  355. */
  356. }
  357. #declare YourThing4 =
  358. composite {
  359.    object {
  360.       sphere { <-1.331480  26.000000  0.432620>  1.133330  }
  361.       texture {
  362.          YourTexture
  363.       }
  364.    }
  365.    object {
  366.       sphere { <-1.154700  26.666670  0.666670>  1.101670  }
  367.       texture {
  368.          YourTexture
  369.       }
  370.    }
  371.    object {
  372.       sphere { <-0.941320  27.333330  0.847570>  1.070000  }
  373.       texture {
  374.          YourTexture
  375.       }
  376.    }
  377.    object {
  378.       sphere { <-0.705340  28.000000  0.970820>  1.038330  }
  379.       texture {
  380.          YourTexture
  381.       }
  382.    }
  383.    object {
  384.       sphere { <-0.460970  28.666670  1.035350>  1.006670  }
  385.       texture {
  386.          YourTexture
  387.       }
  388.    }
  389.    object {
  390.       sphere { <-0.221770  29.333330  1.043360>  0.975000  }
  391.       texture {
  392.          YourTexture
  393.       }
  394.    }
  395.    object {
  396.       sphere { < 0.000000  30.000000  1.000000>  0.943330  }
  397.       texture {
  398.          YourTexture
  399.       }
  400.    }
  401.    object {
  402.       sphere { < 0.194050  30.666670  0.912940>  0.911670  }
  403.       texture {
  404.          YourTexture
  405.       }
  406.    }
  407.    object {
  408.       sphere { < 0.352500  31.333330  0.791740>  0.880000  }
  409.       texture {
  410.          YourTexture
  411.       }
  412.    }
  413.    object {
  414.       sphere { < 0.470230  32.000000  0.647210>  0.848330  }
  415.       texture {
  416.          YourTexture
  417.       }
  418.    }
  419.    object {
  420.       sphere { < 0.544970  32.666670  0.490700>  0.816670  }
  421.       texture {
  422.          YourTexture
  423.       }
  424.    }
  425.    object {
  426.       sphere { < 0.577350  33.333340  0.333330>  0.785000  }
  427.       texture {
  428.          YourTexture
  429.       }
  430.    }
  431.    object {
  432.       sphere { < 0.570630  34.000000  0.185410>  0.753330  }
  433.       texture {
  434.          YourTexture
  435.       }
  436.    }
  437.    object {
  438.       sphere { < 0.530410  34.666670  0.055750>  0.721670  }
  439.       texture {
  440.          YourTexture
  441.       }
  442.    }
  443.    object {
  444.       sphere { < 0.464110  35.333340 -0.048780>  0.690000  }
  445.       texture {
  446.          YourTexture
  447.       }
  448.    }
  449.    bounded_by {
  450.       sphere { <-0.551230  18.011670  0.651620>  19.982954  }
  451.    }
  452.    /*
  453.    Fudge factor:  10.000000 percent 
  454.    Maximum x coordinate:  1.362350
  455.            y coordinate:  36.023340
  456.            z coordinate:  2.042020
  457.    Minimum x coordinate: -2.464810
  458.            y coordinate:  0.000000
  459.            z coordinate: -0.738780
  460.    Center  x coordinate: -0.551230
  461.            y coordinate:  18.011670
  462.            z coordinate:  0.651620
  463. */
  464. }
  465. #declare YourThing5 =
  466. composite {
  467.    object {
  468.       sphere { < 0.380420  36.000000 -0.123610>  0.658330  }
  469.       texture {
  470.          YourTexture
  471.       }
  472.    }
  473.    object {
  474.       sphere { < 0.288670  36.666670 -0.166670>  0.626670  }
  475.       texture {
  476.          YourTexture
  477.       }
  478.    }
  479.    object {
  480.       sphere { < 0.198170  37.333340 -0.178430>  0.595000  }
  481.       texture {
  482.          YourTexture
  483.       }
  484.    }
  485.    object {
  486.       sphere { < 0.117560  38.000000 -0.161800>  0.563330  }
  487.       texture {
  488.          YourTexture
  489.       }
  490.    }
  491.    object {
  492.       sphere { < 0.054230  38.666670 -0.121810>  0.531670  }
  493.       texture {
  494.          YourTexture
  495.       }
  496.    }
  497.    object {
  498.       sphere { < 0.013860  39.333340 -0.065210>  0.500000  }
  499.       texture {
  500.          YourTexture
  501.       }
  502.    }
  503.    object {
  504.       sphere { < 0.000000  40.000000  0.000000>  0.468330  }
  505.       texture {
  506.          YourTexture
  507.       }
  508.    }
  509.    bounded_by {
  510.       sphere { < 0.276305  20.234165 -0.129310>  22.285351  }
  511.    }
  512.    /*
  513.    Fudge factor:  10.000000 percent 
  514.    Maximum x coordinate:  1.038750
  515.            y coordinate:  40.468330
  516.            z coordinate:  0.534720
  517.    Minimum x coordinate: -0.486140
  518.            y coordinate:  0.000000
  519.            z coordinate: -0.793340
  520.    Center  x coordinate:  0.276305
  521.            y coordinate:  20.234165
  522.            z coordinate: -0.129310
  523. */
  524. }
  525.  
  526. #declare stem1 = 
  527. composite {
  528.    composite { YourThing1  }
  529.    composite { YourThing2  }
  530.    composite { YourThing3  }
  531.    composite { YourThing4  }
  532.    composite { YourThing5  }
  533.    bounded_by {
  534.       sphere { <-1.109185  18.759165 -1.089335>  25.835200  }
  535.    }
  536.    /*
  537.    Fudge factor:  10.000000 percent 
  538.    Maximum x coordinate:  4.658070
  539.            y coordinate:  40.468330
  540.            z coordinate:  5.771330
  541.    Minimum x coordinate: -6.876440
  542.            y coordinate: -2.950000
  543.            z coordinate: -7.950000
  544.    Center  x coordinate: -1.109185
  545.            y coordinate:  18.759165
  546.            z coordinate: -1.089335
  547. */
  548. }
  549.  
  550. #version Stem1_Inc_Temp
  551.