home *** CD-ROM | disk | FTP | other *** search
/ Stars of Shareware: Raytrace & Morphing / SOS-RAYTRACE.ISO / programm / utility / dos / povshe23 / povshell.tpl < prev    next >
Encoding:
Text File  |  1994-07-12  |  3.4 KB  |  195 lines

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