From: Zhaowei Fan (zwfan++at++cad.zju.edu.cn)
Date: 02/04/2002 20:04:24
Thanks,
I have used "GLUT" to create display x-win. So could I get the pointer to current DISPLAY * , which needed by glXChooseVisual ?
Thank you a lot,
Zhaowei Fan
======= 2002-02-04 17:12:00 In the email you wrote :=======
>see the man page on glXChooseVisual.
>You select the size of the stencilbuffer with the token GLX_STENCIL_SIZE in
>the attributes array,
>followed by the number of planes you want, usually 1 or 8.
>
>See also /usr/share/src/OpenGL/teach/[xlib | glx_based | glx_based] for
>examples how to structure a basic OpenGL program.
>
>Hope this helps,
>
>Dick.
>
>-----Original Message-----
>From: Zhaowei Fan [mailto:zwfan++at++cad.zju.edu.cn]
>Sent: Monday, 04 February, 2002 14:27
>To: "info-performer++at++sgi.com <info-performer++at++sgi.com>
><info-performer++at++sgi.com" <info-performer++at++sgi.com.info-performer
>Subject: Problem : How to change the bits number of stencil buffer using
>OpenGL On Onyx2
>
>
>Hi pfAll
>
>
>I am programming an application using opengl on Onyx2. When the stencil
>buffer was used, I found the number bits plane of stencil buffer is set
>1(default). But I must use more than 2 bits plane on it. So how to modify
>the number of bits plane about stencil buffer using OpenGL function? I
>found a fucntion "stensize()" can change that, but it is a IrisGL function.
>What should I do if only can use OpenGL function ?
>
>Thanks,
>
>Zhaowei Fan
>
>
>
>
>
>
>
>---------------------------
>Zhaowei Fan
>Ph.D Candidate for Computer Application
>State Key Lab of CAD&CG
>Zhejiang University, P.R.C
>..+-??w?!0?opjߢzphg-i?"r#yl~
>zҹȨȧ~^+'(?fzު笶ȧ~^+z &
= = = = = = = = = = = = = = = = = = = =
---------------------------
Zhaowei Fan
Ph.D Candidate for Computer Application
State Key Lab of CAD&CG
Zhejiang University, P.R.C
This archive was generated by hypermail 2b29 : Mon Feb 04 2002 - 19:50:09 PST