Re: [osg-users] Bug in Qt thread integration
Hi, In fact QThread::currentThread returns a QThread. maybe you want to use qobject_cast instead of other casts, it is has some other advantages (http://lists.qt.nokia.com/pipermail/qt-interest/2010-October/028327.html). Cheers, Torben -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=50341#50341 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Warning: detected OpenGL error 'invalid enumerant' at After Renderer::compile
Thanks Chris. Installing the NVidia drivers solved the problem. T'was a bit tricky because of having to first remove nouveau. http://oracle-noob.blogspot.in/2011/10/install-nvidia-drivers-on-centos-6.html -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=50342#50342 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] How to ignore keyboard events
Hi Max, On 28 September 2012 05:13, Max Sergeev sergeev.m...@gmail.com wrote: Thanks for the answer, it does block the Escape key I suppose, but still didnt solve my problem: qt controls on click of Escape key still change their positions and become unclickable. I thought there could be some more global way, like blocking the key events for whole application -- like they just are not clicked. Will do check the example and documentation you suggested, thanks. The osgViewer classes are built around not having any event handlers by default and it's the application developers responsibility to add these to their applications, so it's not a case of working out how to block events but rather just adding the event handlers you need. The only exceptions to this rule is the escape key handling setting done - which is on by default but can be switched off, and the TrackballManipulator that is added as fallback if no other camera manipulator is attached when you call Viewer::run(). Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Mipmapping for downsampling
Hi Sebastian, Ok, I've displayed the different mipmap in my application and I realized that a black square is propagated along the different mipmap level (see pictures). Finally the last level became completely black. We solved the problem by changing the model involved. Thanks for the precious advices, Kenzo -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=50346#50346 Attachments: http://forum.openscenegraph.org//files/mipmap7_205.png ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Mipmapping for downsampling
Hi looks like you was hitting NaN's somewhere, as they propagate in such fashion. Cheers. 28.09.2012, 18:11, Kenzo Lespagnol kenzo.lespag...@cm-labs.com: Hi Sebastian, Ok, I've displayed the different mipmap in my application and I realized that a black square is propagated along the different mipmap level (see pictures). Finally the last level became completely black. We solved the problem by changing the model involved. Thanks for the precious advices, Kenzo -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=50346#50346 Attachments: http://forum.openscenegraph.org//files/mipmap7_205.png ___ 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