Multimedia
  Home arrow Multimedia arrow Game Programming with SDL: Getting Sta...
Dev Shed Forums 
Administration  
Apache  
BrainDump  
DHTML  
Flash  
Java  
JavaScript  
Multimedia  
MySQL  
Oracle  
Perl  
PHP  
Practices  
Python  
Reviews  
Security  
Style-Sheets  
Web Services  
XML  
Zend  
Zope  
Forums Sitemap 
IBM® developerWorks 
Dedicated Servers 
E-Commerce Hosting 
Linux Web Hosting 
Managed Hosting 
Small Business Hosting 
Download TestComplete 
VPS Hosting 
Weekly Newsletter

 
Developer Updates  
Free Website Content 
OLM
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
MULTIMEDIA

Game Programming with SDL: Getting Started with OpenGL
By: A.P.Rajshekhar
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 24
    2007-07-10

    Table of Contents:
  • Game Programming with SDL: Getting Started with OpenGL
  • OpenGL: Basic Steps
  • SDL-Based Framework: Creating and Testing
  • Adding OpenGL

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
     
    ADVERTISEMENT

    TestComplete™ automates software testing for a fraction of what the big guys charge. Easy functional and load testing for all Windows, .NET, Java and Web apps. Download a free trial now.

    Game Programming with SDL: Getting Started with OpenGL
    (Page 1 of 4 )

    SDL helps to provide a framework on which to build games. OpenGL is the graphic library most commonly used with this framework. This article shows you how these two technologies work together.

    SDL is the foundation on which a game can be built without much ado. However, SDL is not complete in itself. It just provides certain services that allow the interaction between various components of a game/simulation, as well as the games interaction with the OS, to become seamless. If there are no components to utilize these services, then these services become just proof of concept.

    In a gaming engine, most of the time, these services are required by the rendering and AI components. From this part onwards I will be concentrating on the rendering component and its interaction with SDL. I will be covering the AI component in the future.

    Though SDL supports other graphics libraries, its usage with OpenGL is more common. The reason for this is that SDL and OpenGL fit like parts of a puzzle. So most of the time, the rendering component, or the rendering sub-system (I will be using this term from now onwards) of a gaming engine is built upon OpenGL. Hence understanding OpenGL is a must to build a good rendering sub-system.

    This part and the articles coming in the near future will detail the different aspects of OpenGL along with how SDL helps in creating a good framework for future purposes. The next section will detail the steps necessary in creating a basic application, while the third section will cover the development of a framework using SDL that can be used in the future. In the last section, I will use simple OpenGL routines to test the framework. That is the agenda for this discussion.

    More Multimedia Articles
    More By A.P.Rajshekhar


       · I had a quick look over the code and here are some things which need to be...
       · Thanks for your comment. Can you first tell me which OS and compiler are you using?...
       · This article looks more into the details of OpenGL. The framework developed has been...
       · I use windows linux and mac, the C language does not have built in boolean type( you...
     

       

    MULTIMEDIA ARTICLES

    - Working with Colors in OpenGL for Game Progr...
    - Animation in OpenGL for Game Programming usi...
    - Game Programming with SDL: Getting Started w...
    - Using OpenGL with SDL for Game Programming
    - Learning Sound for Game Programming using SDL
    - Game Programming using SDL: Raw Graphics and...
    - Game Programming using SDL: Getting Started
    - Network Radio With Icecast
    - Learning To SMILe

     
    Accelerating Trading Partner Performance
     
    Competing on Analytics
     
    Cost Effective Scaling with Virtualization and Coyote Point Systems
     
    Five Checkpoints to Implementing IP Telephony
     
    Hosted Email Security: Staying Ahead of New Threats
     




    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway