zeroGL
zeroGL copied to clipboard
A zero-dependencies, single-header 3D graphics library
In the example code of the Docs, you need to clear the depth buffer before the triangle will render. The successful depth test is the only part of the zgl_rasterize_triangle...
We currently support only BGRA32 colors. We should allow users to customize this when using the library. References: * https://wiki.libsdl.org/SDL2/SDL_PixelFormatEnum
Load GLTF data in the client app for rendering. This will probably require us to change our data formats for storing materials and other stuff. At first, it should only...
Add support for anti-aliasing in the library References: * https://www.youtube.com/watch?v=SoaXLQh3UQo
Make the project build for Linux and add build instructions/scripts. Add a build for Linux on the releases page.
We currently only deal with albedo and we don't render stuff in a physcally accurate way. We should implement PBR to get around that. References * https://www.youtube.com/watch?v=RRE-F57fbXw
Blend pixels we're drawing with cavas based on alpha. Currently, `color_t` doesn't support alpha. References * https://www.youtube.com/watch?v=aKnl8-qifvE * https://en.wikipedia.org/wiki/Alpha_compositing