r/opengl • u/scavenger-2014 • 5d ago
Started Learning OpenGL
Enable HLS to view with audio, or disable this notification
I started Learning OpenGL recently. I took me so goddam time to just make a triangle and I don't even remember why I stared this. Oh, I remember. To make a Boids simulation. Yeah, learning OpenGL, just to make a Boids simulation. Now, you may wondering, is this guy stupid? yes. And very delusional. This is basically the story of every project I ever stared.
Okay, I know there are much more simpler ways to make a Boids simulation. But what if I want to make lots of boids. I mean a lot.
And the next question is, Why you need boids? Idk. I will think about it after I made it. Wish me luck.
Any advice?
12
u/corysama 5d ago
If you want a lot, you are going to want to learn compute shaders.
What are you learning from? As soon as you get warmed up, step up to "Modern OpenGL". Direct State Access, SSBOs, instanced rendering. There are only a few tutorials. So, if you google around you'll find all of them.
2
u/TransPixel28 5d ago
Try to do it in Vulkan >:
2
u/JongoFETT234 2d ago
May God help you on your journey brotherπ
1
u/Own-Amphibian-3731 5d ago
oh cool
1
u/Atomic_Simz 5d ago
π‘π‘π‘
1
u/idkfawin32 5d ago
I love the title of the project. This reminds me of the default triangle project in DevCPP
1
u/geraT-wogl 5d ago
https://wogl.io a fun reading about glsl while taking a π©
1
u/mikul_ 5d ago
ADHD by any chance? π
1
u/mikul_ 5d ago
https://youtu.be/bqtqltqcQhw?is=wDd7XbYHmWz9dvDt
1
u/Nova_Price 5d ago
OpenGL was really fun for me too especially when I made my own voxel engine with it.. it was fun
1
u/Aggravating-Break-33 2d ago
I only learn a little of openGL then I abnormal
1
u/Alex_D77 1d ago
No need to waste time. Use donut framework
1
u/WispTheWanderer1 1d ago
I'm so, so sorry. I'm in the same boat
1
u/SeaweedGroove 1d ago
Congratulations, it's a basic but very important process
1
u/vv_builder 1d ago
Hi, I was at the same point 2 years ago. the initial struggle is real. i think these sites can make learning easy. they did for me. https://thebookofshaders.com/ - this one is great for interactive learning. i also followed Inigo's articles. he is the co-creator of Shadertoy - https://iquilezles.org/ . I used to understand GLSL code in Shadertoy too.
0
u/LionR6s 5d ago edited 5d ago
You aren't making it in Vulkan, so it's not stupid. (But you could always do it in Vulkan)
1
u/Tasgall 5d ago
Better question: why wouldn't you want an absolute fuckton of boids? Go big or go home.
Good work so far, and good luck with the project :)