- New user docs: avatar, buildingfx, camera, database, dialogue, grid,
housegen, sceneloader, stylize, virtualgeometry (all written against the
actual addFunc surfaces; API quick-refs included). Wire them into MODULES.md.
- examples/voxel: streaming terrain + place/break demo (procedural atlas,
setTerrain + streamAround, DDA raycast picking, orbit camera). Script logic
verified locally (no script errors; 16 chunks / 3117 rects selected).
- README gallery links in both Readme.md and Readme.en.md.
- Script binding fixes discovered while writing the docs/examples:
* Graphics.setCanvas accepts null (and Canvas instances) so canvas sessions
can be ended from scripts; begin3DFrame/setMesh3DViewProj/setMesh3DView/
setMesh3DCameraPos now exposed for script-driven 3D (voxel etc.).
* SceneLoader.load/host exposed (previously only reload/status were bound).
3.5 KiB
3.5 KiB
示例渲染画廊(Example Render Gallery)
这里收录 EVEngine 自带示例的真实渲染截图:每张图都由引擎加载对应示例后,
把交换链上刚呈现的一帧通过 gfx.saveFramePng() 原样输出,没有经过外部截图工具,
也没有任何后期处理。截图在 Windows + 原生 GPU 环境下生成。
如何复现
# 方式一:直接运行示例(手动选择想看的画面)
eve run examples/weather
# 方式二:自动抓帧(引擎跑 N 帧后自行保存交换链帧并退出)
./scripts/capture_example.ps1 -Example weather -Out docs/images/examples/weather.png -Frames 300
scripts/capture_example.ps1 依赖仓库内的 scripts/capture_root.nut(一个复刻
load.nut 启动流程的包装根脚本),可用 -Eve 指定 eve 可执行文件路径。
能力一览
提示:更多示例见
examples/,部分示例以交互为主(如编辑器、卡牌、对话), 静态截图不足以体现其交互性,因此未收录在本画廊中。voxel(体素流式地形 + 建造/破坏)同样是交互式示例,由scripts/smoke_examples.sh在 CI 冒烟覆盖。












