Torsten Moeller (tmoeller++at++cgrg.ohio-state.edu)
Tue, 12 Dec 1995 18:00:41 -0500
pfMakeSimpleFrust(ViewState->masterChan, fov);
pfChanAutoAspect(ViewState->masterChan, PFFRUST_CALC_VERT);
Whenever I change the display (including/excluding the gui) it adapts
the view in x and y direction.
In stereo however, I use:
pfChanViewport(StereoChan, 0.0f, 1.0f, 532.0f/YMAXSCREEN, 1.0f);
pfChanViewport(Chan, 0.0f, 1.0f, 0.0f, 491.0f/YMAXSCREEN);
pfChanViewOffsets(..)
pfMakePerspFrust(StereoChan, -x +ioc, x +ioc, -x, x);
pfMakePerspFrust(Chan, -x -ioc, x -ioc, -x, x);
Here the view gets distorted in the y (vertical) direction, because the
aspect Ratio is roughly twice as big. If I try to take care of this
problem using:
pfFrustAspect(StereoChan, PFFRUST_CALC_VERT, 0.975);
it is ignored.
Does anybody know what I am doing wrong here?
Torsten.
-- Research Assistant ACCAD tmoeller++at++cgrg.ohio-state.edu Ohio State University
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:52:07 PDT