How nicholasgallina/nemesis-engine works
Nemesis is a Vulkan-based real-time 3D rendering engine. Its user-facing workflow is to launch the application, interact with a camera and scene objects, and render those objects and point lights to a window. The architecture separates application orchestration, Vulkan/window infrastructure, scene and model data, and rendering systems. The README documents lighting, transparency, keyboard camera control, and tinyobjloader model loading; source excerpts are incomplete, so edges for documented features are included only where their runtime connections are supported or explicitly described.
Main entry points: first_app.cpp Application Loop · nre_pipeline.cpp Graphics Pipeline · nre_model.cpp Model Loading · simple_render_system.cpp Scene Rendering
Components 19
Application
- Program Entry
src/main.cpp - Application Loop
src/first_app.cpp
Vulkan Platform
- Window
src/nre_window.cpp - Vulkan Device
src/nre_device.cpp - Swap Chain
src/nre_swap_chain.cpp - Frame Renderer
src/nre_renderer.cpp - GPU Buffers
src/nre_buffer.cpp - Descriptors
src/nre_descriptors.cpp
Scene Data
- Keyboard Controller
src/keyboard_movement_controller.cpp - Camera
src/nre_camera.cpp - Game Objects
src/nre_game_object.cpp - Model Loading
src/nre_model.cpp
Rendering
- Frame Context
src/nre_frame_info.hpp - Graphics Pipeline
src/nre_pipeline.cpp - Scene Rendering
src/systems/simple_render_system.cpp - Point Lighting
src/systems/point_light_system.cpp - Shader Programs
shaders
Other components
- User
- tinyobjloader
external/tinyobjloader/tiny_obj_loader.h
Connections 24
- User → Application Loop: interacts with
README.md - Program Entry → Application Loop: starts
src/main.cpp - Application Loop → Window: creates
src/first_app.cpp - Application Loop → Vulkan Device: uses
src/first_app.cpp - Application Loop → Frame Renderer: drives frames
src/first_app.cpp - Application Loop → Keyboard Controller: updates controls
src/first_app.cpp - Application Loop → Camera: updates view
src/first_app.cpp - Application Loop → Game Objects: maintains scene
src/first_app.cpp - Application Loop → Descriptors: configures
src/first_app.cpp - Application Loop → GPU Buffers: uploads frame data
src/first_app.cpp - Vulkan Device → Window: creates surface
src/nre_device.cpp - Frame Renderer → Swap Chain: uses
- Application Loop → Scene Rendering: invokes
src/first_app.cpp - Application Loop → Point Lighting: invokes
src/first_app.cpp - Scene Rendering → Frame Context: reads context
- Point Lighting → Frame Context: reads context
- Scene Rendering → Graphics Pipeline: binds pipeline
- Point Lighting → Graphics Pipeline: binds pipeline
- Game Objects → Model Loading: holds model
- Model Loading → GPU Buffers: uses buffers
- Model Loading → tinyobjloader: loads mesh data
README.md - Graphics Pipeline → Shader Programs: loads bytecode
src/nre_pipeline.cpp - Graphics Pipeline → Vulkan Device: creates Vulkan pipeline
src/nre_pipeline.cpp - Keyboard Controller → Game Objects: moves object