Re: [osg-users] Cameras & a NON-Moving Terrain

2008-11-20 Thread Sukender
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
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] Cameras & a NON-Moving Terrain

2008-11-20 Thread Allen
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
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org