c++ - SDL 软件渲染 VS。 OpenGL : Compatability And Performance

标签 c++ visual-studio-2008 opengl sdl

我正在使用 SDL 创建一个简单的计算机游戏框架,并且仍在决定是使用 SDL 的软件渲染器(它也比 OpenGL 更容易使用),还是应该更快的 OpenGL,尽管在 Visual Studio 2008 中我在链接 OpenGL 库时遇到问题。对于选择哪种图形界面有什么建议吗?

最佳答案

答案是..取决于。

你应该问问自己:

  1. 每帧要渲染多少个多边形?
  2. 您希望获得的渲染速率(每秒帧数)是多少?
  3. 您预计 future 要渲染的多边形数量会增加吗?

关于 Visual Studio 和链接问题,请在此处找到使用 OpenGL 的示例项目。 OpenGL Example .

关于c++ - SDL 软件渲染 VS。 OpenGL : Compatability And Performance,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9816543/

相关文章:

c++ - SDL 1.3 : How to render video with out displaying it?

c++ - 如何使用 C++ 和 WinAPI 检查 Web 浏览器是否正在运行?

php - 2 Unresolved external 因素

c# - 在 VS2008 中的 Windows x64 上调试 x86 .NET 应用程序

c# - 如何从 Visual Studio 调试输出窗口读取文本

c++ - C++ OpenGL 中定位光和直射光的区别?

c++ - -fPIC错误交叉编译openssl

c++ - 如何正确初始化不可默认构造的类成员?

c++ - 如何将一维数组与二维数组进行比较(C++)

Java/OpenGL : Getting the image of a Canvas as a BufferedImage