就纹理图集而言,什么是“四边形”?
据我了解,纹理图集基本上是包含许多较小纹理的单个纹理,它们对于使游戏或动画更快地很有用,因为它们允许您通过加载单个文件而不是每个文件来访问许多动画帧框架。
因此,在讨论纹理图集时,我看到到处都提到“四边形”一词 - 四边形是否只是纹理图集中单个纹理的 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
四边形 - 不一定是矩形。
Quadrilateral - not necessarily a rectangle.