|
|
"slinky" <gwj### [at] uiucedu> wrote:
> Are there any tools/libraries to use if we don't want to write our own
> parser? There seems to be a LOT of interest in having a parser which will
> read *.pov
> files into C or C++ objects so that the objects can be rendered by something
> other than povray. The scene description language just forms a convenient
> format. For instance, the source code for POV-ray MUST have code which
> parses
> *.pov files into 3D data, and materials definitions/etc. I've been looking
> through this code with the intent of re-using it to do exactly what you are
> talking about. I've found the code that tokenizes the pov file, but not the
> code that takes these tokens and assigns spatial information/materials/etc.
If you have not found it, given it is in a file named "parse.cpp", you
should seriously ask yourself if you are up to the task at all...
Post a reply to this message
|
|