Can glReadPixels get Alpha in color buffer?



Hi,all.
I used glDrawPixels to draw some pixels in GL_AUX0 ,then I want to read
these Pixels by glReadPixels. I use GL_RGBA as the format for draw and
read, but I found it seems all the pixels read has the same alpha value
of ONE. So I just wonder how to get the right alpha?

.



Relevant Pages

  • RE: HOW to display raw YUV data -----(problem still )???
    ... > The pixels of each line and lines in one frame is known for me. ... That being said, "converting" from one YUV format to another is very easy, ... alpha channel--we'll just skip over it. ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: Linux gForth/VFX windows
    ... horizontal nib (3 pixels) ... Draw a circle segment. ... These are hardware coordinates. ... In graphics mode EMIT, TYPE etcetera still work, but now they ...
    (comp.lang.forth)
  • Re: how to square convert to verilog.
    ... That is a VERY expensive way to draw a circular blob, ... of 100 pixels radius, in the centre of the screen. ... DOULOS - Developing Design Know-how ...
    (comp.lang.verilog)
  • Re: Drawing floating-point lines with Bresenham
    ... I can give an integer starting point, integer number of pixels, error increments for minor/major steps, and an initial error value for the first pixel to draw. ... That's the paper introducing Bresenham's line algorithm. ... "Zuse, Zuse" sprach die Tante, als das Rechenzimmer brannte ...
    (comp.graphics.algorithms)
  • Re: What property defines a controls paint bounds?
    ... And you need to subtract one from the width and height to get the whole rectangle to draw. ... A line drawn from to for example will fill all of the pixels just to the right of that 0-width vertical line between those coordinates, inclusive. ...
    (microsoft.public.dotnet.languages.csharp)