Defining point of rotation for pfChanViewOffsets

New Message Reply Date view Thread view Subject view Author view

Bruce Cameron (bmc++at++shadow.mayo.EDU)
Thu, 17 Aug 1995 15:03:38 -0500


In my stereo viewing application, I use pfChanViewOffsets
to develop the disparity between the right and left channels.
While this works well, the rotation occurs at/near the near
clipping plane (producing an image that is behind the screens).

Does anyone have a method to move this point of rotation? I'd
like to be able to define a slide in my GUI that would allow
the rotation point to be moved between the near clipping plane
and the far clipping plane (translate in Y). Thus if the slider
were at 0, rotation would be at the near clipping plane, 0.5
would be half way between near and far, and 1.0 would be at the
far clipping plane.

Is this possible with pfChanViewOffsets, or do I have to
use a series of matrix operations?

Thanks in advance.

-- 
--Bruce
-----------------------------------------------------
Bruce M. Cameron		bmc++at++mayo.edu
Mayo Foundation			office: (507) 284-3288
200 1st St SW			fax:    (507) 284-1428
Rochester, MN 55905		ARS WD9CKW

New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:51:48 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.