𝐆𝐈𝐆𝐀𝐁𝐄𝐀𝐑· 来源· @GigabearForever · X·· 7 小时前AI 评分12
正文 · AI 翻译
在当前年份,质疑游戏开发者会做什么似乎有些奇怪,因为其中许多人正在做在AI时代更令人困惑的事情。
手写代码。
嗨,我是游戏引擎开发者!这完全站不住脚。计算 delta-time 是微不足道的。在整体开销中几乎可以忽略不计。然后,将变换乘以这个值,每个变换实际上只消耗一个 CPU 指令。性能开销几乎无法测量。几十年来,游戏和游戏引擎通常都没有这样做,这在业界被认为是极其糟糕的做法。虽然我无法验证 GTA VI 没有补偿 delta-time 的说法,但绝对没有任何理由让过去 20 年内制作的游戏这样做。
原文
Hi, game engine dev here! This is entirely flawed. Calculating delta-time is trivial. Almost free in the grand scheme of things. Then multiplying a transformation by this value really only costs a single CPU instruction per transformation. The performance overhead would be almost unmeasurable. Games and game engines typically have not done this in decades, and is considered exceptionally poor practice in the industry. While I cannot validate claims that GTA VI does not compensate for delta-time, there is absolutely zero reason a game made in the last 2 decades should be doing this.
来源:𝐆𝐈𝐆𝐀𝐁𝐄𝐀𝐑 · x.com