Archived

This topic is now archived and is closed to further replies.

renisha

VRML compiler design

Recommended Posts

renisha    122
I am writing the parser for VRML. The problem is while parsing one VRML file when another vrml file is referenced, how to parse that specified one. Regards, Renisha

Share this post


Link to post
Share on other sites
EL    122
Use one parser per file. So you'll have to build a class around it.

Create parser
Start parsing the content of the file (build scenegraph)
If reference to file --> new parser --> add parsed content to scenegraph.
Continue parsing...

Something like that.

[edited by - EL on August 6, 2003 3:43:25 PM]

Share this post


Link to post
Share on other sites