diff options
| author | skal <pascal.massimino@gmail.com> | 2026-02-06 08:05:20 +0100 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-02-06 08:05:20 +0100 |
| commit | 8ded2005d441f8aab44c833fc658d9622c788ebd (patch) | |
| tree | efaf714b636788148db583903bfbff3b015f3f58 /assets/final/shaders/render/scene_query_linear.wgsl | |
| parent | 1ec5d1ae48d1dd3290992ba63a8ec581af02b9dd (diff) | |
feat(tests): Add test_mesh tool for OBJ loading and normal visualization
Implemented a new standalone test tool 'test_mesh' to:
- Load a .obj file specified via command line.
- Display the mesh with rotation and basic lighting on a tiled floor.
- Provide a '--debug' option to visualize vertex normals as cyan lines.
- Updated asset_packer to auto-generate smooth normals for OBJs if missing.
- Fixed various WGPU API usage inconsistencies and build issues on macOS.
- Exposed Renderer3D::GetVisualDebug() for test access.
- Added custom Vec3 struct and math utilities for OBJ parsing.
This tool helps verify mesh ingestion and normal computation independently of the main demo logic.
Diffstat (limited to 'assets/final/shaders/render/scene_query_linear.wgsl')
0 files changed, 0 insertions, 0 deletions
