Thanks, Uwe,
Is there a way to do it using osgProducer::Viewer? I used the Application
osgviewer demo as a starting point for my code.
Thanks,
Charles
On 6/19/07, Uwe Woessner <[EMAIL PROTECTED]> wrote:
Hello Charles,
you can register callbacks to supply your own projection matrix for left
and right view (osgUtil::SceneView::ComputeStereoMatricesCallback) like
so: sceneView->setComputeStereoMatricesCallback(sCallback);
You can create the projection matrix by using
osg::Matrix::makeFrustum(double left, double right,
double bottom, double top,
double zNear, double zFar);
Hope that helps,
Uwe
Charles Neveu wrote:
> We have a KEO Proview 50ST see-through head-mounted display. I want to
> model the geometry of the eye(s) with respect to the HMD display(s) in
> the osg camera model (e.g. the plane of the display is yawed outward by
> 6 degrees and the right and left sides of the view frustrum may not be
> equal). Is there some way to do this within the stereo mode that osg
> provides? Otherwise, is there some way to modify the openGL matrices
> directly while still using stereo mode? Or is there a another better
> solution altogether?
>
> Charles Neveu
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://openscenegraph.net/mailman/listinfo/osg-users
> http://www.openscenegraph.org/
--
\\\|/// *HLRS, High Performance Computing Center Stuttgart*
_I_ ( o o ) *Visualization/VR* _I_
([EMAIL
PROTECTED])--oo0O--(_)--O0oo------------------------------------------([EMAIL
PROTECTED])
| | Uwe Woessner [EMAIL PROTECTED] | |
| | .ooo0 http://www.hlrs.de/people/woessner/ | |
|_| ( ) Oooo. Phone: +49-711-6856-5790 or ...-5970 |_|
([EMAIL PROTECTED])-------\ (---(
)-----------------------------------------([EMAIL PROTECTED])
I \_) ) / I
(_/
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/