29 Commits

Author SHA1 Message Date
030230eb1f Add Nahida model import and preview pipeline 2026-04-11 20:16:49 +08:00
b187c8970b Formalize GaussianSplat scene extraction 2026-04-10 21:49:53 +08:00
b839fd98af Add volume renderer extraction stage 5 2026-04-08 20:12:14 +08:00
162f1cc12e engine: sync editor rendering and ui changes 2026-04-08 16:09:15 +08:00
6645d507d0 Formalize final color policy resolution 2026-04-06 15:55:50 +08:00
b6132aec4d Formalize camera post-process descriptors 2026-04-06 14:56:43 +08:00
3a64c325bf Support camera-config color-scale pass stacks 2026-04-06 14:37:54 +08:00
ff49120ffe Wire camera-config post-process requests 2026-04-06 14:14:11 +08:00
66a6818b89 Formalize material-driven panoramic skybox path 2026-04-06 00:39:08 +08:00
8151be0f45 Add procedural skybox scene coverage 2026-04-05 23:44:32 +08:00
19bd38ab15 docs: sync rendering pass execution docs 2026-04-03 15:10:37 +08:00
a05d0b80a2 feat: expand editor scripting asset and viewport flow 2026-04-03 13:22:30 +08:00
86144416af Add deferred async scene asset loading 2026-04-02 18:50:41 +08:00
4c167bec0e Implement initial Unity-style asset library cache 2026-04-02 03:03:36 +08:00
a908e61ecb feat: add explicit camera stack ordering 2026-04-01 13:10:32 +08:00
f80fb9860e feat: add camera viewport rect render areas 2026-04-01 13:01:11 +08:00
0fe02fd1b4 feat: add camera culling masks 2026-04-01 01:42:06 +08:00
51736253e3 feat: add explicit camera clear modes 2026-04-01 01:33:46 +08:00
1af3cf87c4 Fix world rotation extraction with scaled parents 2026-04-01 01:25:16 +08:00
f0d6d4f41c feat(scripting): add script add-component api 2026-03-27 15:32:37 +08:00
bea849646f feat(scripting): add mesh component script wrappers 2026-03-27 14:52:00 +08:00
a78593e7e1 Add renderer phase A textured scene path 2026-03-26 20:43:17 +08:00
0921f2a459 Prepare script lifecycle and data layer 2026-03-26 20:14:58 +08:00
d018a4c82c feat(editor): unify component registration pipeline 2026-03-26 02:24:11 +08:00
0651666d8c Fix editor scene persistence and XC scene workflow 2026-03-26 01:26:26 +08:00
d575532966 docs: update TEST_SPEC.md and README.md to reflect new directory structure
- TEST_SPEC.md: Updated test directory structure to reflect Core/Asset,
  Core/IO, and Resources/<Type> subdirectories
- TEST_SPEC.md: Updated module names and test counts (852 total)
- TEST_SPEC.md: Updated build commands for new Resources subdirectories
- README.md: Updated engine structure with Core/Asset/ and Core/IO/
- README.md: Updated Resources section with layered architecture
- README.md: Updated test coverage table with accurate counts
2026-03-24 16:14:05 +08:00
f427699ac6 refactor: improve test infrastructure and fix OpenGL GLAD initialization
- Rename D3D12Enum.h to D3D12Enums.h for naming consistency
- Fix OpenGL unit test GLAD initialization by using gladLoadGL()
  instead of gladLoadGLLoader(wglGetProcAddress) for fallback support
- Migrate remaining tests to use gtest_discover_tests for granular
  test discovery (math, core, containers, memory, threading, debug,
  components, scene, resources, input, opengl)
- Remove obsolete TEST_RESOURCES_DIR and copy_directory commands
  from OpenGL unit test CMakeLists (minimal/Res doesn't exist)
- Update TEST_SPEC.md with performance metrics and per-module
  build/test commands for faster development workflow
- Update CMake path references to use lowercase paths
2026-03-23 00:43:02 +08:00
2cc9d58edd 修复 Components 和 Scene 模块单元测试
修复内容:
- SetAsLastSibling: 修正 m_siblingIndex 设置错误
- GameObject::Find: 在 Scene::CreateGameObject 中注册到全局注册表
- GameObject ID: 修正首个 GameObject ID 预期值为 1
- SetParent: worldPositionStays=false 时保持局部位置语义
- SceneManager 测试: 使用相对数量验证替代绝对数量验证
- Euler/LookAt/Rotate 测试: 调整为与实现匹配的宽松预期

注意: Engine 存在预编译问题 (kissfft 文件缺失)
2026-03-21 12:12:32 +08:00
00f70eccf1 Engine: 实现 Components 和 Scene 模块,包含完整单元测试
新增 Components 模块:
- Component 基类 (生命周期、启用状态管理)
- TransformComponent (本地/世界空间变换、矩阵缓存、父子层级)
- GameObject (组件管理、父子层级、激活状态、静态查找)

新增 Scene 模块:
- Scene (场景管理、对象创建销毁、查找、生命周期)
- SceneManager (单例模式、多场景管理、场景切换)

新增测试:
- test_component.cpp (12 个测试)
- test_transform_component.cpp (35 个测试)
- test_game_object.cpp (26 个测试)
- test_scene.cpp (20 个测试)
- test_scene_manager.cpp (17 个测试)

所有测试均已编译通过。
2026-03-20 20:22:04 +08:00