跳到正文
rewind· 来源· @rewind02 · X·· 57 分钟前精选AI 评分80
推荐理由

作者展示了用Fable和Opus构建浏览器端游戏的完整工作流,强调数学拟合与盲测替代主观评分。

正文 · AI 翻译

暗黑奇幻动作游戏通过 fable 5.2 + opus 5.5 + three.js 在浏览器中实现了...

greymourn:城墙上的骑士、喷火的巨龙等。

基于简短提示搭建。以下是工作流程:

  • 第 1 步:claude code:加载 3 项技能:动作战斗、自我评分截图和 dream loop(梦境循环)
  • 第 2 步:fable 5.2:一个 17 个词的开场白:“重现城堡关卡……使其可玩。自我验证直至完美。”
  • 第 3 步:fable 5.2:将工作拆分为 opus 5.5 线程,每个区域一个,各自拥有自己的文件
  • 第 4 步:seedream:每个资产单独置于纯灰色背景上,角色采用严格的 a-pose(A字姿势),不带武器或披风
  • 第 5 步:tripo:每张图片转换为带纹理的 glb。道具提示以“只有一块石头”开头
  • 第 6 步:opus 5.5:用代码编写骨骼、关节和所有动画,因为 tripo 模型是以雕像形式呈现的
  • 第 7 步:opus 5.5:在触碰外观之前,先为战斗编写 51 项测试(耐力、翻滚时机、格挡窗口)
  • 第 8 步:dream loop:对游戏进行截图,seedream 使用相同的相机视角重新绘制它,并将其作为目标
  • 第 9 步:opus 5.5:调整引擎,直到实时截图与重绘图像匹配
  • 第 10 步:盲测评审:一张 4k 分辨率的前后对比图,随机打乱为 x 和 y。仅保留胜出或平局的结果。
  • 第 11 步:seedream:6 个 UI 概念,然后“构建它”,接着生成图标所需的透明 png
  • 第 12 步:earshot 技能 + 音效库 + ai 音乐用于音频

永远不要让代理给自己打分。有一个线程给自己的特效打了 8/10。但盲测评审对同样的图片只给了 3 分。

引用rewind@rewind02
在浏览器中使用 Opus 5.5 + Three.js 打造逼真的游戏环境.. 这种视觉效果来自渲染管线,而非图像生成。 用数学而非直觉来调优: - 第 1 步:opus 5.5:根据论文、演讲和虚幻引擎公开的技术,在 three.js 中构建 PBR 管线 - 第 2 步:three.js:FFT 海洋、物理大气、全局光照、体积云 - 第 3 步:three.js:GTAO、体积雾、自动曝光、局部色调映射 - 第 4 步:参考素材:手工挑选的来自真实游戏或电影剧照的十几帧画面,涵盖天气、时间和构图 - 第 5 步:opus 5.5:为每张参考图选取 7–8 个采样区域:阳光下的草地、阴影中的草地、太阳附近的天空、远处的水面 - 第 6 步:opus 5.5:测量每个区域的亮度、色度和色相,然后对渲染结果中的相同区域进行同样的测量 - 第 7 步:opus 5.5:在 100+ 个数据点上执行最小二乘拟合,以找到误差最低的参数 - 第 8 步:three.js:渲染、测量、调整,重复直到数值匹配 不要要求 AI 生成“更好看”的场景。给它物理渲染规则和需要达到的数值目标。
原文

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