Hi Sukender, :-)

Well, what I want is the ability to have the terrain to "appear" to remain "still" while I move the camera around on it. The glider example and the animate example are what I'm basing my research/work on and in both cases, when the "camera moves" it appears that the object I'm looking at is actually moving and not the camera.

So, I must be able to "move" through the terrain like the TrackballManipulator allows but move the camera and leave the terrain "still." Is this any clearer? I've looked W the link you provided but I've NO clue as to how to use what you are suggesting. I'm too much a newbie to 3d Visualization - about 1.5 yrs worth - to understand what you're referring to. If you know of any example(s) that I could look @ and copy, that would be awesome!!! Do you know of or have any?

Message: 5
Date: Thu, 20 Nov 2008 23:51:03 +0100
From: Sukender <[EMAIL PROTECTED]>
Subject: Re: [osg-users] Cameras & a NON-Moving Terrain
To: "OpenSceneGraph Users" <[email protected]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=iso-8859-15

Hi Allen,

Do you mean you want a subgraph to appear as if it was at an infinite distance, 
such as for skyboxes?
If so, you can try to create your own transform that removes the translation. 
That costs 4 lines of code (See 
http://pvle.sourceforge.net/Doc/Html/MoveWithEyePointTransform_8h-source.html 
for an example).
You may also create a transform that removes rotation if needed.

Sincerely,

Sukender
PVLE - Lightweight cross-platform game engine - http://pvle.sourceforge.net/

Le Thu, 20 Nov 2008 23:45:27 +0100, Allen <[EMAIL PROTECTED]> a ?crit:


> Hi.  Could someone tell me or point me in the direction of finding an
> example that illustrates how to move the camera in a scene but NOT make
> it appear that the terrain is moving?  I want a perspective terrain w/in
> my scene and I want to move the camera through the scene but I DO  NOT
> WANT it to appear that the "Earth" is moving when the user moves the
> mouse.  I just can not figure this feat out.  Can anyone help me?
> --Allen
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to