用于新Windows游戏项目的OpenGL或Direct3D?或者是其他东西? [英] OpenGL or Direct3D for a new Windows game project? Or something else?

查看:87
本文介绍了用于新Windows游戏项目的OpenGL或Direct3D?或者是其他东西?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在Windows上启动一个业余游戏项目,该项目将大量使用3D图形效果.它很可能用C ++编写.

I'm starting a hobby game project on Windows that will make heavy use of 3D graphics effects. It will most likely be written in C++.

我应该在图形后端使用OpenGL还是Direct3D?为什么?

Should I use OpenGL or Direct3D for my graphics backend? Why?

还是应该使用现成的图形引擎,例如 OGRE 3D ?哪一个?

Or should I use a ready-made graphics engine such as OGRE 3D? Which one?

一些如何入门"链接将很有用. (使用任何一种技术,或同时使用两种.)

Some "how to get started" links would be useful. (On either technology, or both.)

编辑-是的,由于

Edit - Yes I really meant Direct3D, not DirectX, thanks to graham.reeds for clarification

编辑- Mihai Lazar 指出,我也可以使用OGRE 3D这样的图形引擎.编辑了问题以反映这种选择.

Edit - Mihai Lazar pointed out that I could also use a graphics engine such OGRE 3D. Edited the question to reflect this alternative.

推荐答案

从OpenGL开始,因为上面有不错的教科书和其他在线参考资料.一旦掌握了编写3D游戏的知识,便可以自己做出判断.

Start with OpenGL because there are good textbooks and other online references on it. Once you get the hang of writing 3D game, you would be able to make the judgment for yourself.

完成游戏,即使只是为了让您前进而真的很愚蠢和简单,比选择合适的库更为重要.使用 glut ,您可以在一天内获得一些3D对象显示在屏幕上.从 NeHe 的教程开始.

Finishing a game, even if it's really stupid and simple just to get you going, is more important than picking the right library. With glut, you can get some 3D object to show up on your screen in a day. Start with NeHe's tutorials.

这篇关于用于新Windows游戏项目的OpenGL或Direct3D?或者是其他东西?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆