[osg-users] Help with adding a player model

Mark Yantek myantek at rscusa.com
Fri Mar 6 10:13:38 PST 2009


Robert,

Sorry for my lack of clarity. 

I'm trying to have the camera locked on to a user controlled object.

After rethinking this I can see the path I need to follow. In the
example OSGSIMULATOR there is a plane with a camera following it. I just
need to move user control from the camera to the object.

Thanks

- Mark

-----Original Message-----
From: osg-users-bounces at lists.openscenegraph.org
[mailto:osg-users-bounces at lists.openscenegraph.org] On Behalf Of Robert
Osfield
Sent: Friday, March 06, 2009 9:56 AM
To: OpenSceneGraph Users
Subject: Re: [osg-users] Help with adding a player model

Hi Mark,

On Fri, Mar 6, 2009 at 4:34 PM, Mark Yantek <myantek at rscusa.com> wrote:
> I would like to "an object in the scene to the follow the viewer's
> master camera", like in a Jet flight simulator.

I don't know of tutorial to point you at that specifically does this,
even with the extra info above it still doesn't provide enough info
about exactly what you are doing/expecting.

Typically an application that is controlling the camera will know
where the viewer camera is, as it'll be controlling it, unless your
app is simply reusing the standard viewer CameraManipulator.  How are
you controlling the viewer's master camera in your app?

What you say follow, what exactly do you mean?  Do you mean a ground
based Camera that follows the main viewpoint around?   Do you mean a
cockpit that is rendered around the viewer?  Do you mean a chase
plane?

Robert.
_______________________________________________
osg-users mailing list
osg-users at lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.or
g



More information about the osg-users mailing list