alphafetusandClaude Sonnet 5 9a93c0d189 feat: add submesh support for mesh loading and rendering
Meshes now track per-primitive submesh ranges (index range + source
material index) instead of one flat index range each. glTF meshes get
one submesh per primitive; OBJ meshes get a single default submesh
until .mtl loading exists. MeshRegistry rewrites these into offsets
into its shared index buffer, and the renderer issues one draw call
per submesh so each can later be bound to its own material.

Also fixes app.rs to match the current MeshRegistry API (load_scene
instead of the removed from_scene, and Option-wrapped buffers).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01986QNHM1cUsnRskKvBbbuo
2026-09-10 11:31:05 -04:00
2026-04-16 11:45:26 -04:00
2026-05-08 16:51:18 -04:00
2026-08-08 13:44:22 -04:00
2026-04-16 11:45:26 -04:00
S
Description
A simple Vulkan rendering engine, written in Rust.
96 MiB
0 Stars 1 Watchers 0 Forks
Languages
Rust 94.6%
GLSL 5.4%