This website works better with JavaScript
Kezdőlap
Felfedezés
Súgó
Regisztráció
Bejelentkezés
ChenJZ
/
City-Lifeline-Cockpit
Figyelés
1
Kedvenc
0
Másolás
0
Fájlok
Problémák
0
Beolvasztási kérések
0
Wiki
Fa:
f9c89ba169
Branch-ok
Tag-ek
master
City-Lifelin...
/
dynamic-component-service-master
/
openspec
/
changes
/
add-advanced-dynamic-grass-component
/
tasks.md
tasks.md
1.5 KB
Előzmények
Nyers
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.