4 ms·
Have you actually read the linked site beyond its name? The site is about fundamentals. Yes, it contains OpenGL code, but what it covers is the fundamentals of
by raincole 3mo ago
Have you actually read the linked site beyond its name? The site is about fundamentals. Yes, it contains OpenGL code, but what it covers is the fundamentals of real time graphics, not just OpenGL API.
- troupo 3mo ago> Have you actually read the linked site beyond its name? The site is about fundamentals. Is it? All the fundamentals are tied to how it's done in OpenGL with somewhat sparse explanations in between. And many "fundamentals" are literally something like #version 330 core struct Material {
- raincole 3mo agoYes, it is. Most articles there are practically API-agnostic. Just because the code examples happen to be written with OpenGL it doesn't mean it's about OpenGL. https://learnopengl.com/PBR/Lighting https://learnopengl.com/PBR/Lighting Even the code snippets start with "#version 330", if you implement these in another tech stack (say vulkan+slang) the relevant shader code would look very similar. It's quite strange to me that you think just because of "#version 330" it's not about fundamentals, tbh.
- troupo 3mo agoIt's not just because of that. Everything is steeped in OpenGL API. All the "fundamentals" are about OpenGL. Another link floated to the top of HN discussion just now, and every sibgle link there is better than these "fundamentals": https://news.ycombinator.com/item?id=49022038 https://news.ycombinator.com/item?id=49022038 E.g. "Computer Graphics from Scratch" https://gabrielgambetta.com/computer-graphics-from-scratch/ https://gabrielgambetta.com/computer-graphics-from-scratch/ or Mathematics for Computer Graphics https://www.amazon.co.uk/Mathematics-Computer-Graphics-John-Vince-ebook/dp/B000T09X0E/ https://www.amazon.co.uk/Mathematics-Computer-Graphics-John-...
- Jach 3mo agoHere's the Vulkan version of that: #version 450 struct Material { Despite the name, GLSL is still used all over the place in Vulkan pipelines. The site teaches you the shader approach (rather than the fixed function pipeline of the 90s) which is what the "modern" Vulkan stack uses too.
- troupo 3mo agoThat was the absolute minimal example of where "fundamentals" immediately devolve into a very specific code targeting a very specific API. See also sibling comment: https://news.ycombinator.com/item?id=49027094 https://news.ycombinator.com/item?id=49027094
- jplusequalt 3mo ago>covers is the fundamentals of real time graphics It does not cover all the fundamentals. It hardly explains the necessary math.