From: Rob King (king++at++ait.nrl.navy.mil)
Date: 07/20/2000 14:07:25
Help! We are working on a (VR CAD) multi-wall, multi-pipe, head-tracked
stereo application. I am having difficulty successfully updating the
view matrix to account for head tracking.
I call a method each frame that calculates a new viewing matrix and
frustum for each wall. Within the method I call
pfChannel::makePersp(l,r,b,t) and pfChannel::setViewMat(mat) to update
the channel that I have set up for each eye.
My problem is that the view matrix is successfully updated ( see the
diagnostics below ), but the image on the screen does not change.
-----------------------------------------
getViewMat (before call to setViewMat)
1 0 0 0
0 1 0 0
0 0 1 0
-0.0491027 -0.349735 0.475254 1
-----------------------------------------
getViewMat (after call to setViewMat)
1 0 0 0
0 1 0 0
0 0 1 0
-0.0431498 -0.345415 0.471731 1
-----------------------------------------
As a variation on my diagnostics, I substituted a call to setView() for
setViewMat(). I used very large numbers to set the view part.... the
image on the screen remained constant!
So, somehow I am updating the view matrix, but the view is not
changing. Hmmmmm...
I would very much appreciate suggestions as to what I might check....
things I might have missed, what I might try next, and so on.
pfFrustratedly yours,
Rob King
----------------------------------------------------
e-mail: king++at++ait.nrl.navy.mil
web: http://www.ait.nrl.navy.mil/people/king
voice: (202) 404-8066
This archive was generated by hypermail 2b29 : Thu Jul 20 2000 - 14:08:09 PDT