Hi Martin, On Mon, Apr 28, 2008 at 11:02 AM, "Martin Großer" <[EMAIL PROTECTED]> wrote: > I have two little questions. First, how can I load VRML-Files, with the > osgViewer?
You'll need to compile the OSG against OpenVRML or Coin as the vrml and iv plugins that they are associated with both provide .vrml reaeding support. OpenVRML is LGPL'd while Coin is GPL'd so this may dictate your decision. Have a search through the archive on this topic to learn how to set things up. > And how can I use the osgUtil::SceneView? Maybe, a little example would be > helpful. I would not recommend using osgUtil::SceneView as provides little functionality other than rendering, and to do anything more than this requires understanding of lots of topics that are awkward to explain and support, and are all provide for free by the osgViewer library. osgViewer has a GraphicsWindowEmbedded class that helps adapt osgViewer::Viewer and CompositeViewer to use embedded in the same way the SceneView used to be. See the osgviewerGLUT and osgviewerSDL for examples of use of GraphicsWindowEmbedded. Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

