[osg-users] Add A Window

2008-06-07 Thread GuiYe
Hello,I want to add a new window in real time.But the below code doesn't work.Who can tell me why??I face it many days but... Waiting for your good news~~ // // #include osgDB/ReadFile #include osgUtil/Optimizer #include osgViewer/Viewer #include osgGA/MatrixManipulator #include

[osg-users] Can't have more than one NodeTrackerManipulator?

2008-06-07 Thread Alejandro Segovia
Hello all, I've been working on an application which can have several windows displaying the same scene. Each one of my windows has a osgUtil::SceneView object which I use to cull and draw onto it. Windows are created one after the other, meaning I'll have several osg::Camera objects as parents

Re: [osg-users] collada fetures in osg

2008-06-07 Thread Robert Osfield
Hi Carlos, The OSG's Collada plugin doesn't map all of Collada features, hopefully others with a bit more expertise in this area will be able to clarify. W.r.t RenderMonkey - Collada - OSG, perhaps ATI's demo app they put together that combining RenderMonkey/Collada and OSG. They extended the

Re: [osg-users] Add A Window

2008-06-07 Thread Robert Osfield
Hi GuiYe, At present the addSlave doesn't automatically tell the viewer to realize windows, reset up threading and rendering support, which is why you code isn't working. What you need to do in you event handling is to call viewer.stopThreading() first, create you new window/associated

Re: [osg-users] Can't have more than one NodeTrackerManipulator?

2008-06-07 Thread Robert Osfield
Hi Alejandro, If you want to have multiple views with multiple camera manipulators you absolutely should be using osgViewer::CompositeViewer. Please look at the osgcompositeviewer example. Yes you could implement it yourself with multiple SceneView, but this is going to far far more work

Re: [osg-users] collada fetures in osg

2008-06-07 Thread Paul Martz
COLLADA is a text format, so you should be able to examine the file in a text editor, determine which XML tags contain the information that you believe isn't being loaded, and then look at the OSG DAE plugin source code to find out if there is some kind of bug in the code or the features are

Re: [osg-users] Add A Window

2008-06-07 Thread GuiYe
Hello,Robert. Thanks for your reversion.I'm so happy that I can add a new window in realtime.But there is a new problem :how to destroy the new window.I find that stopThreading can't destroy the window.Thanks. Waiting for you good news. // // #include osgDB/ReadFile #include