From: Braden M. <br...@en...> - 2006-08-15 17:50:21
|
Euan Woolley wrote: > Hello, > > > > Does anyone have any tips on how I can use Open VRML with the Tao OpenGL > wrapper in C#? I'd like to be able to import VRML geometry into my > application. I don't have any interest in any of the stuff in a VRML > file apart from the geometry (no lights or anything). > > > > What I'd like to be able to do is: > > > > VRMLObject obj = new VRMLObject(@"a file.wrl"); > > Gl.GlNewlist(aList); > > Obj.LoadGeometryToGL(); > > Gl.GlEndList(); > > > > > > Or similar. > > > > Will it be possible? I'm not familiar with C# or Managed C++, so I cannot help you with getting from C++ to C#. Though from what little I understand, it is possible. But on the OpenVRML side of the fence, the typical way to pick stuff out of the VRML scene graph is to use openvrml::node_traverser. Also have a look at the openvrml::browser documentation; in particular openvrml::browser::do_get_resource. After deciding that SourceForge isn't going to fix their CVS problems on shell.sf.net any time soon, it finally hit me that I could use rsync to update the Web site easily enough. So the 0.16.0 documentation has now been uploaded. The main page now sports an initial feeble attempt at "user guide" style information. Feedback regarding what is missing can help me better direct my energies in improving it. Braden |