13/12/20 - Creating a window #4
Locked
jakelacey2012
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
You can't draw anything to the screen if you don't have a window, so we need to learn how to create a window. I knew I wanted to use OpenGL for drawing onto the screen (mainly because its the only thing I've heard of :P) and I knew I wanted some platform agnostic API.
This is where I found GLFW, this tutorial does a pretty good job explaining how to configure it with windows, one critique I do have is that there are a lot of manual steps in order to configure this, it would be nice if I could run a command in the library could be linked for me.
This code here also does a pretty good job explaining how to setup the code, I've changed the structure somewhat so the interface is separate from the rest of my application.
What I would like to do is get to a code structure which looks something like this...
You can see what the code looks like currently at the time of writing here.
In the next post we'll draw something to this screen (#6)
Beta Was this translation helpful? Give feedback.
All reactions