From: Hans Palbøl (c937161++at++student.dtu.dk)
Date: 05/20/2000 05:55:33
Hi,
I'm having trouble setting up a channel as a rear view mirror. The
problem is that the image is not mirrored. I tried to add a
transformation with the following code:
pfMatrix mat;
mat.makeScale( -1.0, 1.0, 1.0 );
pfFrustum fru;
mirrorChan->getBaseFrust( &fru );
mirrorChan->orthoXform( &fru, mat );
but it didn't help. Btw. orthoXform should according to the man page be
able to take a pfChannel directly, but that couldn't compile. I also
tried to switch the left and right values in the setViewport call, but
that's not allowed.
Any help is much appreciated.
Regards,
Hans
-- Hans Palbøl"Jeg tror nok, han benyttede sig af de vilde trækfugle til at slippe bort" ----------------------------------------------------
This archive was generated by hypermail 2b29 : Sat May 20 2000 - 06:31:22 PDT