Re: Mirror image rendering

New Message Reply Date view Thread view Subject view Author view

Richard M. Spencer (rspencer++at++es.rti.org)
Fri, 31 Jan 1997 11:10:41 -0500 (EST)


On Thu, 30 Jan 1997, Nathaniel Bletter wrote:

Try:
  
 pfPreScaleMat(mat, -1.0f, 1.0f, 1.0f, mat);

> 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
>

Richard M. Spencer Research Triangle Institute
rspencer++at++es.rti.org Center for Digital Systems Engineering
919-541-6733 (voice) 3040 Cornwallis Road, Herbert Bldg, Rm 246
919-541-6515 (fax) P.O. Box 12194; RTP, NC 27709-2194

=======================================================================
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.