[SDL] OpenGL & SDL Blitting w/ Alpha

Dave Schmitz smitty at interact-tv.com
Wed Sep 27 14:43:35 PDT 2000


Hello.....

I am looking into the new  combined OpenGL 3D rendering and SDL 2D
blitting capabilities... This functionality is made available through
the use of SDL_SetVideoMode with the SDL_OPENGLBLIT option.

I noticed in a few demos that any alpha information is say a surface
that is being blitted is lost when using the SDL_OPENGLBLIT mode.  A
couple questions -

Currently is there anyway to make this work without going entirely to
OpenGL  (i.e. glDrawPixels or glTexImage2D ) so that a 2D blitted SDL
surface "blends" with an OpenGL rendered scene?

If not, any chance at getting this added or at least a pointer to where
would be a good place to start?????

Open to all suggestions....

Thanks,

  -Smitty

--
   _____________________________________________________________________
   * 101-ISM: The tendency to pick apart, often in minute detail, all
     aspects of life using half-understood pop psychology as a tool.
          _____________________________________________________
           Dave Schmitz            Interact-TV
           smitty at interact-tv.com  http://www.interact-tv.com
           Ph: 720.406.9399        Fax: 720.406.8424


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20000927/c32b6613/attachment.htm>


More information about the SDL mailing list