
西风逍遥游andCursor Agent
0a2e56cb34
feat(map): 动态视野系统 Phase A/B/C (#21)
* docs: design 2D/3D compatible dynamic FOV system
Add a map-module FOV/FoW design based on public shadowcasting and
3D visibility references, with staged grid2d/heightmap/volume APIs
aligned to Pathfinder conventions.
Co-authored-by: 西风逍遥游 <sunxfancy@gmail.com>
* feat(map): implement Phase A dynamic FOV with shadowcasting
Add Fov facade with multi-revealer recursive shadowcasting, explored
memory, and opaque-GID sync; expose Map.newFov / newFovSize bindings
and cover behavior in map_fov tests.
Co-authored-by: 西风逍遥游 <sunxfancy@gmail.com>
* feat(map): implement FOV Phase B heightmap, volume, and masks
Add raycast/permissive algorithms, heightmap cliffs, volume slice
shadowcasting with vertical extend, dirty-skip compute, and CPU R8
mask export; cover with map_fov Phase B tests and docs.
Co-authored-by: 西风逍遥游 <sunxfancy@gmail.com>
* feat(map): complete FOV Phase C hex, rectangle, and GPU masks
Add hex topology shadowcasting, rectangle-based occlusion FOV,
soft perception/stealth detection helpers, and RGBA8 mask Texture
upload via buildMaskTexture; cover with Phase C map_fov tests.
Co-authored-by: 西风逍遥游 <sunxfancy@gmail.com>
---------
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2026-08-11 02:12:33 +08:00
..
2026-08-09 21:41:58 +08:00
2026-08-10 21:46:33 +08:00
2026-08-09 21:41:58 +08:00
2026-08-10 00:43:11 +00:00
2026-08-09 21:41:58 +08:00
2026-08-11 02:12:33 +08:00
2026-08-09 21:41:58 +08:00
2026-08-10 14:03:37 +08:00
2026-08-11 00:28:49 +08:00
2026-08-09 21:41:58 +08:00
2026-08-09 21:41:58 +08:00
2026-08-11 02:12:33 +08:00
2026-08-09 21:41:58 +08:00
2026-08-11 00:28:49 +08:00
2026-08-10 13:02:57 +08:00
2026-08-11 00:28:49 +08:00
2026-08-10 00:43:11 +00:00
2026-08-11 02:12:33 +08:00
2026-08-10 19:36:16 +08:00
2026-08-09 21:41:58 +08:00
2026-08-09 21:41:58 +08:00
2026-08-09 21:41:58 +08:00
2026-08-09 16:49:59 +00:00
2026-08-10 13:03:46 +08:00
2026-08-11 00:28:49 +08:00