How To Code C++ OpenGL Without FreeGlut

  • Thread starter Thread starter Deleted User
  • Start date Start date
  • Views Views 1,565
  • Replies Replies 6
D

Deleted User

Guest
I was wondering if it was possible to code OpenGL C++ without using the graphics library FreeGlut, and if so how? I have researched this topic thoroughly and all of the articles I has seen use FreeGlut none seem to use just plain OpenGL.
The reason I am trying to program OpenGL C++ without using FreeGlut is i was hoping I could code only using Atom text editor and g++, without downloading and installing a series of libraries and applications.
Thanks in advance for any light that can be shed upon this question.
 
There is a huge software stack and multiple layers of abstraction between you and the graphics card in modern PC's. It's almost impossible to start from scratch just because the shear amount of background knowledge you would need to dig down through the various layers is insane.

So as a general rule you will always need something like FreeGlut.

You can still just code in the text editor, though. #include-ing a few more headers shouldn't change anything, right?
 
There is a huge software stack and multiple layers of abstraction between you and the graphics card in modern PC's. It's almost impossible to start from scratch just because the shear amount of background knowledge you would need to dig down through the various layers is insane.

So as a general rule you will always need something like FreeGlut.

You can still just code in the text editor, though. #include-ing a few more headers shouldn't change anything, right?

Okay thank you for your reply
 
Here is one of the articles I am looking at
this guide seems to be about pre modern opengl (something around version 1.1) which has been deprecated a long time ago for a ton of reason. The learning curve for modern opengl is a bit steeper, but in the end you can much more things (per pixel lighting, normal mapping, the possibilities are pretty much endless).

I can recommend these guides: https://open.gl/introduction and https://learnopengl.com/
 
this guide seems to be about pre modern opengl (something around version 1.1) which has been deprecated a long time ago for a ton of reason. The learning curve for modern opengl is a bit steeper, but in the end you can much more things (per pixel lighting, normal mapping, the possibilities are pretty much endless).

I can recommend these guides: https://open.gl/introduction and https://learnopengl.com/

Thank you so much this will help me allot!^_^
 

Site & Scene News

Popular threads in this forum