home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 3 / TheARMClub_PDCD3.iso / hensa / desktop / povfront_1 / !POVray3 / !Help < prev    next >
Text File  |  1997-06-08  |  11KB  |  213 lines

  1. Persistence of Vision V3 Front-end Program
  2. ==========================================
  3.  
  4. Introduction 
  5. ------------ 
  6.  
  7. This application provides a convenient desktop based front end to the
  8. Persistence of Vision Ray Tracer. It allows you to control virtually all of
  9. the options available under POV from icons and menus, and makes POV a lot
  10. easier to use under RISC OS. In the documentation below, POV or 'the
  11. executable' refers to the Persistence of Vision Public Domain Ray Tracer
  12. Program. The Persistence of Vision ray tracer is copyright by the 
  13. POV team, and you should read the documentation accompanying it for
  14. more information. '!POVray3' refers to this application. I have not been
  15. able to test !POVray3 under RISC OS 2, but as far as I know, it should work
  16. correctly under both RISC OS 2 and RISC OS 3. Note, however, that under
  17. RISC OS 2, the enhanced 'features' such as 3D windows and solid icon
  18. drags (see below) will not be available. I'm afraid I don't have the money
  19. to buy a Risc PC so I have no idea whether it will work on one. The
  20. templates are set up so as to remain properly aligned when used with a
  21. proportional font, so it theoretically should work on Risc PC...
  22.  
  23. What's not included
  24. -------------------
  25.  
  26. As well as this program, you'll need a copy of the POV program itself. This
  27. is normally run from the command line - the front end program simply passes
  28. the parameters which you select to it. A copy of the POV program should be
  29. available from many PD sites - you will need version 3.x (currently V3.0 at
  30. time of writing). If you have Internet/JANET access, then it is available
  31. by ftp from micros.hensa.ac.uk, in the directory (at the time of writing)
  32. micros/arch/a/a235. This contains a number of files, including the
  33. instruction for the ray tracer itself (as opposed to this, which is the 
  34. instructions for the front end!), and the ray tracer executable.
  35.  
  36. Alternatively, if you have a C compiler, you can get the source code by ftp 
  37. from alfred.ccs.carleton.ca, and compile it
  38. yourself. You will also need a copy of the include files, again, these
  39. should be available from the places mentioned above. 
  40.  
  41. Setting up
  42. ----------
  43.  
  44. As mentioned above, you'll need a copy of the executable, if you haven't
  45. already got one. This is the ray tracer itself, and will take the form
  46. of an 'Absolute' file (one with a dark blue icon with an Archimedes 'A').
  47. Double clicking on it will show a small *Command window in the middle
  48. of the screen with some information about it, probably followed by
  49. an error message. 
  50.  
  51. Assuming you've got a copy of the POV executable program, you'll need to
  52. install it. Open the !POVray3 directory by double clicking on it with
  53. [SHIFT] held down, and copy the executable into it by dragging it using the
  54. Select button. !POVray3 expects the executable to have a filename "POVray",
  55. so if this is not the case then rename it. If you have a floating point
  56. unit, use an executable compiled using ylib.
  57.  
  58. Running !POVray3
  59. ---------------
  60.  
  61. Double click the icon as normal to run. !POVray3 will then install its icon
  62. onto the icon bar.
  63.  
  64. Open the main window by clicking on the icon, or, alternatively, by dragging
  65. a POV scene description file (filetype &376 or &FFF (text)) onto the icon.
  66. You can also load a type &376 file by double clicking it.
  67.  
  68. Most of the icons in the window are fairly self explanatory. The width and
  69. height are specified by clicking on the appropriate writeable icon. Clicking
  70. on the 'Partial' icon will select a partial trace. Specify the start and end
  71. positions in the writeable icons.
  72.  
  73. If you have previously aborted a trace, clicking on the 'Continue' icon will
  74. cause the ray tracer to read in the aborted file and continue it. This
  75. option is only available if you are NOT using the 'Use save box' option.
  76. This will be explained later...
  77.  
  78. The V1.00 icon, if selected, will cause the ray tracer to use input
  79. compatible with POV version 1.00, to enable you to trace scene files
  80. produced for the earlier version of POV.
  81.  
  82. !POVray3 has two modes of operation. If the 'Use save box' icon is selected,
  83. then when the trace has been completed, the image can be saved in the usual
  84. RISC OS way using the save option from the main menu (accessed by clicking
  85. Menu in the main window) and dragging the save icon. This method requires
  86. there to be enough space in the scrap directory to hold the final image.
  87. The save icon displayed (and hence the filetype of the final output) depends
  88. upon the output format selected - Targa and DKB files have their own
  89. filetypes. If you have seleced 'Raw RGB files', then the save box will
  90. represent a directory - dragging this creates a directory containing the
  91. separate red green and blue files.
  92.  
  93. The other mode applies if the 'Use save box' icon is not selected. In this
  94. case, the image output is saved into the directory specified in the 'Path'
  95. sub-menu, under the same leaf name as the input file. If, for example, you
  96. set 'Path' to 'ADFS::0.$', then trace a file called 'Scene1', the output
  97. will go to a file 'ADFS::0.$.Scene1'. You can use system
  98. variables here (as an example, the initial default uses the variable
  99. <POVpicture$Dir>), but make sure they have been defined before you use
  100. them (invalid pathnames should (hopefully) be detected...). As before,
  101. filetype is set according to the format selection, with 'Raw RGB files'
  102. creating a directory containing the raw files. As you may appreciate from
  103. this, !POVray3 can only know the precise output filename before the trace if
  104. 'Use save box' mode is off (using a save box, you don't determine the save
  105. name until the trace is finished). This is the reason you can't use
  106. 'Continue' with a save box - the ray tracer doesn't know where to find the
  107. output file to read it in.
  108.  
  109. The format of the output is specified by the top right group of radio icons.
  110. The group of icons below this select the quality of the output.
  111. Anti-aliasing and jittering are selected by the icons below this.
  112.  
  113. The rays per pixel icon specifies the number of rays per pixel when
  114. anti-aliasing, and the frame clock icon specifies the value of the frame
  115. clock variable supplied to the ray tracer.
  116.  
  117. From the main menu, you can select the input library to search for the
  118. #include files, the path (for output if 'Use save box' mode is off), the
  119. output buffer, and bounding slabs. The Path, Buffer, and Use slabs menu items
  120. are ticked if selected. If unticked, then that option is not used in tracing
  121. (eg. bounding slabs are only used if the option is ticked in the menu).
  122.  
  123. Normally, ray tracing takes over all of the processor time. If however you
  124. select 'Task window' from the main menu, the ray tracer will be run in a
  125. Task Window, and hence multi-task. If this is selected, however, it is not
  126. possible to use the save box option, and verbose output is not provided
  127. during the trace. Also, the filetype of the output file will not be set
  128. automatically.
  129.  
  130. The start and cancel icons are probably obvious.....
  131.  
  132. Clicking menu on the icon bar icon will open another menu. From this, you
  133. can quit the application, or save the defaults. This will save the status of
  134. the width, height, save box, rays per pixel, format, quality, anti-aliasing,
  135. jittering, library, output path, and bounding slabs into a default file.
  136. These values are restored whenever the application is started. 
  137.  
  138. If something goes wrong during the trace, try increasing the size of the
  139. 'Next' slot in the task manager before clicking on 'Start'.
  140.  
  141. !POVray3 has two sets of window templates; the normal ones, and RISC OS 3
  142. !NewLook style windows. These are automatically selected according to 
  143. whether bit 1 of CMOS byte &8C is set - if you have RISC OS 3.1 or better
  144. and have selected 3D windows in !NewLook, then !POVray3 will use 3D
  145. windows, otherwise it will use normal 2D windows. RISC OS 3 support also
  146. includes the use of solid icon drags - if you have the DragASprite bit
  147. in CMOS RAM set, then !POVray3 will use DragASprite solid icon drags in the
  148. save boxes.
  149.  
  150. For more information on POV, refer to the POV documentation, which will
  151. explain the various options and parameters described above in greater
  152. detail.
  153.  
  154. Addendum to !POVray3 documentation
  155. ----------------------------------
  156.  
  157. This document is modified from that which was supplied with an earlier
  158. version of this program, known as !POVray2. This previous version was a front
  159. end for POV V2.2. The current version, !POVray3 is basically an update of the
  160. earlier version. It has some important modifications, however, to support the
  161. different file naming convention which are used in the version of POV 3
  162. available from HENSA. The POV 3 executable appears to expect to find
  163. directories named after the three letter DOS / Unix style extension; for
  164. example, Targa files go into a directory called TGA. This version of !POVray3
  165. supports this transparently via the 'Unix names' menu option, which should
  166. always be switched on. Support for POV 3's radiosity feature is also provided
  167. by means of an extra radio button to select it. 
  168.  
  169. *** Note: This version was produced to address the problem of interfacing
  170. *** the version of POV 3.0 on HENSA, using the Unix names menu option.
  171. *** It hasn't been tested with any other version, and hence may not
  172. *** (will probably not!) work with them. If another port of POV appears
  173. *** which handles file names differently, then a new version of !POVray3
  174. *** may be released to handle it.
  175.  
  176. This version of !POVray3 is kind of a stop-gap - I produced it when I found
  177. that !POVray2 wouldn't work with POV 3 due to the different file naming
  178. convention. I eventually intend to completely re-write this program to give
  179. support for the !POVray3 animation options, and to improve the multi-tasking
  180. support. That, however, is a little way into the future...
  181.  
  182. Further Information
  183. -------------------
  184.  
  185. !POVray3 is simply a front end for the Persistence of Vision Ray Tracer, and
  186. is in no way a part of the POV distribution; the POV team are not
  187. responsible in any way for it. The program is freeware - you may distribute
  188. copies of it by any means, provided that:
  189.  
  190. 1.) It is distributed as is, with no modifications to any part of it. This
  191.     document must be included.
  192. 2.) You may not make any charge for it except to cover the cost of disc
  193.     copying and postage and packing etc.
  194.  
  195. The POV executable file is part of a seperate distribution, and has its own 
  196. rules which cover distribution - see the relevant parts of the POV 
  197. documentation. It should not be distributed with this program unless those
  198. rules are complied with. 
  199.  
  200. No claim is made as to the suitability of this program, and I am not in
  201. any way responsible for any loss occurring through its use.
  202.  
  203.  
  204. Well, now that's that out of the way, I hope you find this program useful -
  205. I certainly find it easier than typing out voluminous command lines each
  206. time. I've tried to debug it thoroughly, but I'll bet there are hundreds of
  207. 'undocumented features' floating around. Ah well.... You may send me any
  208. reports of bugs, or comments and suggestions by e-mail as below (this
  209. address is probably only applicable until September 1997).
  210.  
  211. Brian Ruth, March 1997
  212.  
  213. E-mail: b.ruth@ucl.ac.uk