Re: . (fwd)

New Message Reply Date view Thread view Subject view Author view

crakrjak++at++xerxesinc.com
Sun, 28 Jun 1998 12:37:46 -0400 (EDT)


the problem i am having is i dont know how to translate with a xyzhpr, all
i can do is translate on the x or y or z axis.

thanks for your help! :)
Mike

On Mon, 29 Jun 1998, Mario Veraart wrote:

> >
> > hi, i have trouble with my collision detection routine...
> >
> > I get the Collision point with:
> >
> > pfQueryHit(hit, PFQHIT_POINT, &pnt);
> > pfQueryHit(hit, PFQHIT_XFORM, xform);
> >
> > pfXformPt3(xpnt, pnt, xform);
> >
> > and i cant figure out how to make the viewport go 5 units back the way it
> > came from, could someone enlighten me in how to do this.
> >
>
> If I understand correctly.
>
> You can get the current view matrix. Decompose it to get the heading,
> pitch and roll of the viewer. With the heading and pitch you have an
> orientation of the viewer. Just move in the oposite direction
> 360-heading with -pitch to get the viewer in a backwards motion
>
> Mario
>

=======================================================================
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:57:36 PDT

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