Three.js 蒸汽机车驶过稻田,支持多机位切换

GPT-6 Astra Max 用 Three.js 建模了蒸汽机车并让它行驶在乡间铁路上,近景中车轮与连杆的运动尤为出色。

Claude Code + Three.js(仅代码)Wandy 2
真实模型 · 360°两者都基于同一张照片:左边是 Claude Code(Opus 5.5)用 Three.js 代码建模的一次未经修改的运行结果;右边是 Wandy 2。

创建精细的 3D 模型

单靠代码只能做出简单的形状。Wandy 2 能用一张照片生成带纹理的 3D 模型,直接用在同一个场景里。

Wandy3D 制作说明

作者没有公开提示词,因此我们写下了复现这个作品的方法。

Build a browser app in Three.js that shows a detailed black steam locomotive running along a railway through a Japanese countryside. Model the locomotive with a boiler, cab, tender, chimney, and coupled driving wheels with connecting rods that move correctly in sync with speed. Surround the track with terraced green rice paddies divided by narrow paths, irrigation channels, utility poles, scattered trees, a small farmhouse and rolling hills under a pale sky. Lay ballast and rails along a long straight and gentle curve. Add a small control bar at the bottom with speed slider, camera selection (trackside, chase, front, close wheel view) and toggles for scene elements. Animate the train continuously and loop the route. Use realistic matte shading and soft lighting. Deliver a self-contained web project. Done when the wheel and rod motion looks convincing from the close camera and the train runs smoothly through the paddies.

如何使用这条提示词

  1. 在编码智能体中把构建提示交给 GPT-6 Astra,要求生成 Three.js 网页应用。

  2. 更换车辆或场景,如有轨电车、雪地线路或沙漠路线,并调整机位预设。

  3. 运行后用近景机位检查车轮动作,再让它加入烟雾、音效或昼夜循环。

来自 Wandy3D

场景里需要一个真正的 3D 模型?

智能体只会用基本几何体搭场景。Wandy3D API 几分钟就能把一张照片或一段提示词变成带贴图的 GLB——从预付余额扣费,无需订阅。

  • Wandy 2每个模型 US$0.18
  • Wandy 1每个模型 US$0.09

余额永不过期 · 失败的任务自动退款 · 通过 API 生成的模型归你所有,可下载任意格式。

curl -s -X POST https://api.wandy3d.com/generate/cloud/ultra \  -H "Authorization: Bearer $WANDY3D_API_KEY" -F "file=@photo.jpg"# → {"task_id": "…"} — poll until "status" is "done":curl -s https://api.wandy3d.com/task/$TASK_ID/status \  -H "Authorization: Bearer $WANDY3D_API_KEY"# → {"model_id": "…"} — then GET /model/$MODEL_ID/export?format=glb

原帖你是作者吗? 请联系我们修改或删除此页面