Mac - 最大纹理尺寸是否兼容?

发布于 2024-09-30 16:58:48 字数 555 浏览 2 评论 0原文

我有一个基于 OpenGL 的 Mac 游戏。

需要 Mac OS X 10.5 兼容性,可以追溯到几乎任何可以合理处理 Leopard 的 Mac,可以追溯到 G4 Powerbook。

我正在构建我的精灵表/纹理图集,用于馈送到 OpenGL,并且需要设置最大纹理大小。

问:使用 5 年的 Mac 可以合理容纳的最大纹理尺寸是多少?将精灵表设置为 1024x1024 是否安全?

Q2。所有此类硬件都能够处理两个纹理的非功率吗?

干杯。

[编辑]

我发现以下(非常有用!)资源:

http://homepage.mac .com/arekkusu/bugs/GLInfo_1058.html

从这个列表中,支持 10.5.8 作为最低要求,看来我需要运行游戏的所有东西都支持最大纹理尺寸 2048x2048,这让我非常高兴,因为使用更大的精灵表就不需要 NPOT 纹理了。

I have an OpenGL based game for the Mac.

Mac OS X 10.5 compatibility required, going back to pretty much any Mac that can reasonably handle Leopard, going back to G4 Powerbooks.

I'm building my sprite sheets/texture atlases, for feeding to OpenGL, and need to set a maximum texture size.

Q. What's the maximum texture size that a 5 year old Mac can reasonably accommodate? Would I be safe making my sprite sheets 1024x1024?

Q2. Would all such hardware be able to handle non-power of two textures?

Cheers.

[edited]

I found the following (very useful!) resource:

http://homepage.mac.com/arekkusu/bugs/GLInfo_1058.html

From this list, supporting 10.5.8 as a minimum requirement, it would appear that everything I need the game to run on supports a maximum texture size of 2048x2048, which makes me very happy, as the use of larger sprite sheets negates the need for NPOT textures.

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文