HELP !! Turning off Multisampling

New Message Reply Date view Thread view Subject view Author view

Janet Estabridis (janete++at++pistilmac1.chinalake.navy.mil)
Tue, 24 Sep 1996 11:23:48 +0000


Thanks to all who answered my zbuffer question. I had never heard of
mulitvisual mode. My problem now is that I was told to use "pfSetVisual"
and I do a man page in this and is does not exist. I am planning on
digging deeper, but if anyone knows the exact command or command sequence I
would appreciate it. I was on travel last week so sorry for the slow
response.

MORE INFORMATION----------
HELP !!! I have been trying all sorts of things to turn off multisample
visual. So far no luck. Here is my status:

I have a RE2, running IRIX 5.3 with Performer 2.0. With OpenGL I want to
read the zbuffer using glReadPixels. I have used glReadPixels in OpenGL
successfully so I have that in my Performer 2.0 draw callback routine.

To see what the frame buffer is defaulted to and my success in changing it
I have been using the routine pfuPrintPWinFBConfig( pWin, NULL ).

My default return is:
*********************************************
pfPipeWindow Framebuffer Configuration: Janet's 2.0 Upgrade
RGB_BITS: 8
ALPHA_BITS: 0
CI_BITS: 24
DEPTH_BITS: 24
MIN_DEPTH_VAL: 0
MAX_DEPTH_VAL: 2147483647
MS_SAMPLES: 8
STENCIL_BITS: 1
STEREO: 0
************************************************************

After I perform a pfPWinFBConfigAttrs( pWin, FBAttrs)
where FBAttrs = { PFFB_RGBA,
                               PFFB_DOUBLEBUFFER,
                               PFFB_DEPTH_SIZE, 24,
                               PFFB_RED_SIZE, 8,
                               PFFB_SAMPLES, 0,
                               None
                             };

My return is:
*********************************************
pfPipeWindow Framebuffer Configuration: Janet's 2.0 Upgrade
RGB_BITS: 8
ALPHA_BITS: 0
CI_BITS: 24
DEPTH_BITS: -1
MIN_DEPTH_VAL: 0
MAX_DEPTH_VAL: 2147483647
MS_SAMPLES: -1
STENCIL_BITS: -1
STEREO: 0
************************************************************

So, the question is why has DEPTH_BITS changed to -1 when when PFFB_SAMPLES
= 0 should turn off multisampling and allow me to use the z-buffer !!!! My
zbuffer is still all zeros.

I ALSO TRIED USING the following routines (independent of each other ):
pfAntialias( PFAA_OFF); and that did not work.

pfTransparency( PFTR_OFF ) and that did not work.

and pfTransparency( PFTR_BLEND_ALPHA ) and that did not work.

My deadline is fast approching. Can anyone help ?? Is it impossible on
RE2 to read the zbuffer ??

Janet Estabridis
Naval Air Warfare Center
China Lake, CA 93555 (619) 930-6984

=======================================================================
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:53:37 PDT

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