[osg-users] Computing intersections via an RTT camera - how?

2008-05-16 Thread Glenn Waldron
Hello all, I could please use some guidance with the following problem. I have a typical scene graph and a simple viewer setup. I can run Viewer::computeIntersections() on the scene and it works fine. Then I insert an RTT camera in order to render the graph to a texture. I then map the texture

Re: [osg-users] Computing intersections via an RTT camera - how?

2008-05-16 Thread Robert Osfield
Hi Glenn, Vieewer::computeIntersections() won't work when you start using funky stuff like RTT Cameras, you'll need to implement your of IntersectVisitor/LineSegmentIntersector/PolytopeIntersector codes to the do the scene intersections and use the RTT Camera's view and projection matrix as a