you need to add header files
#include osgViewer/Viewer
#include osgGA/TrackballManipulator
在2008-07-02 09:04:03,Zamo Cédrik [EMAIL PROTECTED] 写道:
Hi,
in tutorial Loading Models from Files and Positioning Them in a Scene there
is :
osgViewer::Viewer viewer;
Hi,
in tutorial Loading Models from Files and Positioning Them in a Scene there
is : osgViewer::Viewer viewer;
viewer.addCameraManipulator(new osgGA::TrackballManipulator);
compiler errors ; error C2039: 'addCameraManipulator' : is not a member of
'osgViewer::Viewer'
and error
Hi Zamo,
you can try this article if you like:
http://osghelp.com/readarticle.php?article_id=6
it's a simplified version how to load models.
and this article is a simplified version how to transform your models:
http://osghelp.com/readarticle.php?article_id=7
hope this helps,
Peter
On Wed, Jul
3 matches
Mail list logo