Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 7 of 7

Thread: Accumulation buffer ...

Hybrid View

  1. #1
    Junior Member Regular Contributor
    Join Date
    Dec 2002
    Location
    Poland
    Posts
    232

    Accumulation buffer ...

    Hi.

    I was experimenting with accumulation buffer. I've made a simple program and when it started it was running in great speed of 1 fps. It's rather strange, I think, while I made only a few calls to accumulation buffer - one glAccum(GL_ACCUM, 0.25) and one glAcuum(GL_RETURN, 0.5). So what is wrong? Does it always run so slow??

    Thanks for your advice...

  2. #2
    Junior Member Regular Contributor
    Join Date
    Oct 2002
    Posts
    205

    Re: Accumulation buffer ...

    it runs slow because the accumulation buffer sucks. It draw your scene a number of times before displaying it. What do you need the accum buffer for?

  3. #3
    Junior Member Regular Contributor
    Join Date
    Apr 2003
    Location
    Toulouse, France
    Posts
    133

    Re: Accumulation buffer ...

    as far as i know, accumulation buffer is implemented in software on many (all ???) video card.
    when you call glAccum(...), the color buffer (video memory) is copied in the accumulation buffer (main memory).
    it is very slow ...

  4. #4
    Junior Member Regular Contributor
    Join Date
    Dec 2002
    Location
    Poland
    Posts
    232

    Re: Accumulation buffer ...

    Well it doesn't matter what I am doing with accumulation buffer. There are plenty of interestig effects you can achive with it (at least from what I've heard). I just can't belive it works so terrible! Meaby it isn't supported with GPUs but it can't work so slow. If that what you say is truth the accumulation buffer would be useless. What's more - I used only two calls to accumulation buffer. Meaby reason is in initializing OpenGL?

    Thanks

    Orzech

  5. #5
    Junior Member Regular Contributor
    Join Date
    Oct 2002
    Posts
    205

    Re: Accumulation buffer ...

    if lets say for example you are trying to do motion blur or scene anti-aliasing on a cube. yes the accum buffer is fine but lets say you try to use motion blur or anti aliasing on a car with a million vertices even calling the accum buffer twice(which does nothing for motion blur) doubles the amount of time that it takes to render the scene. you are rendering 2 millon vertices instead of 1 million. Really there are better ways of doing things than using the accum buffer.

  6. #6
    Intern Contributor
    Join Date
    Dec 2001
    Location
    Berlin, Germany
    Posts
    65

    Re: Accumulation buffer ...

    Indeed, your problem is that the accumulation buffer is emulated in software. Hardware accumulation buffers are supported only by some very recent graphics hardware, for example the ATI 9700 or the 3dLabs VP. OTOH, the GeForceFX still implements the accumulation buffer in software only.

    flo

  7. #7
    Junior Member Regular Contributor
    Join Date
    Dec 2002
    Location
    Poland
    Posts
    232

    Re: Accumulation buffer ...

    OK. Now I see that accumulation buffer isn't as interesting as I thought. But still... I'm not 100% sure about that

    Thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •