Comments (10)
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. ;)
from dsfml.
It was going to be part of #21
from dsfml.
Much appreciated, I got this one Idea and I want to use Derelict3; Using its Assimp3 and OpenGL libs.
My game is a 2D Platformer,Similar to Limbo(Technology wise, Not story or color scheme), but I got this cool idea to put 3D stuff in the background and keep the gameplay 2D to mess with people and give an "awe" factor and its seems like a simple thing to figure out because I can make the models in 3DS and use of assimp3 and openGL to render it.
from dsfml.
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
from dsfml.
Looking forward to it!
from dsfml.
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)
from dsfml.
You're actually in luck!
I have a little bit of spare time so I'll have a minimal example in a few minutes.
from dsfml.
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!
from dsfml.
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?
from dsfml.
Only if you want to switch between windows or render targets. You have to make a context active before you can draw using it.
from dsfml.
Related Issues (20)
- Revert to using Time instead of Duration
- Update some documentation to say 'struct' or 'interface' instead of 'class'
- Transform class is missing some overloads
- Complete ddox documentation is not built with dub
- Redirecting err doesn't work
- build.d is gross
- CI should build static libraries
- Deprecate using string/char and wstring/wchar when interfacing with SFML HOT 2
- Remove string/char and wstring/wchar usage from DSFML
- SoundRecorder segfault
- Outdated Dub Version? HOT 3
- DSFML linking errors HOT 1
- sfImage_copyImage wrong coordinates swapped
- Linker error (Offset FF584H Record Type 0091) when --build=profile HOT 1
- error: ‘setUpVector’ is not a member of ‘sf::Listener’ HOT 15
- Rename EventType to just Type
- Add send method to TcpSocket class that returns number of bytes sent
- keyboard input crashing macOS HOT 1
- window.d (113,2) Error undefined identifier WindowHandle
- ipaddress.d errors
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dsfml.