From a281ffa32ea615670d369503692f057b2dc60e6f Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 19 Feb 2026 05:19:18 +0400 Subject: feat: Enhance model and texture loading with improved error handling and new features - Introduced `LoadedModel` and `LoadedTexture` structs for better encapsulation of model and texture data. - Added functions to load models and textures from archives, including support for resolving textures based on materials and wear entries. - Implemented error handling for missing textures, materials, and wear entries. - Updated the rendering pipeline to support texture loading and binding, including command-line arguments for texture customization. - Enhanced the `texm` crate with new decoding capabilities for various pixel formats, including indexed textures. - Added tests for texture decoding and loading to ensure reliability and correctness. - Updated documentation to reflect changes in the material and texture resolution process. --- crates/render-core/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/render-core/README.md') diff --git a/crates/render-core/README.md b/crates/render-core/README.md index 1b58aec..a58f64f 100644 --- a/crates/render-core/README.md +++ b/crates/render-core/README.md @@ -5,7 +5,7 @@ CPU-подготовка draw-данных для моделей `MSH`. Покрывает: - обход `node -> slot -> batch`; -- раскрытие индексов в triangle-list (`Vec<[f32;3]>`); +- раскрытие индексов в triangle-list (`position + uv0`); - расчёт bounds по вершинам. Тесты: -- cgit v1.2.3