Allen (allenb++at++icemt.iastate.edu)
Thu, 11 Jun 1998 16:00:03 -0500
...
pfViewMat.set(ogl_matrix);
pfViewMat.transpose(pfViewMat);
pfViewMat.preRot(-90, 1, 0, 0, pfViewMat);
pfViewMat.postRot(pfViewMat, 90, 1, 0, 0);
chan->setViewMat(pfViewMat);
...
That "seems" to work. Can anyone confirm if this is the correct
solution?
-Allen
Allen wrote:
>
> I have an OpenGL view matrix (no projection information, just positions
> the camera), and I would like to convert it directly into the equivalent
> Performer matrix so that I can use it in a pfChannel::setViewMat call.
>
> I thought this would be rather straight forward, but I have not been
> able to find a solution yet. Has anyone every done this?
>
> -Allen
> --
>
> Allen Bierbaum
> ISU SE Lab
> Research Assistant
> =======================================================================
> List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
--Allen Bierbaum ISU SE Lab Research Assistant ======================================================================= List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/ Submissions: info-performer++at++sgi.com Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:57:32 PDT