Re: [osg-users] Sub-tree picking

2010-06-30 Thread Jean-Sébastien Guay
Hello Frank, Thanks very much, J-S. That explains everything. Luckily, your first solution will work for me because there aren't any other transforms in the way. However, the more-general solution looks more interesting so I think I will give it a try! =D Could be useful later, who knows. Y

Re: [osg-users] Sub-tree picking

2010-06-30 Thread Frank Sullivan
Thanks very much, J-S. That explains everything. Luckily, your first solution will work for me because there aren't any other transforms in the way. However, the more-general solution looks more interesting so I think I will give it a try! =D Could be useful later, who knows. Frank ---

Re: [osg-users] Sub-tree picking

2010-06-30 Thread Jean-Sébastien Guay
Hi Frank, I looked at osg::View::computeIntersections to try to replicate what it is doing. I have mimicked the code pretty much exactly, with one exception. Instead of having the camera accept the IntersectionVisitor, I have the root of my sub-tree accept it. The reason it works when start

[osg-users] Sub-tree picking

2010-06-30 Thread Frank Sullivan
Hi, I was wondering. I want to implement some picking, however I don't want to pick the entire scene graph. Just a sub-tree. I looked at osg::View::computeIntersections to try to replicate what it is doing. I have mimicked the code pretty much exactly, with one exception. Instead of having th