rewind· 来源· @rewind02 · X·· 1 小时前精选AI 评分80
推荐理由
作者展示了用Fable和Opus构建浏览器端游戏的完整工作流,强调数学拟合与盲测替代主观评分。
正文 · 原文
dark fantasy action game got in the browser with fable 5.2 + opus 5.5 + three.js...
greymourn: a knight on castle walls, a dragon breathing fire etc.
setup around a short prompt. here's the workflow:
- step 1: claude code: load 3 skills: action combat, self-scoring screenshots, and the dream loop
- step 2: fable 5.2: a 17-word opener: "recreate the castle level... make it playable. self-verify until perfect."
- step 3: fable 5.2: split the work into opus 5.5 threads, one per area, each owning its own files
- step 4: seedream: every asset alone on flat grey, characters in a strict a-pose with no weapon or cape
- step 5: tripo: each picture into a textured glb. prop prompts start with "only a rock"
- step 6: opus 5.5: skeleton, joints and every animation in code, since tripo models arrive as statues
- step 7: opus 5.5: write 51 tests for combat (stamina, roll timing, parry windows) before touching the look
- step 8: dream loop: screenshot the game, seedream repaints it with the same camera, and that becomes the target
- step 9: opus 5.5: change the engine until a live screenshot matches the repaint
- step 10: blind judges: a 4k before and after, shuffled as x and y. keep only wins or ties.
- step 11: seedream: 6 ui concepts, then "build it", then transparent pngs for the icons
- step 12: earshot skill + a sound library + ai music for the audio
never let an agent grade its own work. one thread scored its effects 8/10. a blind judge gave the same pictures a 3
aaa-looking game environments in the browser with Opus 5.5 + Three.js.. the look comes from a rendering pipeline, not from image gen tuning it with math instead of gut feeling: - step 1: opus 5.5: build a pbr pipeline in three.js from papers, talks and unreal’s published techniques - step 2: three.js: fft ocean, physical atmosphere, global illumination, volumetric clouds - step 3: three.js: gtao, volumetric fog, auto exposure, local tone mapping - step 4: references: a dozen frames from real games or film stills, picked by hand for weather, time and composition - step 5: opus 5.5: pick 7–8 sample areas per reference: sunlit grass, shaded grass, sky near the sun, distant water - step 6: opus 5.5: measure brightness, chroma and hue in each area, then the same areas in your render - step 7: opus 5.5: least-squares fit across 100+ points to find the parameters with the lowest error - step 8: three.js: render, measure, adjust, repeat until the numbers match don’t ask the ai for a “better-looking” scene. give it physics to render and numbers to hit在 X 查看被引用的帖子
来源:rewind · x.com