[SDL] Alpha revisit

Joel Chen jchen at interval.com
Tue Jul 9 16:26:01 PDT 2002


That's great!  As long as SDL defines an interface for better alpha
handling, that's good enough for me.

> -----Original Message-----
> From: Loren Osborn [mailto:linux_dr at yahoo.com] 
> Sent: Tuesday, July 09, 2002 4:03 PM
> To: sdl at libsdl.org
> Subject: RE: [SDL] Alpha revisit
> 
> 
> 
> --- Joel Chen <jchen at interval.com> wrote:
> > hmmm...., I guess it's pushing it to ask about
> > combining surf and pixel
> > alpha (ie. apply surf alpha, and then pixel alpha)
> > then.  
> > 
> > Basically I've got my hands tie here because I need
> > to display a RGBA
> > surface at 50% and I am trying to see if there's any
> > hoops I can jump
> > through with what current SDL has to achieve it.  I
> > can't transfer it to RGB
> > surf because I would lose the pixel alpha, which is
> > important.
> > 
> > OpenGL is out of the question.
> > 
> > <sigh> so far, the only way I've came up with is to
> > lock the surface and
> > modify the alpha values myself and then reload my
> > data after I am done.
> > 
> I'm working on this, but I'm sure it won't be in CVS
> at least until 1.3...
> 
> -Loren
> 
> __________________________________________________
> Do You Yahoo!?
> Sign up for SBC Yahoo! Dial - First Month Free
> http://sbc.yahoo.com
> 
> _______________________________________________
> SDL mailing list
> SDL at libsdl.org
> http://www.libsdl.org/mailman/listinfo/sdl
> 




More information about the SDL mailing list