This website works better with JavaScript
首頁
探索
說明
註冊
登入
ChenJZ
/
City-Lifeline-Cockpit
關註
1
讚好
0
複刻
0
Files
問題管理
0
合併請求
0
Wiki
目錄樹:
4d80d30637
分支列表
標籤列表
master
City-Lifelin...
/
dynamic-component-service-master
/
openspec
/
changes
/
add-advanced-dynamic-grass-component
/
tasks.md
tasks.md
1.5 KB
文件歷史
原始文件
1. Change Scaffold
1.1 Create the
add-advanced-dynamic-grass-component
OpenSpec change.
1.2 Document the upstream architecture, retained component settings, removed scene settings, impact, and rollback plan.
2. Rendering Core
2.1 Port deterministic terrain generation and meadow-only sampling geometry.
2.2 Port deterministic area-weighted surface sampling.
2.3 Port the instanced grass layer with blade geometry, wind uniforms, appearance updates, and disposal.
2.4 Port the optional procedural wildflower layer with synchronized wind and disposal.
2.5 Externalize grass and wildflower vertex/fragment shaders under the component shader directory.
3. Vue Component
3.1 Add the Vue/tresjs component wrapper with clamped flat props and lifecycle ownership.
3.2 Coalesce structural prop changes and update wind/appearance props without a component remount.
3.3 Add the upstream MIT third-party notice.
4. Service Integration
4.1 Register the component defaults, transform, description, and config controls in
src/dcsConfig.ts
.
4.2 Add a dedicated preview asset.
4.3 Keep Sun, background, environment, camera, renderer, and generic preview settings out of the component and service config.
5. Validation
5.1 Review changed TypeScript/Vue/GLSL sources and inspect the final diff.
5.2 Confirm generic preview files and existing components remain unchanged.
5.3 Record that build/debug validation was skipped because the project rule forbids automatic execution.