Hi Robert, seems that using a MatrixTransform node with a scale matrix set to (x_scale, 0., z_scale) instead of (x_scale, 1., y_scale) gave the Picker a tough time.
Thanks for the hint :) Lukas On Sat, Dec 13, 2008 at 10:16:53AM +0000, Robert Osfield wrote: > Hi Lukas, > > It is possible to pick items in a 2D hud, the osgpick example > demonstrates this. I don't know what might be wrong at your end, my > best guess would be the projection matrix has zero depth range or > something similar to that. SInce the osgpick example does work > compare you code to it. > > Robert. > > On Fri, Dec 12, 2008 at 11:37 PM, Lukas Diduch <[email protected]> wrote: > > Hello all, > > > > I have a texture stored on a (Geode->Geometry created with > > osg::createTexturedQuadGeometry) and trouble picking it. Other (simple) > > quads (like examples from the guide) can be picked fine. Any ideas what > > could go wrong here ? > > > > Output of pick using LineSegmentIntersector (pick taken 1-1 from osgpick > > example) > > > > [Pick] : > > Warning:: Picked up error in TriangleIntersect > > (0 0 1088, 0 0 0, 1440 0 0) > > (nan, nan, nan) > > > > Best wishes > > Lukas > > _______________________________________________ > > osg-users mailing list > > [email protected] > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- Lukas L. Diduch Smartspace Laboratory Information Access Division (IAD) National Institute of Standards and Technology (NIST) web : http://www.nist.gov/smartspace email : [email protected] office : +1 (301) 975 6399 fax : +1 (301) 975 5287 mobile : +1 (240) 899 6536 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

