PDA

View Full Version : Bringing SDL to OpenGL


Skorche
2004.01.03, 04:56 AM
I've been using SDL for a game that I'm working on, but due to the complexity that it's taking on SDL is no longer viable. (or fast enough)

Are using OpenGL's pixel operations faster (or easier) than using textured quads for drawing in 2D? I have a basic understanding of how to do it either way, but am trying to decide what path to research.

OneSadCookie
2004.01.03, 05:25 AM
Textured quads are the fastest way to get things onto the screen, not least because the textures can be stored in video memory.

Skorche
2004.01.03, 08:26 PM
Well that settles it. I was under the impression that you could do pixel operations in video memory.

Mars_999
2004.01.05, 01:49 PM
Ever heard of Pixel/Vertex shaders? Look into that if you want to control more than you can with textures onto quads.