Hi Laine, What specifically do you mean by pick vector? The mouse position projected into model coordinates?
Robert. On 13 April 2012 01:59, Laine Gates <[email protected]> wrote: > Hi, > > I'm writing a small program that play with magic cube . > Now the magic cube is drawn done , and I could select cubes in the magic cube > . but when I picked one cube , how could I get the pick vector , which will > tell me how to rotate the magic cube > > Could anyone tell me how to get the pick vector ? > > Thank you! > > Cheers, > lainegates > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=47037#47037 > > > > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

