   What does OpenGL bring?
  Hi all! :DI've been inactive in the forums for a long time (like 7 months now), but now that I have more free time (and an ADSL connection at home), I'm back with the questions...^^The question at hand, is about using OpenGL with SDL...I've used SDL, and even though I found it very good, I hated the fact that I needed to program my own put_pixel function, and I HAD to do my sprite handling..., for what I understand OpenGL already has all that...I wanted to ask, all of you who actually know something...., if that is true...Does OpenGL bring sprite handling, put_pixel functions, etc, etc, to the table?If that is so..., what is the best way to use it with SDL?, is glSDL an option?, or is there another way?Well, I hope I made myself clear...Thanks in advance for all your answers!Haora   
  You had to handle sprites yourself in SDL.  You used SDL_Surfaces right???   ;  Yes I did, why do you ask?   ;  glSDL is an option if you used the built-in functions of SDL.  If you want to add additional functionality using OpenGL for 2d graphics, look into a wrapper called hxRender to do your sprite functions.  It will add hardware-based sprite rotation and alpha-blending functions to your program.Also, you will need to change the way SDL opens its screen/window to generate a properly formed OpenGL context.   ;  Opengl does a lot, more than I know of, but while it isn't exactly difficult to do basic things, it can be a little more cumbersome than SDL. If I read your post right, maybe you want something on a little higher level than SDL or OpenGL for 2D, like clanlib (uses OpenGL) or HGE (uses DirectX) for example.;Quote:Original post by haoraYes I did, why do you ask?Oh well then what kinda sprite handling do you want?;Quote:Oh well then what kinda sprite handling do you want?Oh, what I meant was, I did the basic sprite handling stuff, I want some robust sprite handling so I don't have to worry about that on for my next game.I'm not planning on using anything I did the first time I used SDL...   ;  OpenGL is a 3d graphics library that can use hardware-acceleration.  It is not a game engine.  It sounds like you want something game related such as ClanLib, as previouls suggested.   ;Quote:OpenGL is a 3d graphics library that can use hardware-acceleration. It is not a game engine. It sounds like you want something game related such as ClanLib, as previouls suggested.Indeed, I thought OpenGL had that kind of features, but after seeing ClanLib and HGE,  I think that what I was looking for is an already developed game engine...I've been reading the documentation about ClanLib and HGE, and I found ClanLib very interesting, I will be checking it out....Thanks all for the help! :DHaora   