-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OpenGL Derelict3 #47
Comments
I planned on writing a wiki entry about this actually! I have been able to get these to work together, so maybe I'll just write it sooner so that you can get it working too. ;) |
It was going to be part of #21 |
Much appreciated, I got this one Idea and I want to use Derelict3; Using its Assimp3 and OpenGL libs. |
My last day of classes for this term is Thursday, so I should be able to make a very quick and dirty tutorial for you that weekend. I should also have a beta version of the next version of DSFML done the same weekend by the way. :D |
Looking forward to it! |
Meanwhile... I am going to try to figure it out myself. I would still like to hear what you got though, even if I figure it out first.(yours could be better) |
You're actually in luck! I have a little bit of spare time so I'll have a minimal example in a few minutes. |
I didn't have time to put in any code that actually draws stuff, but hopefully this will be enough to get you up and running. https://github.com/Jebbs/DSFML/wiki/Using-Derelict-OpenGL-with-DSFML You can pretty much follow any OpenGL tutorial from there! |
I got ARB and it doesn't crash! I wasn't far off either; I didn't apply all the values to context(Depth) and I didn't reload after I made the window! Thanks man! Also... would setActive(bool) have an effect on anything? |
Only if you want to switch between windows or render targets. You have to make a context active before you can draw using it. |
I want to know how to get Derelict 3 paired with dsfml. Whats the best way to go about setting that up? I am probably not the only one wanting to find out how to do that as well... so it should be answered.
Currently I got it to compile with dsfml but my problem seems to be a issue with OpenGL context and I am kinda clueless on where to start first.
I do know how to draw OpenGL with SFML but with dsfml... Kinda clueless.
The text was updated successfully, but these errors were encountered: