Mirror image rendering

New Message Reply Date view Thread view Subject view Author view

Nathaniel Bletter (nat++at++od.sri.com)
Thu, 30 Jan 1997 17:53:07 -0800


Does anyone know how to vertically flip the image produced by perfomer? I'm
viewing the monitor in a mirror and need to compensate for it.

I tried creating a perspective frustrum with the top < bottom, but this seems
to reverse all the normals, messing up back face culling and lighting, and does
weird things with the near and far clipping planes.

I also tried to do a
        pfGetChanViewMat(chan, view);
        pfPostMultMat(view, inv);
        pfChanViewMat(chan, view);
where inv = {1, 0, 0, 0,
                0, -1, 0, 0,
                0, 0, 1, 0,
                0, 0, 0, 1}

This seemed to do nothing. Any ideas?

--

Nat Bletter SRI International nat++at++od.sri.com http://os.sri.com/people/nat/ (415) 859-4358 ======================================================================= 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:54:30 PDT

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