Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 8 of 8

Thread: OpenGL C++

  1. #1
    Junior Member Newbie
    Join Date
    May 2008
    Posts
    15

    OpenGL C++

    Is there a C++ wrapper thats very close to the normal C OpengL api? Ones I have found are really outdated.

  2. #2
    Senior Member OpenGL Pro Zengar's Avatar
    Join Date
    Sep 2001
    Location
    Germany
    Posts
    1,932

    Re: OpenGL C++

    Why would you need one?

  3. #3
    Junior Member Newbie
    Join Date
    May 2008
    Posts
    15

    Re: OpenGL C++

    Because I hate using C :P

  4. #4
    Junior Member Newbie
    Join Date
    May 2008
    Location
    Phoenix, AZ, USA
    Posts
    1

    Re: OpenGL C++

    Are you looking for an object-oriented wrapper that encapsulates the functionality of OpenGL into classes or a simple wrapper around a drawable context that you can then use with standard OpenGL calls?

    If you are seeking the latter then you may wish to consider gtkmm and gtkglextmm which provide a good solution for C++ and OpenGL as well as good integration with the underlying UI. I believe that Qt from Trolltech also provides similar functionality.

  5. #5
    Senior Member OpenGL Pro Zengar's Avatar
    Join Date
    Sep 2001
    Location
    Germany
    Posts
    1,932

    Re: OpenGL C++

    Quote Originally Posted by Eckos
    Because I hate using C :P
    This is really strange, as they are both actually the same

  6. #6
    Junior Member Newbie
    Join Date
    May 2008
    Posts
    15

    Re: OpenGL C++

    not really perce. Since C doesn't have a stricter conformance. No class/struct objects. It does have struct but it's different from C++'s. etc

  7. #7
    Senior Member OpenGL Pro Zengar's Avatar
    Join Date
    Sep 2001
    Location
    Germany
    Posts
    1,932

    Re: OpenGL C++

    My point was that I don't imagine anything useful coming from creating a C++ wrapper for OpenGL calls (I am fully aware of differences between C++ and C); to be honest, such wrapper is really pointless in my eyes. Can you provide me with a link to that "outdated" ones, I would really love to have a look at this curiosity.

  8. #8
    Junior Member Newbie
    Join Date
    May 2008
    Posts
    15

    Re: OpenGL C++

    Yes I use OpenGL with Qt. And this one is.

    http://www.nigels.com/glt/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •