Re: [osg-users] error in tutorial Loading Models from Files...

2008-07-02 Thread 浣曚紵
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;

[osg-users] error in tutorial Loading Models from Files...

2008-07-01 Thread Zamo Cédrik
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

Re: [osg-users] error in tutorial Loading Models from Files...

2008-07-01 Thread Peter Wraae Marino
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