Here is a simple ( 2 spheres ) example: www.grunig.eu/josef/tmp/test_picking.osb open the scene in any osg viewer.
It seems a Volume computation problem, as also the SimpleSceneManager's showAll() is affected. Probably the Volume computation stops at Geometries nodes, supposing they are always leaves... sorry for not having me to look at the code. :-( Josef On Thu, May 22, 2008 at 11:16 AM, Sebastian Knödel <[EMAIL PROTECTED]> wrote: > Hi, > > thats strange, I did the same recently and it worked fine for my. > I checked for the intersected nodes and received the ones I was looking for. > The intersection action also "didHit()" when a child node was hit. > Could you provide a short example that shows the problem? > Could you check the node you apply to the intersection action? > iAct->apply(node) > If, for any reason, the node does not contain the child nodes, you would > expect to be there, the intersection action won't hit them. > > > Josef Grunig wrote: >> Hi all, >> >> I have a simple scene: >> >> Transform1 >> | >> Geometry1 >> | >> Transform2 >> | >> Geometry2 >> >> I've a picking feature that uses the Intersect Action, but in this >> configuration I cannot pick "Geometry2" as didHit() returns false. The >> "Geometry1" gets picked correctly. >> >> Are Geometry cores supposed to be only leaves of the tree? >> >> Any help appreciated, >> >> Josef >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2008. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> _______________________________________________ >> Opensg-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/opensg-users >> >> > > > -- > Sebastian Knödel > > -------------------------------------------------------- > | PhD. Student | [EMAIL PROTECTED] | > | Iparla Project | http://iparla.labri.fr | > | INRIA Bordeaux | Tel : (+33) 5 40 00 38 82 | > -------------------------------------------------------- > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Opensg-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/opensg-users > -- Josef Grunig ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
