On Mon, Jun 23, 2008 at 1:48 PM, Zoltán <[EMAIL PROTECTED]> wrote: > 浣�浼� wrote on Monday 23 June 2008: >> I load a car model in a big scene,i want to control >> the car like the camera in the DriveManipulator. >> >> Anybody give me a hint? > > Same question here: I would like to write a Space-shuttle > simulator landing on Venus, can anybody give me a hint ? > > Please ?
My first hint is... well this type of question is far more general than how do I use the OpenSceneGraph, it's actually how do I go about writing a simulator, which frankly is a bit out of scope for the osg-users lists, yes lots of users write sims, but teaching you how to write on is rather out of scope for this scene graph mailing list. In terms of the OSG, well moving objects around the scene is easy - just stick as transform above it, and look at the osganimate example to see how. As for moving the camera, well that's just matrices, and camera manipulators which you can look at the source code for the existing manipulators to see how. As to guidance to how to compute the values to stick in camera view matrices, or a transforms matrix, well this is your problem - it's you app's responsibility. There are also plenty of online tutorials and books on this type of stuff, it really isn't specific to OSG applications at all. Robert.
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

