Re: [osg-users] Track map on a 3D view

2013-10-25 Thread Gianni Ambrosio
Hi, since my track objcts are now osgViewer::View, what should I do to clone a View? I didn't found a clone method so I used the copy constructor but in this way the camera manipulator is not copied. A camera manipulator itself doesn't have a clone method and since a view can have a camera

Re: [osg-users] Track map on a 3D view

2013-10-25 Thread Trajce Nikolov NICK
Hi Gianni, what do you mean by cloning a View? Clone the View structure or clone what is in it displayed? If later you just share the scene across multiple views, put the same node in setSceneData() Nick On Fri, Oct 25, 2013 at 10:08 AM, Gianni Ambrosio ga...@vi-grade.comwrote: Hi, since my

Re: [osg-users] Track map on a 3D view

2013-10-25 Thread Gianni Ambrosio
Moreover, which is the real effect of using osg::CopyOp::DEEP_COPY_ALL operation in osgViewer::View copy constructor? Regards, Gianni -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=56971#56971 ___

Re: [osg-users] Track map on a 3D view

2013-10-25 Thread Gianni Ambrosio
Trajce Nikolov NICK wrote: Hi Gianni, what do you mean by cloning a View? Clone the View structure or clone what is in it displayed? If later you just share the scene across multiple views, put the same node in setSceneData() Hi Nick, I mean the view structure, since the manipulator of

Re: [osg-users] openscenegraph openGL context error in Qt

2013-10-25 Thread Gianni Ambrosio
Hi Lokesh, you can find an osgviewerQT example in osg distribution. Anyway I attach an example of a CompositeViewer I'm using for testing that is a little bit different. It uses osgQt. Cheers, Gianni -- Read this topic online here:

Re: [osg-users] osgLeap Leap Motion Integration

2013-10-25 Thread Johannes Scholz
Hi, osgLeap-0.3.0 is tagged now. * osgLeap-0.3.0 requires at least OpenSceneGraph?-3.1.4 including build of the osgdb_png plugin to read the PNG images files for the osgLeap::HandState? class * Introduced osgLeap::PointerEventDevice? to generate native OpenSceneGraph? events from your Leap

Re: [osg-users] Track map on a 3D view

2013-10-25 Thread Gianni Ambrosio
Hi All, just a couple of questions. I would like drag the view just like I can do with osgWidgets. At the moment I used an OrbitManipulator for each view but I really don't need a manipulator for that view. But vithout a manipulator I can't see anything. Thanks for your help, Gianni

Re: [osg-users] Track map on a 3D view

2013-10-25 Thread Robert Osfield
Hi Gianni, On 25 October 2013 14:34, Gianni Ambrosio ga...@vi-grade.com wrote: Hi All, just a couple of questions. I would like drag the view just like I can do with osgWidgets. At the moment I used an OrbitManipulator for each view but I really don't need a manipulator for that view.

Re: [osg-users] openscenegraph openGL context error in Qt

2013-10-25 Thread Lokesh Kumar
gambr wrote: Hi Lokesh, you can find an osgviewerQT example in osg distribution. Anyway I attach an example of a CompositeViewer I'm using for testing that is a little bit different. It uses osgQt. Cheers, Gianni thanks gambr for reply. yeah.. i will give try to your attached osgQt

Re: [osg-users] How to add shadows to deferred shading?

2013-10-25 Thread michael kapelko
Hi. I've decided to try to take shadow map from osgShadow::ShadowMap. I've derived own ShadowMap class to access the shadow texture: http://goo.gl/M3o04y I display it, but it's completely white. I tried to place the light nearer to the moving objects (even at the same height), but the texture is