Joe Stewart (jstewart1++at++gwsmtp01.mdc.com)
Mon, 13 Nov 1995 15:31:38 -0600
/* channel one offset from channel zero */
pfSetVec3(xyzOffsets, 0.0f, 0.0f, 0.0f);
pfSetVec3(hprOffsets, -72.0, 0.0, 90.0);
pfChanViewOffsets(Chan[1], xyzOffsets, hprOffsets);
I am using the following code to create the perspective
frustum:
pfChanAutoAspect(chan, PFFRUST_CALC_NONE);
pfFrustNearFar(chan, 1.0, 5000.0);
pfMakePerspFrust(Chan[1],
pfTan(hfov_l),pfTan(hfov_r),pfTan(vfov_d),pfTan(vfov_u));
pfChanView(chan, ViewState->initView.xyz, ViewState->initView.hpr);
When changing the vertical FOV (eg. vfov_d += delta
vfov_u += delta),
part of the scene gets clipped. The problem only seems to occur
when channel one is rotated with respect to channel zero.
I am running Performer 1.2 and I am assuming this to be a
Performer limitation.
Does anyone know a fix for this or how to turn the clipping off.
(NOTE: I am not trying to do stereo. The rotation is done to
increase the vertical FOV).
Thanks for any input
jstewart1++at++gwsmtp01.mdc.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:52:02 PDT