From: Braden M. <br...@en...> - 2010-07-02 06:20:56
|
On Thu, 2010-07-01 at 18:43 -0400, Sam Url wrote: > >>What did you set them to? > > > set OPENVRML_DATADIR=C:\openvrml-0.18.6\data > set OPENVRML_NODE_PATH=C:\openvrml-0.18.6\src\node > set OPENVRML_SCRIPT_PATH=C:\openvrml-0.18.6\models\rotation_toy.wrl > > > > It still crashes on me. Again, note the descriptions of these variables in README. OPENVRML_NODE_PATH is where you have *compiled* node implementations (e.g., vrml97.dll). OPENVRML_SCRIPT_PATH is where you have compiled scripting engines (e.g., javascript.dll). > >> I'm not 100% clear on what this means to you. The provided project > >> files build libopenvrml as a DLL. And the node implementations and > >> scripting engines all live in plug-in DLLs. > > > > I would like to use OpenVRML to open and parse VRML files. Does this require a node/scripting engine? If you provide your own semantic actions for the parser, no. (You will, however, still need the component descriptors--that's where the parser gets its information about how to parse specific nodes.) See pretty-print for an example that provides its own semantic actions. The parse-vrml97 and parse-x3d test programs use the semantic actions that are compiled into libopenvrml--and these create a tree of openvrml::nodes using the node implementations. You only need a scripting engine if you want to process scripts at run-time. -- Braden McDaniel <br...@en...> |