Accumulation Buffer Creation

Started by darkprophet, February 06, 2005, 14:29:10

Previous topic - Next topic

darkprophet

Hi all,
I was wondering if anyone could provide me with the initilisation part of the accumulation buffer.

All of the examples on the internet use GLUT to init their buffers/windows and basically im getting frustrated.

Under the Microsoft guide to opengl (its helpful btw), under glEnable(...) it doesn't list anything to do with the accumulation buffer....

Thank you, DP

darkprophet


spasi

Have a look at the full constructor of PixelFormat, it's one of the arguments (I've never tried it though).

darkprophet

Thanks spasi, that solved it. But my god, are Accumulation buffers slow! :)

DP

spasi

No hardware acceleration apparently. What card are you using?

darkprophet

Ati Radeon 9200 w/ 256mb ram. Latest ATI drivers...

Im using this for motion blur, it looks good i have to say, but i have found other alternatives that give good performance, e.g. render to texture and put that as an ortho quad on screen...

Thanks for your help spasi...

DP

Orangy Tang

Accumulation buffers are only supported in hardware in seriously high-end graphics cards - I think the ATi 9800 was the first. Delphi3d.net should have a list of compatible cards if you're interested.

tomsen

Quote from: "darkprophet"Thanks spasi, that solved it. But my god, are Accumulation buffers slow! :)

DP

Looking for the solution myself. I crash my Linux when trying to use the accumulation buffer without setting it up apparently ... could You pls give details how you set up an accumulation buffer?

-tomsen

(Edit: hm, sometimes it helps to be able to read. Read up on PixelFormat, will try tonight setting up a display with an accumulation buffer. )

(Edit II: Thinking about it, should this raise an exception? Like GL_INVALID_OPERATION or such? I try to use a buffer that is not there and the system locks up completely. Just a thought ...
 + 2 equals 5 for very large values of 2