Nyar
A real-time renderer for Nodens, built on the Vulkan graphics API as a learning exercise. It starts from the Khronos "Drawing a triangle" tutorial and grows, step by step, into a clean rendering API for Nodens applications.
Where it is today
Nyar is at the start of its path. What runs today is the Khronos Drawing a triangle tutorial, adapted to run inside a Nodens application. It is a known-good baseline, not yet the renderer.
Where it is going
The plan, in order. Progress is tracked in the milestones.
- 01 · Now
Finish the tutorial
Get the whole Khronos tutorial running inside a Nodens application.
- 02 · Next
Refactor into an API
Reshape that working code, step by step, into a dedicated renderer with a clear public interface.
- 03 · Then
Used by Nodens apps
Nodens applications import Nyar and draw their scenes through it, while Nodens keeps the window and the frame loop.
Follow along
Linux is the supported setup for now.
References
- Akenine-Möller, T., Haines, E., Hoffman, N., Pesce, A., Iwanicki, M., & Hillaire, S. (2019). Real-time rendering (4th ed.). CRC Press.
- Castorina, M., & Sassone, G. (2023). Mastering graphics programming with Vulkan: Develop a modern rendering engine from first principles to state-of-the-art techniques. Packt Publishing.
- Eisemann, E. (Ed.). (2012). Real-time shadows. CRC Press.
- Gregory, J. (2019). Game engine architecture (3rd ed.). CRC Press.
- Lengyel, E. (2019). Foundations of game engine development: Vol. 2. Rendering. Terathon Software.
- Marrs, A., Shirley, P., & Wald, I. (Eds.). (2021). Ray tracing gems II: Next generation real-time rendering with DXR, Vulkan, and OptiX. Apress. https://doi.org/10.1007/978-1-4842-7185-8
- Pharr, M., Jakob, W., & Humphreys, G. (2017). Physically based rendering: From theory to implementation (3rd ed.). Morgan Kaufmann. https://www.pbr-book.org/
- Vulkan Documentation Project. (n.d.). Vulkan documentation. https://docs.vulkan.org/spec/latest/index.html
- Woo, A., & Poulin, P. (2019). Shadow algorithms data miner. CRC Press.