Hi Tran,
On Tue, 2005-04-19 at 02:58 -0700, Tran Thanh Hiep wrote:
> hi all!.
> what is the differcen between perspective camera and
> stereo camera in OpenSG ?
That's easy, OpenSG doesn't have a stereo camera. ;)
Stereo is done using a StereoCameraDecorator that is put between the
Viewport and the actual Camera (which is usually a PerspectiveCamera).
This allows you to use whatever navigation/animation system you have for
mono and use it unchanged in stereo.
To actually get a stereo output you need two Viewports that use two
StereoDecorators (one set for left, one for right eye) that can share
the same Camera (again, to keep the mono program as unchanged as
possible). Depending on the stereo mode you want, you might also have to
use specific Viewports.
There are two StereoCameraDecorator types that we have, one for non-
headtracked stereo (ShearedStereoCameraDecorator) and one for head-
tracked stereo (ProjectionCameraDecorator). There are some simple test
programs in Source/System/Window, called testStereoDecorator.cpp and
testProjection.cpp.
Hope it helps
Dirk
--
-- Dirk Reiners OpenSG Forum [EMAIL PROTECTED]
-- The OpenSG Open Source Scenegraph: http://www.opensg.org
-- Join the list at http://lists.sf.net/lists/listinfo/opensg-users
-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users