Accumulation buffer in mixed X/IRISGL mode?

New Message Reply Date view Thread view Subject view Author view

Nicolas Gauvin (nicolas++at++cae.ca)
Tue, 20 Feb 1996 15:40:30 -0500


Hi everyone,

I'm trying to use the accumulation buffer in a X window using IRIS GL (mixed
mode) on a RE2 with 4 RM5 ( Performer 2.0, IRIX5.3).

For some reasons I cannot manage to see the accumulation buffer working
when my pipeWindow is of TYPE_X after I do the following:

static int FBAttrs[] = {
    PFFB_USE_GL,
    PFFB_RGBA,
    PFFB_DOUBLEBUFFER,
    PFFB_DEPTH_SIZE, 24,
    PFFB_RED_SIZE, 8,
    PFFB_GREEN_SIZE, 8,
    PFFB_BLUE_SIZE, 8,
    PFFB_ALPHA_SIZE, 8,
    PFFB_ACCUM_RED_SIZE, 8,
    PFFB_ACCUM_GREEN_SIZE, 8,
    PFFB_ACCUM_BLUE_SIZE, 8,
    PFFB_ACCUM_ALPHA_SIZE, 8,
    PFFB_SAMPLES, 4,
    PFFB_STENCIL_SIZE, 1,
    NULL
};

 pw->setWinType( PFPWIN_TYPE_X );
 pw->setFBConfigAttrs( FBAttrs );
 pw->open();
 pfFrame();

I have tried different (low) values for the PFFB attributes but I never get
to see any accumulation buffer working.

On the other hand it works well in a PURE GL window where I simply use
acsize(12) and gconfig.

Is there something I'm missing when configuring the frame buffer of the X
window?

Any help would be appreciated.

     ___/ | ___/ Nicolas Gauvin e-mail: nicolas++at++cae.ca
    / / | / Software Developper voice: (514) 341-2000 x2275
   / / | __/ CAE Electronics Ltd. fax: (514) 340-5496
  / ___ | / 8585 Cote De Liesse, P.O. Box 1800
_____/ _/ _| _____/ Saint-Laurent, Quebec, Canada, H4L-4X4


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:52:26 PDT

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