Jump to content

  • Log In with Google      Sign In   
  • Create Account

Should I use OpenGL?


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 Thomas83   Members   -  Reputation: 122

Like
Likes
Like

Posted 05 August 2001 - 03:47 AM

I''m new to gameprogramming and I''m going to buy my first book (I have read books on C++ before, but not gameprogramming). Is openGL good? I''ve heard that you can make games for both Linux and Windows with openGL. If I make a game for Windows, how much do I have to change if I want to make the same game for Linux? do I have to start it all over again?

Sponsor:

#2 Null and Void   Moderators   -  Reputation: 1087

Like
Likes
Like

Posted 05 August 2001 - 05:44 AM

OpenGL is a great graphics API, but that doesn''t mean it handles everything. You won''t need to change any OpenGL code to port your application, but you probably will need to change the Win32 API and WGL code. I''d suggest using something like SDL along with OpenGL to get around the Win32 API and WGL, then you won''t need to change ANY code (unless you do something platform specific on purpose) to port the game. SDL handles input, threading, audio, time, and window management.

Learning OpenGL isn''t going to be easy (not that it is really hard) though. See Nehe''s for some tutorials. Most of them have a download (at the bottom of the page) that shows you how to do that tutorial using SDL.

[Resist Windows XP''s Invasive Production Activation Technology!]




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS