Thread: opengl

  1. #1
    Registered User
    Join Date
    Jun 2008
    Posts
    266

    opengl

    Is opengl c or c++? Is it portable?

  2. #2
    Registered User
    Join Date
    Oct 2006
    Posts
    118
    OpenGL is a cross-platform graphics system, yes, because essentially all it is is a specification for drivers that graphics chips manufacturers create to work with the system.

    It can be coded in C/++, and there are other languages that it can be accessed from too.

    More info can be found on it here.

    FlyingIsFun1217

  3. #3

    Join Date
    May 2005
    Posts
    1,042
    Just to piggy-back on his explanation, OpenGL is just a bunch of functions that can be used from basically any programming language, including C/C++.

    To answer your question, OpenGL is actually written by the company that makes the video card (whichever video card you have). This means that there's a different implementation of OpenGL for every video card that supports it.

    Also check out NeHe.gamedev.net

    Most of the tutorials on NeHe have been ported to various other languages.
    I'm not immature, I'm refined in the opposite direction.

  4. #4
    Registered User
    Join Date
    Oct 2006
    Posts
    118
    Quote Originally Posted by BobMcGee123 View Post
    This means that there's a different implementation of OpenGL for every video card that supports it.
    But don't worry about the API; the core of it is consistent amongst manufacturers.

    FlyingIsFun1217

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Linking OpenGL in Dev-C++
    By linkofazeroth in forum Game Programming
    Replies: 4
    Last Post: 09-13-2005, 10:17 AM
  2. OpenGL Window
    By Morgul in forum Game Programming
    Replies: 1
    Last Post: 05-15-2005, 12:34 PM
  3. OpenGL .dll vs video card dll
    By Silvercord in forum Game Programming
    Replies: 14
    Last Post: 02-12-2003, 07:57 PM
  4. OpenGL and Windows
    By sean345 in forum Game Programming
    Replies: 5
    Last Post: 06-24-2002, 10:14 PM
  5. opengl code not working
    By Unregistered in forum Windows Programming
    Replies: 4
    Last Post: 02-14-2002, 10:01 PM