Giter Club home page Giter Club logo

Comments (10)

Jebbs avatar Jebbs commented on August 24, 2024

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.

Jebbs avatar Jebbs commented on August 24, 2024

It was going to be part of #21

from dsfml.

auRose94 avatar auRose94 commented on August 24, 2024

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.

Jebbs avatar Jebbs commented on August 24, 2024

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.

auRose94 avatar auRose94 commented on August 24, 2024

Looking forward to it!

from dsfml.

auRose94 avatar auRose94 commented on August 24, 2024

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.

Jebbs avatar Jebbs commented on August 24, 2024

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.

Jebbs avatar Jebbs commented on August 24, 2024

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.

auRose94 avatar auRose94 commented on August 24, 2024

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.

Jebbs avatar Jebbs commented on August 24, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.