Sounds more like an algorithm solution than an osg solution.
The below algo isn't perfect, but it'll give you an idea.

finger1=false;
finger2=false;

while(checkForFingerPressRelease)
{
if (finger1pressed) finger1=true;
if (finger2pressed) finger2=true;
if (finger1released) finger1=false;
if (finger2released) finger2=false;

if (finger1 && finger2)
{
  check for dragging of finger2 and rotate
  else
  check for dragging of finger1 and rotate
}

}//while

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=48265#48265





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to