Hi Mohammad, On Mon, Nov 15, 2010 at 5:37 PM, Mohammad Reza Shakouri <[email protected]> wrote: > 1- How can I get rid of the background of the model (usually blue) .. I mean > I just want to load the model in the FreeVr world.
viewer.getCamera()->setColor(osg::Vec4(r,g,b,a)); > 2-As I am newbie in the osg and freeVr, Would you guys tell me how does the > event handling go ? Is it handled by freeVr or OsgViewer ? This is up to you to decide. I'm not familiar with FreeVr so can't comment on it's event handling. The OSG itself has plenty of examples of using event handling, and if you add injection of event into the viewer's event queue like the osgviewerSDL and osgviewerGLUT examples do then you'll be able to use standard event handlers and camera manipulator, as well as your own custom event handlers. Whether this is appropriate is all down to what you want to do with you app. > > 3- When I compile the code .. in the terminal i get this messages > "vrLockWriteRelease(): Something is wrong with the lock's wmutex > vrLockReadSet(): Can't set read lock: bad lock [0x83e2b40]. " but the code is > still doing fine ( i mean no crashes) You really need to address FreeVr questions at it's community, we can have a bash at answering OSG specific questions but not other 3rd party APIs. Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

