u/whos-this-nerd

My first triangle in OpenGL
▲ 385 r/GraphicsProgramming+1 crossposts

My first triangle in OpenGL

Hello, World!

I have started learning graphics programming for a few days with the help of learnopengl.com and I feel like I learned quite a lot in these few days. Setting up an OpenGL 3.3 project with C++ in Visual Studio, Drawing a blank window with GLFW and then drawing an RGB triangle in it with OpenGL and GLSL. Learned about shaders, buffers and different OpenGL objects and their use.

I am really getting a lot interested in this field of computer science. but, I am also a bit nervous about it. As there is a lot mathematics involved in this which is my biggest weakpoint.

I would like to hear about how y'all got into graphics programming and what challenges did y'all face while learning it.

u/whos-this-nerd — 5 days ago
▲ 2 r/GraphicsProgramming+1 crossposts

My views on LearnOpenGL.com

Hi, I recently got interested in learning graphics programming with OpenGL and I've heard a lot about learnopengl.com. So, I gave it a try.

I just completed the "Hello Triangle" section of the page and honestly I learned quite well about vertex buffer objects, vertex shaders and vertex attribute objects. Though, honestly I had to ask ChatGPT about some concepts that didn't "click" to me immediately like the use of glVertexAttribPointer and why VAO is important. but, I finally got it.

The thing that I observed and which bothers me a bit is that the author explains a concept and drops the code snippets that correspond to that concept but, They don't tell you where the code should go in your existing codebase. In one moment it goes on to explain the use of VBO then drop some code snippets then in another moment how the vertex attribute pointers work then drop some other snippets and then finally explain the use of VAO for storing all those configurations and which buffer data it use and drop some snippets thereafter. but, It doesn't seem to explain how it all should be laid out in order. I had a hard time understanding it.

Okay, It could be just me. but, Anyways it's really a helpful resource. I might get used to it after a while.

I am just here to say Hi to the community. I hope I do well in my journey to learn graphics programming. Let me know what you think about this.

reddit.com
u/whos-this-nerd — 8 days ago