:diamond_shape_with_a_dot_inside: Single-file glTF 2.0 loader and writer written in C99
Write a simple glTF viewer in OpenGL. This is a throw-away warm-up. So, don't fret over the code. Don't do anything complicated. Shoot for a simple, forward renderer for a simple, animated character with trivial Phong lighting, diffuse map, normal map and a basic directional shadow map. Use OpenGL ES 3.0/GL 4.3 API with no crazy features. Don't worry about performance. Use https://github.com/jkuhlmann/cgltf to load the files. KTX is a great container for textures.
Extremely Fast Compression algorithm
Getting lost in material models is tempting. But, at this point you are overdue for working on your own asset pipeline. glTF is great. But, you should learn how to do it yourself. The hardest part will be reading source asset files. The FBX SDK is painful. Assimp isn't great either. Writing your own exporter to your own intermediate text format from Maya or Blender would be good if you are up for it. From whatever source, make your own archive format and binary formats for meshes, animations, textures and scenes. Use https://github.com/lz4/lz4 for compression. You should be able to decompress a list of assets into a big linear array and use them right there with just a bit of pointer fix-up. Minimize the amount of memory you have to touch from start to finish. Data that is going to the GPU (textures, vertex/index buffers) should decompress straight into mapped buffers for fast uploads.
Deliver Cleaner and Safer Code - Right in Your IDE of Choice!. SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.
I just took a random screenshot and made it look prettier. [ I don't know if this counts as fanart ]
2 projects | reddit.com/r/PixelGun | 20 Dec 2021
Is it worth writing a software raytracer before going into hardware accelerated RTX?
2 projects | reddit.com/r/GraphicsProgramming | 23 Sep 2021
What's the best way to compress strings?
6 projects | reddit.com/r/cpp | 29 Jul 2021
Exomizer & Graforth
1 project | reddit.com/r/apple2 | 11 Jul 2021
Activision warns a standard 500GB PS4 may no longer fit Call of Duty: Warzone, Black Ops Cold War and Modern Warfare
1 project | reddit.com/r/Games | 25 Feb 2021