Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: OpenGL Anyone?  (Read 7332 times)

0 Members and 1 Guest are viewing this topic.

con

  • Newbie
  • *
  • Posts: 12
    • View Profile
OpenGL Anyone?
« on: June 29, 2013, 10:47:06 pm »
Hi there, anyone attempted yet to use OpenGL4 with DSFML? Is there any wrapper recommended?

I found these, any recommendations?
https://github.com/Diggsey/OpenGL-D-Bindings
https://github.com/Dav1dde/glamour
https://github.com/aldacron/Derelict3

Also if you try something please let me know how you did it.  :)

Jebbs

  • Sr. Member
  • ****
  • Posts: 358
  • DSFML Developer
    • View Profile
    • Email
Re: OpenGL Anyone?
« Reply #1 on: June 30, 2013, 12:40:31 am »
I've successfully used Derelict3 to use openGL3+ functionality, and it's pretty easy to get it going.


Edit:

The directions for using Derelict3's openGL are in the README
DSFML - SFML for the D Programming Language.

Jebbs

  • Sr. Member
  • ****
  • Posts: 358
  • DSFML Developer
    • View Profile
    • Email
Re: OpenGL Anyone?
« Reply #2 on: August 12, 2013, 05:37:18 pm »
I posted a very minimal example on the DSFML wiki of using OpenGL via Derelict since it was requested there.

For any one else that is curious about how to use OpenGL with DSFML, you can see the tutorial here.

https://github.com/Jebbs/DSFML/wiki/Using-Derelict-OpenGL-with-DSFML
DSFML - SFML for the D Programming Language.