Hi Robert, We did do working on support HUD/Ortho2D picking between pre 1.x days and now. If you can try upgrading.
Robert. On 10/17/06, Robert Balfour <[EMAIL PROTECTED]> wrote:
I'm using sceneview->projectObjectIntoWindow to draw an ortho2D line from the edge of the viewport to an object location in the scene. It's working fine until I fly low and slow directly over the object and it gets under and behind me (i.e. out of view). Initially the window xy coords being returned hang in there; y goes negative but all still visually looks OK (for ex x=1569, y=-1843), the line just gets clipped at the bottom edge of the viewport. But then suddenly it starts returning a large negative x and positive y for window coords (for ex: x=-2188 y=3986, return code still =true(success)), which, as I keep flying slowly forward quickly converges into small, positive x,y (for ex: x=90, y=580) and the line starts pointing somewhere out on the horizon, but the object location is behind and under me. Is this to be expected, or am I doing something wrong? Can I prevent this from happening? [Note: I'm stuck for now on pre 1.x, so could this also be a bug that has been fixed?]. Bob. -- Robert E. Balfour, Ph.D. Exec. V.P. & CTO, BALFOUR Technologies LLC 1055 Stewart Ave., Suite 18, Bethpage NY 11714 Phone: (516)396-9642 Fax: (516)396-9643 email: [EMAIL PROTECTED] _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
