Accumulation Buffer, Without GLUT

Started by New2OpenGl, November 08, 2005, 10:46:46

Previous topic - Next topic

New2OpenGl

Hi, I've been reading in the 'Red Book' of OpenGL, about how to use the Accumulation Buffer <page 303, Chapter 10> But I noticed that it should have some sort of setup:

/*Be certain you request an accumulation buffer.*/
glutInitDisplayMode (GLUT_SINGLE | GLUT_RGB | GLUT_ACCUM | GLUT_DEPTH);

But I didn't find this command in LWJGL, nor GLUT, is there a way to request an accumulation buffer in lwjgl?
Thanx.

tomb

When calling Display.create(PixelFormat) you can specify the accumulation buffer properties in the PixelFormat.

New2OpenGl

Thanx, I was afraid that it was impossible to access the Accumilation Buffer, But what are the parameters (By name) suitable for <pixel-format> ? Thanx alot.

Fool Running

PixelFormat(int bpp, int alpha, int depth, int stencil, int samples, int num_aux_buffers, int accum_bpp, int accum_alpha, boolean stereo)


... for future reference: http://www.lwjgl.org/javadoc/
Programmers will, one day, rule the world... and the world won't notice until its too late.Just testing the marquee option ;D