Thread: Easy interface for implementing OpenGL

  1. #1
    Join Date
    May 2004

    Easy interface for implementing OpenGL

    One of my pet projects was to supply the basic rasterization functionality of OpenGL. To do it, I wrote this interface...I'm not going to supply the actual implementation library that I've written (for several reasons, one being I didn't write all of it, only about half, the other half is something called mesa, and another is that it is so huge, that nobody will be able to make heads or tails out of it).

    The class takes a library name as a parameter, and searches for the generic name symbols in the library in the class constructor. The downside of this is that you must export your symbols with the exact same name as OpenGL, which isn't really a downside at all.

    If you wanted to just use normal OpenGL, you'd do this:

    In my implementation, I do this:

    I uploaded the header and c++ files.

  2. #2
    Software Developer jverkoey's Avatar
    Join Date
    Feb 2003
    University of Waterloo
    any screenshots of the renderer in action? The project looks like it's coming along pretty nicely so far, awesome work vNvNation.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Calling IRichEditOle interface methods
    By Niara in forum C Programming
    Replies: 2
    Last Post: 01-16-2009, 12:23 PM
  2. Why only 32x32? (OpenGL) [Please help]
    By Queatrix in forum Game Programming
    Replies: 2
    Last Post: 01-23-2006, 01:39 PM
  3. Linking OpenGL in Dev-C++
    By linkofazeroth in forum Game Programming
    Replies: 4
    Last Post: 09-13-2005, 10:17 AM
  4. Results - 4th contest, saturday, august 11
    By ygfperson in forum A Brief History of
    Replies: 17
    Last Post: 08-12-2002, 09:41 AM
  5. So.. what's the difference between DirectX and OpenGL?
    By QuestionC in forum Game Programming
    Replies: 6
    Last Post: 01-19-2002, 05:18 PM
Website Security Test