Thread: OpenGL & SDL
View Single Post
OpenGL & SDL
Old
  (#1)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,088
Join Date: Nov 2003
Location: Netherlands
Default OpenGL & SDL - 22-07-2007

Hey,

I am trying to pick up OpenGL , and combined with SDL. SDL is not hard, its a relative simple API to program 2d games. It is similiar to Allegro, though it is more robust and seems faster in some aspects to me.

Anyhow.

Since i want to do a lot of blending, it won't be doing any good in 2D mode. So, i thought, just learn OpenGL and the problem is solved.

Well, since OpenGL is basically for gfx only, i want to combine it with SDL. This is working fine now btw.

But this leaves me to good OpenGL / SDL tuts. I found Nehe, and its working fine (got textured rotating cube, woah).

My idea is to have a top-down view of the world. I would like to keep it like GTA. There has to be a sense of 2d in it. Any other good references / links i should look for?


Author of RealBot, "Arrakis" and "Dune 2 - The Maker" | co-Founder of Bots-United | Fundynamic | Blog | E-Mail me
  
Reply With Quote