Commit Graph
4 Commits
Author SHA1 Message Date
西风逍遥游 1c755f8940 feat(scene): scene/script-ECS integration, generic links, serialization & picking
Scene module overhaul: per-node script entities (SceneObject/SceneEntity/NodeRef), script ECS view-cache perf, generic multi-link system (renderable/physics/camera/audio), API completeness (transform getters, hierarchy ops, quaternions, tags/layer), incremental transforms, id index, reconcile moves, node events, JSON serialization, ray/frustum picking, spatial-index sync and SceneLoader auto AABB. Includes Cmdline/PhysFS argv0 robustness fix for unit tests.
2026-08-17 22:45:18 +08:00
西风逍遥游 73f4034cf4 feat(ecosystem): enhance ECS functionality with dynamic entity management and new test cases
- Updated the ECS release method to ensure proper entity destruction.
- Introduced a countNodes function to track active entities in the ECS.
- Added new test cases for dynamic entity creation and destruction, ensuring correct behavior during updates.
- Enhanced existing tests to validate entity visibility and lifecycle management in various scenarios.
2026-08-13 17:18:32 +08:00
西风逍遥游andCursor Agent 5210135fff feat(gpgpu): bridge ECS systems to compute shaders (#20)
Add ShaderSystem so ECS batch updates can run as GLSL compute kernels:
pack float component fields into SSBOs, dispatch, and write back.

Script: eve.ShaderSystem extends eve.System with bindFields/update.
C++: gpgpu::ShaderSystem + EcsGpu.h View pack/unpack helpers.

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2026-08-10 21:20:44 +08:00
Cursor Agentand西风逍遥游 ee19dc6f55 feat: export script ECS Entity/Component/System/view API
Wire exposeECS into ModuleManager so Squirrel can define Component and
Entity classes (EntityContainer alias), iterate with eve.view, and drive
logic via eve.System. Reserve eve.Component for ECS (UI keeps UIComponent).

Co-authored-by: 西风逍遥游 <sunxfancy@gmail.com>
2026-08-08 08:11:50 +00:00