[SDL] 2D Sprites with OpenGL

Sam Lantinga slouken at devolution.com
Thu Jan 10 11:09:01 PST 2002


> Hi, I read some emails about the use of  2d sprite in OpenGL (or other 3d
> enviroment). I'm interested in this solution and I'd ask if anyone know some
> example or tutorial about this techique. Is possibile to draw the GUI using
> SDL 2d function and only the action part in OpenGL???

Take a look at the -logo option in the testgl test application included with
the SDL source code.  The latest version of SDL_ttf includes a glfont test
program that uses this concept to show text on an OpenGL scene.

See ya,
	-Sam Lantinga, Software Engineer, Blizzard Entertainment




More information about the SDL mailing list