<legend id='LfYRg'><style id='LfYRg'><dir id='LfYRg'><q id='LfYRg'></q></dir></style></legend>
<i id='LfYRg'><tr id='LfYRg'><dt id='LfYRg'><q id='LfYRg'><span id='LfYRg'><b id='LfYRg'><form id='LfYRg'><ins id='LfYRg'></ins><ul id='LfYRg'></ul><sub id='LfYRg'></sub></form><legend id='LfYRg'></legend><bdo id='LfYRg'><pre id='LfYRg'><center id='LfYRg'></center></pre></bdo></b><th id='LfYRg'></th></span></q></dt></tr></i><div id='LfYRg'><tfoot id='LfYRg'></tfoot><dl id='LfYRg'><fieldset id='LfYRg'></fieldset></dl></div>
  • <small id='LfYRg'></small><noframes id='LfYRg'>

    <tfoot id='LfYRg'></tfoot>

      • <bdo id='LfYRg'></bdo><ul id='LfYRg'></ul>
      1. OpenGL 还是 DirectX?

        时间:2023-09-17
          <tbody id='kKvib'></tbody>
        <legend id='kKvib'><style id='kKvib'><dir id='kKvib'><q id='kKvib'></q></dir></style></legend>
          • <bdo id='kKvib'></bdo><ul id='kKvib'></ul>

            <i id='kKvib'><tr id='kKvib'><dt id='kKvib'><q id='kKvib'><span id='kKvib'><b id='kKvib'><form id='kKvib'><ins id='kKvib'></ins><ul id='kKvib'></ul><sub id='kKvib'></sub></form><legend id='kKvib'></legend><bdo id='kKvib'><pre id='kKvib'><center id='kKvib'></center></pre></bdo></b><th id='kKvib'></th></span></q></dt></tr></i><div id='kKvib'><tfoot id='kKvib'></tfoot><dl id='kKvib'><fieldset id='kKvib'></fieldset></dl></div>

          • <tfoot id='kKvib'></tfoot>

                <small id='kKvib'></small><noframes id='kKvib'>

                • 本文介绍了OpenGL 还是 DirectX?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                  问题描述

                  我知道这可能是一个非常主观的问题,但我只想从最容易和最快学习的一个开始,这样我就可以尽快开始我的一个小项目,aa小 2D 游戏,至少从...开始.. 你会推荐我玩哪一个?我正在使用 C++

                  I know this is probably a very subjective question, but I just want to start with the one which is the easiest and fastest to learn, so that I can get started with a small project of mine as fast as possible, it's a a little 2D game, to start with at least.. Which one would you recommend me to go with? And I'm using C++

                  推荐答案

                  第一个问题:您使用的是 Windows 吗?如果没有,请使用 OpenGL.

                  First question: Are you on Windows? If not, use OpenGL.

                  如果您使用的是 Windows,这将归结为品味问题.API 不同,但 OpenGL 和 DirectX 所需的概念非常相似.大多数东西都支持,尽管它们的工作方式略有不同.

                  If you're on Windows, this will come down to a matter of taste. The APIs are different, but the concepts required are very similar for both OpenGL and DirectX. Most things are supported on both, although they do work a bit differently.

                  Microsoft 提供了相当多的示例和一个可用于 DirectX(9 或 10)的不错的框架,可以使您更容易上手.

                  Microsoft provides quite a few samples and a decent framework you can use for DirectX (9 or 10), which can make it easier to get started.

                  话虽如此,如果您只针对 Windows Vista/Win7,迁移到 DirectX 10 可能会让生活更轻松.DX9 及更早版本中的很多烦恼在 DX10 中都被移除了,API 更干净了一些.

                  That being said, if you're targetting Windows Vista/Win7 only, moving to DirectX 10 may make life easier. A lot of the annoyances in DX9 and earlier were removed in DX10, and the API is a bit more clean.

                  话虽如此,如果这是用于游戏,我建议您考虑使用像 Ogre 而不是直接在 DirectX 或 OpenGL 中编写.这将使您的生活变得更加简单,尤其是在学习期间.

                  That being said, if this is for a game, I'd recommend looking at using a middleware engine like Ogre instead of writing directly in DirectX OR OpenGL. This will make your life much simpler, especially while learning.

                  这篇关于OpenGL 还是 DirectX?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                  上一篇:在 OSX Big Sur 上使用 OpenGL 4.x 进行开发 下一篇:glfw3 编译未定义的引用

                  相关文章

                  最新文章

                  <tfoot id='A8cO5'></tfoot>
                  1. <small id='A8cO5'></small><noframes id='A8cO5'>

                    • <bdo id='A8cO5'></bdo><ul id='A8cO5'></ul>
                    <legend id='A8cO5'><style id='A8cO5'><dir id='A8cO5'><q id='A8cO5'></q></dir></style></legend>
                      <i id='A8cO5'><tr id='A8cO5'><dt id='A8cO5'><q id='A8cO5'><span id='A8cO5'><b id='A8cO5'><form id='A8cO5'><ins id='A8cO5'></ins><ul id='A8cO5'></ul><sub id='A8cO5'></sub></form><legend id='A8cO5'></legend><bdo id='A8cO5'><pre id='A8cO5'><center id='A8cO5'></center></pre></bdo></b><th id='A8cO5'></th></span></q></dt></tr></i><div id='A8cO5'><tfoot id='A8cO5'></tfoot><dl id='A8cO5'><fieldset id='A8cO5'></fieldset></dl></div>