ecf876d249
fix(many_cubes): use dynamic uniform buffer for per-entity rendering
...
Previous approach called write_buffer inside render pass which doesn't
work — GPU only sees the last value at submit time. Now pre-computes all
entity uniforms into a dynamic UBO and uses dynamic offsets per draw call.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-24 20:14:18 +09:00
19e37f7f96
feat: add many_cubes ECS demo with 400 entities
...
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-24 20:09:44 +09:00
59753b2264
feat(ecs): add World with type-erased storage, queries, and Transform component
...
Implements Task 3 (World: spawn/despawn, add/get/remove components, query/query2
with type-erased HashMap<TypeId, Box<dyn ComponentStorage>>) and Task 4 (Transform:
position/rotation/scale with matrix() building T*RotY*RotX*RotZ*S). 25 tests pass.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-24 20:07:17 +09:00
2d64d226a2
feat(ecs): add voltex_ecs crate with Entity, EntityAllocator, and SparseSet
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-24 20:05:15 +09:00
96cebecc6d
docs: add Phase 3a ECS implementation plan
...
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-24 20:02:50 +09:00
df06615de4
feat: add model viewer demo with OBJ loading, Blinn-Phong lighting, FPS camera
...
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-24 19:56:28 +09:00
71f6081dc9
feat(renderer): add BMP texture loader and GPU texture upload
...
Implements parse_bmp (24/32-bit uncompressed BMP to RGBA), GpuTexture with
wgpu 28.0 write_texture API (TexelCopyTextureInfo/TexelCopyBufferLayout),
bind_group_layout, white_1x1 fallback, and 3 BMP parser unit tests.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-24 19:52:35 +09:00
04ca5df062
feat(renderer): add Blinn-Phong shader, light uniforms, mesh pipeline
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-24 19:50:51 +09:00
ffd6d3786b
feat(renderer): add Camera and FpsController
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-24 19:49:23 +09:00
c7d089d970
feat(renderer): implement OBJ parser with triangle/quad support
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-24 19:49:23 +09:00
78dcc30258
feat(renderer): add MeshVertex, Mesh, and depth buffer support
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-24 19:47:59 +09:00
82e3c19b53
feat(math): add Mat4 with transforms, look_at, perspective
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-24 19:46:28 +09:00
c644b784a6
feat(math): add Vec2 and Vec4 types
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-24 19:45:28 +09:00
870c412270
docs: add Phase 2 rendering basics implementation plan
...
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-24 19:41:12 +09:00
81ba6f7e5d
feat: implement Phase 1 foundation - triangle rendering
...
- voltex_math: Vec3 with arithmetic ops, dot, cross, length, normalize
- voltex_platform: VoltexWindow (winit wrapper), InputState (keyboard/mouse),
GameTimer (fixed timestep + variable render loop)
- voltex_renderer: GpuContext (wgpu init), Vertex + buffer layout,
WGSL shader, render pipeline
- triangle example: colored triangle with ESC to exit
All 13 tests passing. Window renders RGB triangle on dark background.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-24 19:34:39 +09:00
56abc42cf8
chore: add .gitignore for Rust workspace
...
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-24 17:48:43 +09:00
c5b71b32b7
feat: initialize cargo workspace with voltex_math, voltex_platform, voltex_renderer
...
Phase 1 Task 1 - workspace scaffolding with stub crates
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-24 17:47:02 +09:00
40cb38fdc5
Add Phase 1 implementation plan
...
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-24 17:09:28 +09:00
ad3b1024b4
Update spec: resolve review issues (audio, scripting, GI, licensing)
...
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-24 16:35:45 +09:00
d31a8a8429
Add Voltex engine design specification
...
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-24 16:31:19 +09:00