home *** CD-ROM | disk | FTP | other *** search
/ Becoming a Computer Animator / COMPANIMATE.ISO / pc / utils / povshell / povshell.tpl < prev    next >
Encoding:
Text File  |  1994-05-17  |  3.4 KB  |  196 lines

  1. ;
  2. ; PovShell 2.2 Template Definition file
  3. ; Date released: 17-05-1994
  4. ;
  5. :Color_Map
  6. color_map {
  7.    [               ]
  8.    [               ]
  9.    [               ]
  10. }
  11. ;
  12. :COLORS.INC
  13. #include "colors.inc"
  14. ;
  15. :SHAPES.INC
  16. #include "shapes.inc"
  17. ;
  18. :Camera
  19. camera{
  20.   location < ,  ,  >
  21.   look_at < ,  ,  >
  22. }
  23. ;
  24. :Light_Source
  25. light_source { <  ,  ,   > color              }
  26. ;
  27. :Sphere
  28. sphere {
  29.   < ,  ,  >,
  30.   texture {
  31.     pigment {
  32.  
  33.  
  34.     }// end pigment
  35.   }// end texture
  36. }//end sphere
  37. ;
  38. :Scale
  39. scale <   ,   ,   >
  40. ;
  41. :Plane
  42. plane {
  43.   <  ,  ,  >,
  44.   pigment {
  45.  
  46.   }//end pigment
  47. }//end plane
  48. ;
  49. :Box
  50. box {
  51.   <  ,   ,   >, //near lower left corner
  52.   <  ,   ,   > //far upper right corner
  53.   pigment {
  54.  
  55.  
  56.   }//end pigment
  57. }//end box
  58. ;
  59. :Cone
  60. cone {
  61.   <  ,  ,  >,        //center and radius of one end
  62.   <  ,  ,  >,        //center and radius of the other end
  63.   pigment {
  64.  
  65.   }//end pigment
  66. }//end cone
  67.  
  68. ;
  69. :Cylinder
  70. cylinder {
  71.   <   ,   ,   >,     //center of one end
  72.   <   ,   ,   >,     //center of the other end
  73.                      // radius
  74.                      // remove end caps if desired
  75.   pigment {
  76.  
  77.  
  78.   }//end pigment
  79. }//end cylinder
  80. ;
  81. :SpotLight
  82. light_source {
  83.    <  ,   ,   >
  84.    color
  85.    spotlight
  86.    point_at <  ,  ,  >
  87.    tightness     //numeric required
  88.    radius        //numeric required
  89.    falloff      //numeric required
  90. }
  91. ;
  92. :Rotate
  93. rotate <  ,  ,  >
  94. ;
  95. :Area_Light
  96. light_source {
  97.    < ,   ,  > color
  98.  
  99.    area_light < ,  ,  >, < ,  ,   >,  ,
  100.    adaptive
  101.    jitter
  102. }
  103. ;
  104. :Translate
  105. translate <  ,   ,   >
  106. ;
  107. :Looks_Like
  108. light_source {
  109.    <   ,   ,    > color
  110.    looks_like {                }
  111. }
  112. ;
  113. :TEXTURES.INC
  114. #include "textures.inc"
  115. ;
  116. :Texture
  117. texture {
  118.    pigment {         }
  119.    normal {          }
  120.    finish {          }
  121. }
  122. :Image_Map
  123. pigment {
  124.    image_map {
  125.      FILE_TYPE "filename"
  126.    }
  127. }
  128. ;
  129. :Material_Map
  130. texture {
  131.    material_map {
  132.       "filename"
  133.       texture {        } // First used for index 0
  134.       texture {        } // Second texture used for index 1
  135.       texture {        } // Third texture used for index 2
  136.       texture {        } // Fourth texture used for index 3
  137.                          // and so on for however many used.
  138.       }
  139. }//end material map examples
  140. ;
  141. :Sky_Vector
  142. camera {
  143.    location <  ,  ,  >
  144.    sky      <  ,  ,  >
  145.    look_at  <  ,  ,  >
  146. }
  147. ;
  148. :Direction
  149. camera {
  150.    location  <  ,  ,  >
  151.    direction <  ,  ,  >
  152.    look_at   <  ,  ,  >
  153. }
  154. ;
  155. :Disc
  156. disc {
  157.    < ,   ,  >,      //center location
  158.    <  ,  ,   >,     //normal vector
  159.                     //radius
  160.                     //hole radius (optional)
  161.    pigment {                 }
  162. }
  163. ;
  164. :Bicubic
  165. bicubic_patch {
  166.    type
  167.    flatness
  168.    u_steps
  169.    v_steps
  170.    < ,  ,  >, < ,  ,  >, < ,  ,  >, < ,  ,  >,
  171.    < ,  ,  >, < ,  ,  >, < ,  ,  >, < ,  ,  >,
  172.    < ,  ,  >, < ,  ,  >, < ,  ,  >, < ,  ,  >,
  173.    < ,  ,  >, < ,  ,  >, < ,  ,  >, < ,  ,  >,
  174. }
  175. ;
  176. :Triangle
  177. triangle { < ,  ,  >, < ,  ,  >, < ,  ,  > }
  178. ;
  179. :Height_Field
  180. /*
  181. There are three types files which can define a height field as follows:
  182. */
  183. // height_field { gif "        .gif" } remove prefix // to use
  184. // height_field { tga "        .tga" }
  185. // height_field { pot "        .pot" }
  186. ;
  187. :Blob
  188. blob {
  189.    threshold
  190.    component    ,    , <    ,    ,   >
  191.    component    ,    , <     ,       ,   >
  192.    component    ,    , <     ,       ,   >
  193.    scale
  194. }
  195. ;
  196.