Results 1 to 3 of 3

Thread: flicker with transparent overlays

  1. #1

    flicker with transparent overlays

    I want to have several transparent overlays on top of each other and 1 of them will be being redrawn. I can't stop the flicker - anyone know how?

    Peter

  2. #2

    flicker with transparent overlays

    Could you give a little more information please? Do you mean transparent (on/off appearance, like alpha testing or TBitmap.Transparent) or translucency (alpha blending)? Also, what API is this in (GDI, OpenGL, D3D)?

    If it's standard Windows stuff then you can look at the obvious methods (DoubleBuffered = true and draw in the OnPaint method, manually double buffer your bitmaps where possible, use Graphics32, handle WM_EraseBkgnd, and so on).
    "All paid jobs absorb and degrade the mind."
    <br />-- Aristotle

  3. #3

    flicker with transparent overlays

    I'm trying to use several TImage's with transparent set to true. There will be a single object on each overlay so that when one object has to move, only that object has to be redrawn and not all the other objects as well, because the objects might overlap. I've tried all the usual tricks of reducing flicker that normally work but they don't work with transparent TImage's.

Bookmarks

Posting Permissions

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