diff --git a/src/docs/blueprint.md b/src/docs/blueprint.md index 83badb2..c20c5f9 100644 --- a/src/docs/blueprint.md +++ b/src/docs/blueprint.md @@ -534,245 +534,7 @@ mvs_solutions: value: ShaderProperty ``` ---- -# TASKS - -```yaml -- id: TASK-001 - title: 项目初始化 - description: "创建项目结构、CMake配置、基础构建系统" - module: Core - output: - type: directory - path: "UnityEngine/" - verification: - - criterion: "CMakeLists.txt创建成功" - - criterion: "项目能编译成功" - priority: critical - status: pending - -- id: TASK-002 - title: 实现Core基础库 - description: "实现Vector3, Matrix4x4, Quaternion等基础数学类型" - module: Core - depends_on: [TASK-001] - output: - type: directory - path: "UnityEngine/Core/Math/" - verification: - - criterion: "单元测试覆盖基础运算" - priority: critical - status: pending - -- id: TASK-003 - title: 实现内存分配器 - description: "实现基础内存管理" - module: Core - depends_on: [TASK-001] - output: - type: file - path: "UnityEngine/Core/Memory/Allocator.h" - verification: - - criterion: "基础malloc/free正常" - priority: high - status: pending - -- id: TASK-004 - title: 实现Platform抽象层 - description: "创建IWindow, IApplication接口和基础实现" - module: Platform - depends_on: [TASK-001] - output: - type: directory - path: "UnityEngine/Platform/" - verification: - - criterion: "接口定义完整" - - criterion: "Windows实现可用" - priority: critical - status: pending - -- id: TASK-005 - title: 实现MVS-001 最小渲染 - description: "直接拼凑代码,渲染三角形" - module: RHI - depends_on: [TASK-004] - mvs_related: MVS-001 - output: - type: directory - path: "UnityEngine/MVS/mvs_001/" - verification: - - criterion: "MVS-001验收通过" - priority: critical - status: pending - -- id: TASK-006 - title: 实现Scene模块 - description: "实现GameObject, Transform, Scene基本功能" - module: Scene - depends_on: [TASK-002] - output: - type: directory - path: "UnityEngine/Scene/" - verification: - - criterion: "MVS-002验收通过" - priority: critical - status: pending - -- id: TASK-007 - title: 实现MVS-002 场景系统验证 - description: "测试场景层级功能" - module: Scene - depends_on: [TASK-006, TASK-004] - mvs_related: MVS-002 - output: - type: file - path: "UnityEngine/MVS/mvs_002/test_scene.cpp" - verification: - - criterion: "MVS-002验收通过" - priority: critical - status: pending - -- id: TASK-008 - title: 实现RHI模块 - description: "完善RHI抽象层" - module: RHI - depends_on: [TASK-005] - output: - type: directory - path: "UnityEngine/Rendering/RHI/" - verification: - - criterion: "Vulkan后端完整实现" - priority: high - status: pending - -- id: TASK-009 - title: 实现ShaderManager - description: "Shader编译和管理" - module: ShaderManager - depends_on: [TASK-008] - output: - type: file - path: "UnityEngine/Rendering/ShaderManager.h" - verification: - - criterion: "能加载和编译简单Shader" - priority: high - status: pending - -- id: TASK-010 - title: 实现RenderPipeline - description: "渲染管线调度" - module: RenderPipeline - depends_on: [TASK-008, TASK-009] - output: - type: file - path: "UnityEngine/Rendering/Pipeline.h" - verification: - - criterion: "能执行基本渲染流程" - priority: high - status: pending - -- id: TASK-011 - title: 实现Camera组件 - description: "相机投影、视角控制" - module: Camera - depends_on: [TASK-006, TASK-002] - output: - type: file - path: "UnityEngine/Scene/Component/Camera.h" - verification: - - criterion: "透视投影正确" - - criterion: "可控制视角" - priority: high - status: pending - -- id: TASK-012 - title: 实现Asset加载模块 - description: "资源加载系统" - module: AssetLoader - depends_on: [TASK-001] - output: - type: directory - path: "UnityEngine/Asset/" - verification: - - criterion: "能加载PNG/JPG" - - criterion: "能加载OBJ" - priority: medium - status: pending - -- id: TASK-013 - title: 实现MVS-003 完整渲染 - description: "整合所有子系统,渲染立方体" - module: Engine - depends_on: [TASK-010, TASK-011, TASK-012] - mvs_related: MVS-003 - output: - type: file - path: "UnityEngine/MVS/mvs_003/engine.cpp" - verification: - - criterion: "MVS-003验收通过" - priority: critical - status: pending - -- id: TASK-014 - title: 实现Physics模块 - description: "物理世界模拟" - module: PhysicsWorld - depends_on: [TASK-002] - output: - type: directory - path: "UnityEngine/Physics/" - verification: - - criterion: "MVS验证通过" - priority: medium - status: pending - -- id: TASK-015 - title: 实现Scripting模块 - description: "C#脚本运行时集成" - module: Scripting - depends_on: [TASK-001] - output: - type: directory - path: "UnityEngine/Scripting/" - verification: - - criterion: "MonoBehaviour生命周期正确" - priority: low - status: pending -``` - ---- - -# CONSTRAINTS - -```yaml -runtime: - language: C++17 - compiler: [clang, gcc, msvc] - stdlib: stl - build_system: cmake - -quality: - - "每次commit必须可编译" - - "核心模块必须有单元测试" - - "禁止裸指针,必须使用智能指针" - - "所有类必须提供虚析构函数" - -security: - - "禁止硬编码路径" - - "资源路径需验证合法性" - -performance: - - "单帧耗时 < 16ms (60FPS)" - - "内存分配使用对象池" - - "渲染调用批量提交" - -compatibility: - - "支持Windows 10+" - - "支持Linux (Ubuntu 20.04+)" - - "支持macOS 12+" - - "Vulkan 1.2+ / OpenGL 4.5+ / DirectX 12" -``` ---