|
|
Hi All,
I know this has been asked before, but I can't find the reference. Does
anybody have a formal grammar for POVRay.
The reason I ask is that I am working on a set of macros for animation and
the next thing I want to do is "morphing" between different versions of an
object/scene. To do this I need to do a lexical analysis of the files and
extract all the numbers so I can then use my spline functions to interpolate
between them. Rather than recreate the wheel, if the grammar is available, I
can write a tokeniser which is all I need. (Anyone for re-writing POVRay
"in" POVRay? Its a bit like writing a C compiler in C and then using it to
compile itself!)
Thanks
Gordon
<gor### [at] hotmailcom>
Post a reply to this message
|
|