Re: pfChannel->setView and vectors

New Message Reply Date view Thread view Subject view Author view

Anita Kishore (kishore++at++triavest.com)
Wed, 21 May 1997 10:11:48 -0700


On May 21, 10:45am, Carsten Scharfe wrote:
> Subject: pfChannel->setView and vectors
> Hi Performers,
>
> i have some trouble with setting the view point and the
> view direction.
> I have a vector which is my view point and another vector
> for my viewing direction. Lets call this vector for the direction vd.
>
> Is there any method to set the viewing direction with this vector vd
> instead of using euler angles hpr?
>
> If yes, how do i have to do this?
>

If you also had an angle for you direction vector, perhaps you could use
quaternions (pfQuat man page) by considering the direction vector as an axis
of view.

-anita

kishore++at++triavest.com
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
            Submissions: info-performer++at++sgi.com
        Admin. requests: info-performer-request++at++sgi.com


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:55:16 PDT

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