|
|
human_2.0 wrote:
> I want to make a povray scene file reader to convert the files to a
> different format. I thought I could do it from scratch, but I'm finding
> little catches all over. I've not studied lexers much. I was just
> thinking that writing a custom binary with povray's own parse.cpp and
> tokenize.cpp would probably be the easiest solution, and have it print out
> a list of obects or something like that.
>
> Would this be easier for someone unfamiliar with the povray source code than
> writing my own parser? I code in Perl mostly but can read c++.
Please read the POV-Ray license. You are prohibited to use POV-Ray source
code outside POV-Ray. As such, you will have to write your own parser,
however, I cannot see why you would want to write a parser that masters all
features of POV-Ray. i.e. just for meshes a parser would be really easy to
write though.
Thorsten, POV-Team
Post a reply to this message
|
|