3 ms·
For a beginner, it's a frustrating process. OpenGL's primary way of letting you know you messed up is by giving you a blank screen. This is much alleviated whe
by ucarion 9y ago
For a beginner, it's a frustrating process. OpenGL's primary way of letting you know you messed up is by giving you a blank screen.
This is much alleviated when you use a wrapper around OpenGL (e.g. Rust's `gfx`), but most people start with raw OpenGL.
- vvanders 9y agoThat doesn't change with Vulkan, screw up a transform/shader math/vertex format and you'll also end up with a blank screen. Ironically there's a bunch more debuggers that work with OpenGL as opposed to Vulkan(or know how to debug you're way out of a blank screen by tweaking shaders/api calls to eliminate things).
- and0 9y agoThe DirectX graphics debugger in Visual Studio is a godsend. It lets you analyze ever call and check every buffer for any "snapshot" of a frame you take. Very easy to identify things like misaligned data, etc, that would be impossible to find otherwise. (This feature broke on my desktop, though, and I still can't fix it for the life of me, but I'm past that point in my project development anyway.)
- vvanders 9y agoYup, most mobile GPU vendors have similar things for Android and they're incredibly useful for debugging and profiling.