Re: center of projection

New Message Reply Date view Thread view Subject view Author view

From: Soren Vorre Therkildsen (svorre++at++daimi.au.dk)
Date: 04/06/2001 03:28:23


You should take a look at the man page for pfFrustum.

I think the best thing to do is to use the function
pfFrustum::makePersp() (Can also be called directly
on a pfChannel) to setup an asymmetrical frustum on
your pfChannel before each frame.

Then use pfChannel::setViewOffsets to indicate the position
of your users head relative to the normal center posistion.

I hope this helps.

Regards
Søren Vorre

> From: DAVID Philippe <philippe.david++at++sncf.fr>
> Date: Thu, 05 Apr 2001 10:04:24 +0200
> Subject: center of projection
>
>hello pfUser
>
>I use performer for a Virtual Reality application where the user is on
>front of a big screen (2m x 3m). His head is tracked by an ascension'
>tracker.
>So I move the point of view function of the head position behind the
>screen. I rotate the point of view to keep the same frustrum and I adapt
>the FOV too. but I need to change the projection in order to keep the
>center in front of the user.
>Have you any idea of how to change this.
>It must be down by changing the projection matrix but I don't know how.


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Fri Apr 06 2001 - 03:28:28 PDT

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