RPGDXThe center of Indie-RPG gaming
Not logged in. [log in] [register]
 
 
Post new topic Reply to topic  
View previous topic - View next topic  
Author Message
Bjorn
Demon Hunter


Joined: 29 May 2002
Posts: 1425
Location: Germany

PostPosted: Thu Mar 06, 2003 9:05 pm    Post subject: OpenGL for 2D engine [quote]

For some time I have been planning to try doing a tile engine using OpenGL. I have looked a bit at how OpenGL can be used and have stumbled upon at least three possibilities for now:
  • Using GLUT to create the window and get input, OpenGL for rendering.
  • Creating the window and handling input through Windows API, OpenGL for rendering.
  • Using AllegroGL, combining OpenGL and Allegro.
The first and the last should be cross-platform, which is a good thing in my opinion. The middle one seems most fit for the purpose however because AllegroGL seems rather unstable and GLUT not meant for games much (according to my current knowledge, it can't even switch to a given fullscreen resolution).

So has anybody been using OpenGL already and what additional libraries did you use for creating the rendering context, getting input, and anything else?
Back to top  
Rainer Deyke
Demon Hunter


Joined: 05 Jun 2002
Posts: 672

PostPosted: Thu Mar 06, 2003 11:38 pm    Post subject: [quote]

I've used SDL with OpenGL, and it works quite well. It only took one day to convert my SDL program to SDL with OpenGL. I would strongly advise you to stay away from GLUT (which is useless for non-toy programs) and the Windows API (which is just plain ugly, and restricts you to a single platform). I have no experience with Allegro.
Back to top  
Guest






PostPosted: Fri Mar 07, 2003 1:29 pm    Post subject: [quote]

also have a look at clanlib it offers OGL support and is cross-platform
Back to top  
Bjorn
Demon Hunter


Joined: 29 May 2002
Posts: 1425
Location: Germany

PostPosted: Fri Mar 07, 2003 8:57 pm    Post subject: [quote]

This ClanLib thing looks mighty interesting. I especially like the modular setup and C++ API. It also looks mighty complete in everything it supports. I'll be trying out this lib for sure, hoping it's stable enough.
Back to top  
Mandrake
elementry school minded asshole


Joined: 28 May 2002
Posts: 1341
Location: GNARR!

PostPosted: Mon Mar 10, 2003 1:35 pm    Post subject: [quote]

I've used ClanLib....it's really nice. Just haven't had enough time to get oriented with it enough to feel comfortable writing a game with it. Hence, I still use Allegro....but ClanLib is definately stable and good.
Back to top  
Post new topic Reply to topic Page 1 of 1 All times are GMT
 



Display posts from previous:   
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum