Janet Estabridis (janete++at++pistilmac1.chinalake.navy.mil)
Tue, 24 Sep 1996 11:23:48 +0000
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
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:53:37 PDT