[osg-users] Intersection returning a surface
Hi, Is it is possible to have an intersection query return the surface or triangle that has been hit rather than a point? I have seen PlaneIntersector but it seems to return a list of points rather than the surface that contains those points. Correct me if I am wrong. Any help would be appreciated. Tony V -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=65364#65364 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Properties in osg::Camera and values of gl_ModelViewMatrix seem out of sync.
Hi, Is there any update on this issue? I seem the run into the same. I'm using osg 3.2.1 if this is solved in a new version I could migrate to a more recent version, but hopefully someone can indicate which version does not have this problem. Thank you! Cheers, Roy -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=65363#65363 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] How to load an osg::Image into a qtwidget like Label
Hi, I found a solution : Code: const uchar *qImageBuffer = (const uchar*)myOsgImage->data(); QImage img(qImageBuffer, myOsgImage->s(), myOsgImage->t(), myOsgImage->getRowSizeInBytes(), QImage::Format_RGB888); QPixmap pixmapObject; pixmapObject.fromImage(img); labelSelectedImage->setPixmap(QPixmap::fromImage(img)); // labelSelectedImage is a qt widget It works, but i continue to get some problem with textures which contain alpha channel. Thank you! Cheers, Andrea -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=65361#65361 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org