[osg-users] Possible Reduntant Removal of Observers in Referenced
In OSG 3.0, Referenced::signalObserversAndDelete(bool, bool) is called two times. First, in unref() when reference count becomes 0. Second, in the destructor of Referenced(). Is there any reason for calling signalObserversAndDelete() two times as in OSG 2.8 observers were removed only once in the destructor. Nishant Singh ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Stereoscopic Screenshot
Hi Nathan, For active stereo with shutter glasses, if you use the merged image then it will not work. Active stereo works on the principle that scene is rendered at min 120 Hz and each alternate frame is for the left eye and right eye. the shutter glasses are in sync in the 3D moniter so that each frame is either seen by the left eye of right eye. if you see without the shutter glasses then you will see the merged images. but if you merge the right and left frames before and then display the scene then you will still see the merged images with the shutter glasses but not the 3D effect as both eyes will see the same image. -Nishant On Fri, Jan 29, 2010 at 3:27 PM, Nathan Schofield < john.smith.jsmit...@googlemail.com> wrote: > I thought that if the image looked the same as that on screen i.e. with the > offset and two images merged together, displaying this on a 3D monitor with > shutter glasses would produce the same effect as displaying it via software, > maybe I was wrong. > > As for capturing the image I tried setting glReadBuffer to GL_BACK_LEFT > then capturing one image, changing glReadBuffer to GL_BACK_RIGHT capturing > the second image, and using copySubImage to combine the two. However the > second image from GL_BACK_RIGHT is always black. > > Cheers, > Nathan > > -- > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=23403#23403 > > > > > > ___ > 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
Re: [osg-users] osgGA::GUIEventAdapter::MOVE: doesnt work
Turn on the mouse tracking in your constructor. it is off by default in QGLWidget. setMouseTracking(true); On Thu, Jan 28, 2010 at 7:25 PM, Tobias Bellmann wrote: > Hi, > > I know this thread is a little bit old, but I've got the same symptoms in > my QT Embedded CompositeViewer. The EventQueue of a view seems to never > contain any osgGA::GUIEventAdapter::MOVE Events, but > osgGA::GUIEventAdapter::PRESSED are generated. > > My CompositeViewer class definiton: > > class CompositeViewerQt: public osgViewer::CompositeViewer, public > AdapterWidget > > > > > ive fixed my problem. > > > > the reason was glut > > ive forgotten to declare a passiveMouse Callback > > > could anyone explain this solution in a little more detail, and how to > perform this with osg? > > Thank you! > > Cheers, > Tobias > > -- > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=23355#23355 > > > > > > ___ > 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