8 ms·
Same sentiment here. My litmus test is - after creating a window - "how many lines of code does it take to render a triangle?". With the old OpenGL API you cou
by nuxi 2mo ago
Same sentiment here. My litmus test is - after creating a window - "how many lines of code does it take to render a triangle?".
With the old OpenGL API you could do this in like 10 lines of code (probably even less with SGI's GL).
With the new/shader-based API, well... https://learnopengl.com/Getting-started/Hello-Triangle https://learnopengl.com/Getting-started/Hello-Triangle
Vulkan - I don't even want to know.
- DavidPiper 2mo ago> Vulkan - I don't even want to know Almost 1000: https://github.com/Overv/VulkanTutorial/blob/main/code/15_hello_triangle.cpp https://github.com/Overv/VulkanTutorial/blob/main/code/15_he... (From Chapter 15 of the Vulkan Tutorial from vulkan-tutorial.com)