Hi Jeff, As Sukender mentioned the way to add parsing of external files for generation of the 3D models is by writing a plugin that gets loaded dynamically by your application. There exsiting OSG plugins will probably help you in working out what to write. Many of the plugins are just a single file that provides a ReaderWriter implementation to does the reading directly of via a 3rd party lib that does the parsing. The 3dc plugin is pretty simple so might a good place to start as a template for you own code.The nice thing about plugins is that they are self contained and can work with any OSG application, including the standard osgviewer.
If you don't want to go the plugin route you could easily just do your parsing/scene graph creation code in your a test application, then when you migrate to using a plugin once you get a bit more comfortable. As for Partiview - this is a pretty cool app, it would be great to see something similar implemented on top of the OSG. I have a colleague who does educational shows using stereo projection with Partiview as part of the show and he's frustrated by the lack of flexibility when it comes to handling unusual display configuration - if it was OSG based then the OSG's more powerful viewer configuration capabilities would make it possible to use different types of projector/machine set ups. Are the original developers still active at all? Robert. On Sun, Feb 15, 2009 at 9:49 PM, Jeff <osgfo...@tevs.eu> wrote: > I've recently been using Partiview as a platform for visualizing data in 3d > space, but it has some huge limitations and has not been developed since > 2005. What I liked about Partiview was that I could easily create the data > files via a script - fairly simple. Create a sphere at 1,1,1 and 0,0,0. > Create mesh line from 1,1,1 to 0,0,0. I'd quickly have two spheres and a > line connecting them. > > I found OpenSceneGraph this weekend and thought this would be a perfect > replacement as it seems to have so much more capability that I've wanting to > build into my graphs. I'm overwhelmed at the moment with all the plugins, > node kits, wrappers, compilers, etc. I don't want to program all my data > points in C++, I just want to pull in a text file or query a database and > have it build it on the fly (like loading a GML or VRML file). Is this > possible with OpenSceneGraph? Could someone give me some direction on what I > should be looking at... Thanks > > ------------------ > Read this topic online here: > http://osgforum.tevs.eu/viewtopic.php?p=6828#6828 > > > > > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org