The attached code is useful for finding #include files in a POV-Ray scene
file. With proper use it can work recursively. There are two restrictions
which affect only a very small number of scene files:
1. The parser does not allow the "#" and the "include" to be separated by
spaces or tabs like the POV-Ray parser currently does.
2. Include file names assembled by string functions are not supported.
NOTE: While this example code is provided under a very liberal license,
older or newer versions of this source code that may be found in the POV-Ray
source code are still governed by povlegal.doc!
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde
Visit POV-Ray on the web: http://mac.povray.org
Post a reply to this message
Download 'qpovpars.zip' (6 KB)
Download 'us-ascii' (0 KB)