Re: Can glReadPixels get Alpha in color buffer?




"Alvin" <CHUJINGJUN@xxxxxxxxx> schrieb im Newsbeitrag
news:1141209256.738657.245910@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
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?

In a 16 bit display you propably won't have any.


.



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)
  • X font madness...
    ... I'm having real trouble getting text to look right ... when I draw text I get missing pixels. ... Microsoft uses the same "monotype-times new roman" font ...
    (comp.windows.x)