Nils Thune (thune++at++sgi_nils.cmr.no)
Wed, 03 Nov 93 22:29:26 +0100
I'm using Performer 1.2 inside a Motif program and are creating the following
GLwindow for rendering. The following code will create a GLwindow and set
it in correct rendering mode (I hope):
/***********/
GLXconfig glxConfig [] = {{ GLX_NORMAL, GLX_DOUBLE, TRUE },
{ GLX_NORMAL, GLX_RGB, TRUE },
{ GLX_NORMAL, GLX_STENSIZE, 1 },
{ GLX_NORMAL, GLX_ZSIZE, GLX_NOCONFIG },
{ 0, 0, 0 }
};
renderAreaWidget = XtVaCreateManagedWidget("glxWidget",
glxMDrawWidgetClass,
parent,
GlxNglxConfig, glxConfig,
NULL);
subpixel(TRUE);
mmode(MVIEWING);
zbuffer(TRUE);
/***********/
My question is this: What happens inside pfInitGLXGfx(...)? Currently I'm
not making a call to it.
For some reason this function is not discussed in the manual.
Should I set more GL modes to make Performer happy without calling
pfInitGLXGfx(...)?
- Nils
--------------------------------
Nils Thune
Advanced Computing
Christian Michelsen Research
Fantoftvegen 38
N-5036 Fantoft, Bergen, Norway
Email: thune++at++cmr.no
Phone: 05 574040
Phone: 05 574355 (Direct)
Fax : 05 574041
--------------------------------
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:50:05 PDT