就纹理图集而言,什么是“四边形”?

发布于 2024-08-04 06:04:00 字数 162 浏览 1 评论 0原文

据我了解,纹理图集基本上是包含许多较小纹理的单个纹理,它们对于使游戏或动画更快地很有用,因为它们允许您通过加载单个文件而不是每个文件来访问许多动画帧框架。

因此,在讨论纹理图集时,我看到到处都提到“四边形”一词 - 四边形是否只是纹理图集中单个纹理的 x、y、宽度和高度,还是我遗漏了某些内容?

It is my understanding that a texture atlas is basically a single texture that contains many smaller textures and that they are useful for making games or animations faster because they allow you to access many animation frames by loading a single file rather than files for each and every frame.

So, in discussions of texture atlases, I see the term "quad" mentioned everywhere - Is a quad simply the x, y, width and height of an individual texture from a texture atlas or am I missing something?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

故乡的云 2024-08-11 06:04:00

四边形 - 不一定是矩形。

Quadrilateral - not necessarily a rectangle.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文