Commit Graph

5648 Commits

Author SHA1 Message Date
f0e7179068 Update asset path in serialization tests 2026-05-18 16:17:59 +02:00
ac5c656b0e Test: Add serialization tests for asset bundling (images, GLTF) 2026-05-18 16:16:44 +02:00
5cdff4b080 Add validation tests for custom material properties and asset references 2026-05-18 16:16:30 +02:00
611ef16fd5 Test: Ensure project custom materials and texture assets round-trip correctly 2026-05-18 16:16:15 +02:00
96f22195cd Test: Ensure starter materials without 'kind' are correctly migrated to read-only starter materials 2026-05-18 16:16:05 +02:00
9d8cb46872 Add test case for round-tripping custom PBR materials with image texture references 2026-05-18 16:15:57 +02:00
360bff74d9 Update imports in serialization tests to include createCustomMaterialDef 2026-05-18 16:15:57 +02:00
21f4e62cec test(domain): Ensure custom materials clear texture references when assets are deleted 2026-05-18 16:15:19 +02:00
2c5a3dad1f feat(test): Add comprehensive unit tests for custom material commands 2026-05-18 16:15:19 +02:00
fc20f60b1b Add styling for map components, dense select inputs, and material items 2026-05-18 16:13:18 +02:00
910eeb26df auto-git:
[change] src/app/App.tsx
2026-05-18 16:13:07 +02:00
82b0327499 Implement custom material creation, update, and texture import logic 2026-05-18 16:12:18 +02:00
bf14a16669 Extract custom material reference when inspecting materials 2026-05-18 16:12:18 +02:00
26be5d6544 Filter project assets to include material map image assets 2026-05-18 16:12:18 +02:00
9c00ae4c7e Add isMaterialMapImageAsset helper function for asset type checking 2026-05-18 16:10:47 +02:00
518e40b79e Update fallback material name to "Default Whitebox" 2026-05-18 16:10:47 +02:00
5b9b00bfb6 Refactor material tile size calculation using resolveMaterialUvTileSizeMeters 2026-05-18 16:10:11 +02:00
697f134f26 Feat: Implement custom material support and texture slot handling 2026-05-18 16:09:58 +02:00
1310a3b491 auto-git:
[change] src/assets/image-assets.ts
2026-05-18 16:09:41 +02:00
82a6f7e9fd auto-git:
[add] src/commands/set-custom-material-texture-command.ts
2026-05-18 16:09:41 +02:00
7488a6c0f5 auto-git:
[add] src/commands/update-custom-material-command.ts
2026-05-18 16:09:41 +02:00
4d8ab49ea6 auto-git:
[add] src/commands/create-custom-material-command.ts
2026-05-18 16:09:41 +02:00
82d4b62f90 Enhance material registry parsing to support custom materials 2026-05-18 16:08:14 +02:00
a434c91b55 Refactor material texture cache management to use generic material logic and improve cleanup 2026-05-18 16:07:59 +02:00
41d09ebc18 Dynamically configure physical materials using custom material properties 2026-05-18 16:07:38 +02:00
a86261dd4c Improve road surface material creation to support custom material properties 2026-05-18 16:07:22 +02:00
c4b8a25f97 Enhance material configuration to support custom physical material properties 2026-05-18 16:07:06 +02:00
6f0d631cca Update material texture handling to use general material rendering types 2026-05-18 16:06:56 +02:00
849ce834ea auto-git:
[change] src/rendering/terrain-layer-material.ts
2026-05-18 16:06:56 +02:00
880bbf0d3d Update material creation to support custom material properties 2026-05-18 16:03:07 +02:00
ae42e4243a Add material texture cache cleanup method 2026-05-18 16:03:07 +02:00
b2530191c1 Refactor material cache cleanup and rebuild scene elements (terrains, roads, brushes) 2026-05-18 16:02:46 +02:00
8adcaefe4b Refactor texture set creation and disposal to use generic Material types 2026-05-18 16:02:19 +02:00
e35452d6d6 Update CachedMaterialTexture to use MaterialTextureSet 2026-05-18 16:02:18 +02:00
dcfb4ae05f Update material imports to use general rendering utilities 2026-05-18 16:01:39 +02:00
a49bb80849 Simplify texture disposal logic in material rendering 2026-05-18 16:01:11 +02:00
85cbf330bc Implement material signature and texture set management 2026-05-18 16:01:11 +02:00
0264e99578 Include material cleanup when deleting project assets 2026-05-18 16:01:11 +02:00
d8205b0301 Clean up material references when deleting project assets 2026-05-18 16:00:08 +02:00
c610fce5e9 Validate material definitions within scene documents 2026-05-18 16:00:08 +02:00
4e6162ef73 Implement comprehensive material definition validation logic 2026-05-18 15:59:32 +02:00
d72e49859e Import material definition types for validation 2026-05-18 15:59:32 +02:00
258e5b2ffb Remove custom PBR material scene document version 2026-05-18 15:59:32 +02:00
5b5ae00d68 Refactor material definitions and update scene document versions to support custom PBR materials 2026-05-18 15:58:24 +02:00
a029a99d80 Refactor: Update material definition types to use a base interface and separate starter/custom definitions 2026-05-18 15:57:45 +02:00
ee5cb3023e Add unit tests for collecting terrain brush raycast objects 2026-05-18 15:40:40 +02:00
b601634dce Refactor terrain raycasting: Extract object collection logic into a dedicated helper function and update ViewportHost to use terrain-specific IDs. 2026-05-18 15:40:29 +02:00
8774cade72 Enhance EditorSimulationController tests for project-aware scheduling and build logic 2026-05-18 14:48:25 +02:00
b8fa59de38 Update test imports for project setup, entity creation, and scheduling 2026-05-18 14:48:15 +02:00
dd3fa6ee7d auto-git:
[change] src/app/App.tsx
2026-05-18 14:35:27 +02:00