home *** CD-ROM | disk | FTP | other *** search
/ APDL Public Domain 1 / APDL_PD1A.iso / raytrace / pov_10 / docs / poverr < prev    next >
Encoding:
Text File  |  1992-07-26  |  16.2 KB  |  405 lines

  1. Persistence of Vision Raytracer
  2. Version 1.0 
  3. Run-Time Error Documentation
  4. -------------------------------
  5. By Eduard Schwan & Drew Wells
  6.  
  7. This document lists all the errors that POV-Ray might generate while 
  8. trying to read and render a scene file and attempts to give a better 
  9. explanation of why the error occured than the program provides at 
  10. run-time.
  11.  
  12. If a run-time error is not found in this list, it is probably a system 
  13. or executable error. These errors are not handled by POV-Ray, rather, 
  14. the system takes over and generates the error and aborts the program. 
  15. These messages usually look quite different than the normal POV-Ray 
  16. error messages and should be easy to recognize. Other than math errors, 
  17. they usually indicate that you need to fix somthing with your computer, 
  18. rather than a bug in POV-Ray.
  19.  
  20. MATH ERRORS: POV-Ray renders images using complex mathematical 
  21.              routines, and sometimes these calculations exceed the 
  22.              capabilities of the computer. When this happens a math 
  23.              error is generated that usually reads something like, 
  24.              floating point error, or stack underflow.
  25.              Often this can be solved by changing the viewpoint 
  26.              slightly or changing parameters slightly.
  27.              
  28.              DIVIDE BY ZERO: There are two easy ways to generate a 
  29.              divide by zero error that you should avoid,
  30.                 
  31.                 SCALE BY ZERO: Never scale any component by zero ie. 
  32.                    scale <2 0 2> will cause an error To leave a 
  33.                    component the same size, scale by 1.
  34.                 ROUGHNESS ZERO: The roughness component must be greater 
  35.                    than zero. And on some computers must be greater 
  36.                    than .001 or it will cause a stack underflow error 
  37.                    to be generated.
  38.              
  39.              STACK UNDERFLOW: The most common cause of this error is 
  40.              specifying a roughness value that is too small for your 
  41.              computer to handle. It can also be caused by a faulty math 
  42.              processor or just math that is too difficult for your 
  43.              computer type.
  44.   
  45. OTHER ERRORS: The general philosophy of POV-Ray is that the user knows 
  46.               what they want to do and the program shouldn't prevent 
  47.               the user from trying any values for parameters. This 
  48.               allows the user to do things that were unanticipated by 
  49.               the program's authors and often results in a new and 
  50.               exciting way of using the program (like negative colored 
  51.               lights) but it can also cause errors like the low 
  52.               roughness\stack underflow error. The program could have 
  53.               been made more 'safe', but it would have limited its 
  54.               power to do so. Consequently, the program allows freedom 
  55.               and allows the freedom to make mistakes.
  56.  
  57.               A good example of this is using height fields as clipping 
  58.               objects (see HFCLIP.POV). This was not supposed to be 
  59.               possible, but it sometimes works and can be used to 
  60.               create exciting effects. When it doesn't work, though, it 
  61.               aborts the program with a very cryptic error.
  62.               
  63.               So, feel free to experiment outside the bounds of what 
  64.               the documentation says is possible, but be aware that 
  65.               this could cause errors.
  66.  
  67. ----------------------------------------------------------------------------  
  68.    Alphabetical List of Errors Generated by POV-Ray 
  69. ----------------------------------------------------------------------------
  70.   
  71. 'X' expected but 'Y' found instead
  72. ----------------------------------
  73. General syntax error. 'Y' was not expected at this place in the scene 
  74. file. This often indicates a missing brace.
  75.  
  76. ALPHA colour register value out of range.
  77. -----------------------------------------
  78. The color index given for alpha was outside the range of color entries 
  79. for the image's palette.
  80.  
  81. Bad Node type at depth N
  82. ------------------------
  83. Internal data corruption error in Bezier patch code. This error 
  84. shouldn't normally occur.
  85.  
  86. Bad default file format.  Offending char: (C), val: D.
  87. ------------------------------------------------------
  88. This error should never occur with the released executables. If it 
  89. does, you may have a corrupted exe file or a virus. If the file is not 
  90. corrupted and a virus is not detected, please report this problem to 
  91. the POV-Team. If you are compiling POV-Ray on your own computer, this 
  92. error means that you have changed the default file format specified in 
  93. the source to an incorrect value.
  94.  
  95. Bad patch type
  96. --------------
  97. Bezier Patch was not within range (1...4)
  98.  
  99. Can't apply ALPHA to a non colour-mapped image
  100. -----------------------------------------------
  101. A color mapped image is one where the colors used in the image are 
  102. stored in a palette. The image data itself is a list of numbers 
  103. referencing that palette. GIF images are color mapped, as are most IFF 
  104. images. Targa (TGA) and dump images are not color mapped, so ALPHA 
  105. cannot be used with them.
  106.  
  107. Cannot allocate memory for ...
  108. ------------------------------
  109. This is a general purpose error that can occur in many places in 
  110. POV-Ray.  It just means POV-Ray ran out of memory while trying to build 
  111. one of the scene's internal data structures.  Depending on the 
  112. particular object it was working on, you may want to increase POV-Ray's 
  113. memory allocation, or reduce the size or complexity of the scene. You 
  114. can often reduce memory usage easily by removing unecessary include 
  115. files, or pasting the needed definitions from the include file straight 
  116. into your scene.
  117.  
  118. Cannot open GIF file FILE_NAME
  119. ------------------------------
  120. Cannot open IFF file FILE_NAME
  121. ------------------------------
  122. Cannot open Targa file FILE_NAME
  123. --------------------------------
  124. Cannot open dump file FILE_NAME
  125. -------------------------------
  126. Cannot open include file: FILE_NAME
  127. -----------------------------------
  128. Cannot find the file named FILE_NAME in the current directory, or in 
  129. the list of directories specified by the +L command line option. Or an 
  130. error occured while attempting to open this file. Make sure the file is 
  131. in the current directory or one of the listed directories and the file 
  132. name is correctly spelled and complete. POV-Ray does not add the 
  133. extension to the file name (.GIF, .TGA, .IFF). It must be specified.
  134.  
  135. Cannot open input file
  136. ----------------------
  137. Cannot find the scene file named by the +i command line option in the 
  138. current directory, or in the list of directories specified by the +L 
  139. command line option. Or an error occured while attempting to open this 
  140. file. Make sure the file is in the current directory or one of the 
  141. listed directories and the file name is correctly spelled and complete. 
  142. POV-Ray does not add the extension to the file name (.POV). It must be 
  143. specified.
  144.  
  145. Colour_Map too long.
  146. --------------------
  147. Color maps may contain no more than MAX_ENTRIES (20) entries
  148.  
  149. Degenerate triangle on line N.  Please remove.
  150. ----------------------------------------------
  151. A 'triangle {}' or a 'smooth_triangle {}' declaration was found to be 
  152. invalid on line N of the scene file. This shape will be ignored and not 
  153. rendered.
  154.  
  155. Degenerate triangles were found and are being ignored.
  156. ------------------------------------------------------
  157. Some triangle shapes in the scene file were found to be invalid and are 
  158. being ignored by the ray tracer. This message will occur only with 
  159. triangle {} and smooth_triangle shapes.
  160.  
  161. ERROR - Containing Index too high
  162. ---------------------------------
  163. MAX_CONTAINING_OBJECTS (10) exceeded.
  164.  
  165. Error - you cannot scale a sphere unevenly
  166. ------------------------------------------
  167. Regular Sphere primitives must be scaled evenly.  To do uneven scaling, 
  168. use quadric { Ellipsoid } objects.
  169.  
  170. EVEN SCALE   = scale <2  2 2>
  171.  
  172. UNEVEN SCALE = scale <7 .1 3>
  173.  
  174. Error in decimal number
  175. -----------------------
  176. Bad character in number (e.g. 2$3.2 or 89fred0.34 ) This could indicate 
  177. a missing space in the scene.
  178.  
  179. Error opening continue trace output file
  180. ----------------------------------------
  181. This error occurs when using the +c command line option. Cannot find 
  182. the file specified by the +o command line option in the current 
  183. directory, or in the list of directories specified by the +L command 
  184. line option. Or an error occured while attempting to open this file. 
  185. Make sure the file is in the current directory or one of the listed 
  186. directories and the file name is correctly spelled and complete. 
  187. POV-Ray does not add the extension to the file name (.GIF, .TGA, .IFF). 
  188. It must be specified.
  189.  
  190. Error opening option file FILE_NAME
  191. -----------------------------------
  192. Cannot find the file named FILE_NAME in the current directory, or in 
  193. the list of directories specified by the +L command line option. Or an 
  194. error occured while attempting to open this file. Make sure the file is 
  195. in the current directory or one of the listed directories and the file 
  196. name is correctly spelled and complete. POV-Ray does not add the 
  197. extension to the file name (.GIF, .TGA, .IFF). It must be specified.
  198.  
  199. This error can be caused by stray words on the command line. Any word 
  200. on the command line that is not preceded by a +/- option is assumed to 
  201. be a file containing command line options.
  202.  
  203. Error opening output file
  204. -------------------------
  205. Cannot find the file specified by the +o command line option in the 
  206. current directory, or in the list of directories specified by the +L 
  207. command line option. Or an error occured while attempting to open this 
  208. file. Make sure the file is in the current directory or one of the 
  209. listed directories and the file name is correctly spelled and complete. 
  210. POV-Ray does not add the extension to the file name (.GIF, .TGA, .IFF). 
  211. It must be specified.
  212.  
  213. Error reading aborted data file
  214. -------------------------------
  215. This error occurs when using the +c command line option. POV-Ray had an 
  216. error occur while reading the partial image output file specified by 
  217. +o.
  218.  
  219. Expecting a string after INCLUDE
  220. --------------------------------
  221. Syntax for include declaration anticipates a double-quoted filename 
  222. string after the word include.
  223.  
  224. For example: 
  225.     #include "filename.inc" == OK!
  226.     #include  filename.inc  == ERROR
  227.  
  228. Failed to allocate...
  229. ---------------------
  230. This is a general purpose error that can occur in many places in 
  231. POV-Ray.  It indicates that POV-Ray ran out of memory while trying to 
  232. build one of the scene's internal data structures.  Depending on the 
  233. particular object it was working on, you may want to increase POV-Ray's 
  234. memory allocation, or reduce the size or complexity of the scene.
  235.  
  236. GIF Image Map Colour out of range
  237. ---------------------------------
  238. IFF Image Map Colour out of range
  239. ---------------------------------
  240. The color index was outside the image file's palette. This could 
  241. indicate a corrupted file.
  242.  
  243.  
  244. Identifier 'X' is the wrong type
  245. --------------------------------
  246. Type mismatch syntax error.  The identifier 'X' is not the appropriate 
  247. type of ID for this spot. This happens if you put a declared color into 
  248. a quadric, for instance.
  249.  
  250. For example:
  251.    #declare Red = color red 1
  252.    object { quadric { Red } } // This will cause this error
  253.  
  254. Illegal character in input file, value is XX
  255. --------------------------------------------
  256. Found a bogus half-ASCII character in the source file. These characters 
  257. are ignored. It could be a control character left in by an editing 
  258. program.
  259.  
  260. Invalid GIF file format: FILE_NAME
  261. ----------------------------------
  262. The file header for FILE_NAME seems not to be a GIF file header. The 
  263. file specified may not be a GIF or it could be corrupted.
  264.  
  265. Invalid IFF file
  266. ----------------
  267. The file specified may not be an IFF image or it could be corrupted.
  268.  
  269. Invalid option: 'OPTSTRING'
  270. ---------------------------
  271. The command line option 'OPTSTRING' is not recognized by POV-Ray. This 
  272. could be a mistyped character on the command line, the environment 
  273. variable POVRAYOPT, or in an option file specified on the command line.
  274.  
  275. Light source must be defined using new syntax
  276. ---------------------------------------------
  277. The keyword "light_source" was found without the accompanying light 
  278. source definition in a place in the file that indicates it may be an 
  279. old-style light_source definition. See POVRAY.DOC for correct light 
  280. source definition.
  281.  
  282. Need at least one component in a blob
  283. -------------------------------------
  284. There must be at least one sphere element declared in the blob object.  
  285. Declare some components in the blob.
  286.  
  287. Need the order of the Poly
  288. --------------------------
  289. The syntax of poly requires an order be specified before the <coeffs>
  290.  
  291. No */ closing comment found
  292. ---------------------------
  293. Found a /* (open comment), but no matching */ in the scene file.
  294.  
  295. No colour for value: N
  296. ----------------------
  297. The color map does not define a color for the value N. Make sure your 
  298. color map contains entries that completely span the range from 0.0 to 
  299. 1.0.
  300.  
  301. No end quote for string
  302. ------------------------
  303. Hit end of file while reading in quoted string. This indicates a 
  304. missing quote (") somewhere.
  305.  
  306. Not enough memory for colour map.
  307. ---------------------------------
  308. See error 'Failed to allocate...'
  309.  
  310. Only NN option file names are allowed in a command line.
  311. --------------------------------------------------------
  312. POV-Ray only allows one 'option file'on the command line. 
  313. MAX_FILE_NAMES (1)
  314.  
  315. Order of Poly is out of range
  316. -----------------------------
  317. The polynomial order must be between 2 and MAX_ORDER (7).
  318.  
  319. Out of Memory. ...
  320. -----------------------------------------------------
  321. See error 'Failed to allocate...'
  322.  
  323. Out of prioqs
  324. -------------
  325. POV-Ray has internally exceeded the NUMBER_OF_PRIOQS (32).
  326.  
  327. Picture index out of range
  328. --------------------------
  329. This error should not occur, but it could occur if your computer is 
  330. having floating point math accuracy problems or a corrupted image file. 
  331. It indicates that one of the internal mapping routines (bump, image, 
  332. material) tried to get the color of a pixel that was out of the range 
  333. of the image. For example, bump_map asked for the X=321, Y=200 point on 
  334. a 320 by 200 resolution image.
  335.  
  336. Premature End Of File reading GIF image
  337. ---------------------------------------
  338. POV-Ray found the end-of-file before it expected in a GIF file. File 
  339. could be corrupted.
  340.  
  341. String too long
  342. ---------------
  343. No word or number may be longer than MAX_STRING_INDEX (41). Quoted 
  344. string (or floating point number) more than this many characters long 
  345. found.
  346.  
  347. The order of a polynomial may not be specified twice
  348. ----------------------------------------------------
  349. You can have only one number before the <coeffs> in a 'poly' decl.
  350.  
  351. Too many constants 'declared'
  352. -----------------------------
  353. The number of declared (#declare) identifiers exceeded 
  354. MAX_CONSTANTS(1000)
  355.  
  356. Too many exits from refractions
  357. -------------------------------
  358. Mismatch between entering and exiting object surfaces, could be 
  359. internal data corruption.
  360.  
  361. Too many library directories specified
  362. --------------------------------------
  363. The number of paths passed on the command line by +L exceeds 
  364. MAX_LIBRARIES (10)
  365.  
  366. Too many nested include files
  367. -----------------------------
  368. POV-Ray can't handle more than MAX_INCLUDE_FILES (10) deep. A nested 
  369. include file is an include file in an include file.
  370.  
  371. Too many nested refracting objects
  372. ----------------------------------
  373. MAX_CONTAINING_OBJECTS (10) exceeded. This could happen if you place a 
  374. 15 glass spheres inside of each other, for example.
  375.  
  376. Too many symbols. Use +ms### option to raise Max_Symbols.
  377. ---------------------------------------------------------
  378. POV-Ray allocates a block of memory for Max_Symbols number of #declared 
  379. items. This is normally 500. If this number is too small, use +ms### to 
  380. raise the limit of #declared items.
  381.  
  382. For example:
  383.   povray +ms600 +ifile.pov ...
  384.  
  385. Undeclared identifier 'X'
  386. -------------------------
  387. Tried to use identifier 'X', but it has not yet been defined by using 
  388. #declare. This often indicates a spelling error or typo.
  389.  
  390.  
  391. Unexpected end of file
  392. ----------------------
  393. POV-Ray was expecting to get more data and found the end of the file 
  394. instead. Often caused by missing brace or quote. 
  395.  
  396. Unrecognized output file format 'X'
  397. -----------------------------------
  398. The file format specified by the +f command line option is not one 
  399. supprted by POV-Ray.
  400.  
  401. POV-Ray supports the following output file formats:
  402.   D=Dump, I=IFF, R=Raw, T=Targa.
  403.   
  404. pvray +fZ -- Would cause this error
  405.