#Setting up OpenGL
44 messages · Page 1 of 1 (latest)
When your question is answered use !solved to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.
Yoo, could you tell me what exactly you wanna set up
By the libs, do you mean OpenGL ?
So I started a few days ago trying to figure out how to use Vulkan. I got it downloaded and installed, and found the libs to set as dependancies in Visual Studio. Unfortunately, my pc doesn't support vulkan so i decided to try OpenGl instead. The official tut for setting up opengl just says 'every driver comes with it installed', but it doesnt say where the libs, or libraries to set as dependanies are
OpenGL is not a library
the l in gl stands for library
nothing really
it's an API
there's a random dll in your windows installation with all the opengl stuff, you need a loader to load that for you and then you can use OpenGL for your dev stuff
could you point me in the direction of how to do that
you need:
- Windowing library (SDL2, GLFW or just plain Windows stuff)
- OpenGL loader
use this generator.
https://glad.dav1d.de/
Web generator for the Glad tool
ok
put the version you want to load
be sure that your computer supports it
3.3 is a solid one
Thank you and let us know if you have any more questions!
This thread is now set to auto-hide after an hour of inactivity
vulkan is a much lower level
i guess i assumed OpenGl is older = lower level
for comparison, the hello triangle with vulkan has ~1500 lines, while a regular opengl hello triangle has 150
ew
back then it was even higher level
like reflection, water effects was embedded into your gpu and you only activated those
with lower level you can get better performance if you know what your'e doing
well, use modern OpenGL (>3.3 or atleast 2.1)
ok
do you have a windowing library already?
ill either use glfw or do it myself
oke
ive messed around with winapi plenty
Learn OpenGL . com provides good and clear modern 3.3+ OpenGL tutorials with clear examples. A great resource to learn modern OpenGL aimed at beginners.
this is a pretty good guide
C++ but it's very easy to adapt to C code
ya
whoops
np