Hiro Mitsui (mitsui++at++emm.rd.tepco.co.jp)
Wed, 05 Apr 1995 10:32:57 +0900
I'd like to use off-axis projection in my Performer 1.2 application.
But I can't get an expected FOV.
The result of the following codes is,
ll[0] != left
ur[0] != right
ll[2] != bottom
ur[2] != top
while all of them should be equations according to the manual.
----
pfChannel *chan;
pfVec3f ll,lr,ul,ur;
chan = pfNewChan();
pfChanAutoAspect(chan,PFFRUST_CALC_NONE);
pfMakePerspFrust(chan,left,right,bottom,top);
pfChanNearFar(chan,0.1f,1000.f);
pfGetFrustNear(chan,ll,lr,ul,ur);
----
Can anybody explain this problem?
Thanks in advance.
-Hiro Mitsui
mitsui++at++rd.tepco.co.jp
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:51:10 PDT