Hi Robert, I was just trying the PolytopeIntersector using the WINDOW CoordinateFrame. Reading the comments in the header file, window coordinates are to be specified as a clip space cube. I've seen different conventions/definitions for clip space coordinates, which ones do you mean? I'm basically performing box-selection by rubberbanding a 2d rectangle on the screen which returns pixel coordinates.
Regards, Chris I've looked at the following for reference: http://www.cs.fit.edu/~wds/classes/graphics/PTOC/ptoc/ptoc.html On 11/8/06, Robert Osfield <[EMAIL PROTECTED]> wrote:
Hi Andrew, On 11/7/06, Weitz, Andrew C. <[EMAIL PROTECTED]> wrote: > Were you, by chance, planning to implement a point intersector or point > picker? As in on screen picking of points and lines? There is an new osgUtil::PolytopeIntersector that support intersections with points. I have extended it to support intersections to triangles and lines yet but this will probably come, albiet later in the month. Robert. _______________________________________________ osg-users mailing list osg-users@openscenegraph.net http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
_______________________________________________ osg-users mailing list osg-users@openscenegraph.net http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/