Re: [osg-users] Picking (computeIntersection) bug with POINT_ROT_EYE Billboards

2009-10-07 Thread Robert Osfield
Hi Nathan, Thanks for the example. I can reproduce the picking problems using: osgpick singletree.osg So thumbs up there. As to the cause, it's almost certainly a bug in the computation of the matrix that should be positioning the billboard, or the lack of coordination of point at which the

Re: [osg-users] Picking (computeIntersection) bug with POINT_ROT_EYE Billboards

2009-10-07 Thread Nathan Monteleone
robertosfield wrote: As to the cause, it's almost certainly a bug in the computation of the matrix that should be positioning the billboard, or the lack of coordination of point at which the billboard should be rotated about. It's almost certainly not a precision issue. I'm afraid I'm

[osg-users] Picking (computeIntersection) bug with POINT_ROT_EYE Billboards

2009-10-06 Thread Nathan Monteleone
Hi, I'm having trouble getting picking (via View::computeIntersection) to work on Billboards in POINT_ROT_EYE mode. Attached is a .osg file that creates a single billboard tree -- if I open this file with osgPick in OSG 2.9.5, I can only get a hit if I click near the very base of the tree.

Re: [osg-users] Picking (computeIntersection) bug with POINT_ROT_EYE Billboards

2009-10-06 Thread Nathan Monteleone
nbmont wrote: I tried tracing this through IntersectionVisitor and I couldn't figure out why it didn't work. I have two guesses: 1. A precision problem in the matrix math or 2. The billboard matrix is coming out differently in the visitor than in the actualy cull traversal. It seems to