"Nan WANG" writes:

> hello
> As i am newbie in OSG. ...could you tell me how to use FirstPersonManipulator 
> in my scene?
>
> I copied 'FirstPersonManipulator' from %SVN%\include\osgGA to my project 
> folder, then add it in my project. then add '#include 
> <osgGA/FirstPersonManipulator>' above main() function....then
> viewer.setCameraManipulator(new osgGA::FirstPersonManipulator());
>
>
> then error like: 
> error C2664: 'osgViewer::View::setCameraManipulator' : cannot convert 
> parameter 1 from 'osgGA::FirstPersonManipulator *' to 
> 'osgGA::MatrixManipulator *'

Which OSG version are you using? Can you post from which class is
FirstPersonManipulator inheriting in your copy?

-- 
Alberto

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

Reply via email to