OPENGL 上的示例项目
我需要一些针对初学者的 openGL 示例代码项目..我尝试谷歌搜索.. 但我仍在寻求你对此的建议。
i need few sample code projects on openGL for beginners.. i tried googling..
but still i m seeking ur suggestion on this.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(6)
这可能是学习 C++ 中 opengl 的最佳网站之一:
http://nehe.gamedev.net/default.asp
查看左侧的 opengl 教程
This is probably one of the best site for learning opengl in C++:
http://nehe.gamedev.net/default.asp
Check out the opengl tutorials on the left
您正在寻找 nehe:http://nehe.gamedev.net/
You're looking for nehe: http://nehe.gamedev.net/
nehe.gemdev 很完美,但你可以检查我的游戏
来自 wblade.com
nehe.gemdev is perfect but you can check mine game
from wblade.com
您可以尝试以下操作:The OpenGL 编程指南 - 红皮书
它是 的官方出版物学习openGL。它已经是第七版,主要关注 openGL 3.0 和 3.1 版本(4.1 版本的另一个版本即将推出)。它涵盖了基础知识,还涉及更高级的主题。
或者您可以尝试这些视频教程: videotutorialsrock.com
这些视频遵循与我上面提到的书类似的结构。他们介绍了一些通用的 3D 图形概念和适当的 openGL 语法。我认为对于那些刚刚接触 openGl 和 3d 图形编程的人来说,这是一个很好的第一步。
You could try this: The OpenGL Programming Guide - the redbook
It's official publication for learning openGL. It's already the seventh edition concentrated on versions 3.0 and 3.1 of openGL (another edition for version 4.1 will be available soon). It covers the basics and gets into more advanced topics as well.
Or you could try these video tutorials: videotutorialsrock.com
These videos follow similar structure as the book I mentioned above. They introduce some general 3d graphics concepts and the appropriate openGL syntax. I think it is a nice first step for those new to both openGl and 3d graphics programming.
一些小项目可能是一个简单的骰子游戏,供初学者学习物体形成、纹理和运动+在后台进行计算并显示结果。
在更高的水平上,可以有一个坦克游戏,其路径是使用地形等的形成来定义的……或者是一个简单的球碰撞游戏。
作为参考,您可以参考 http://www.videotutorialsrock.com/ ,它有所有这些的示例代码操作和红皮书。
Some small project may be a simple dice game for beginners for learning object formation, texturing and motion + carrying out calculations at the background and displaying result.
At a heigher level, there can be a tank game with the paths defined using formation of terrains etc... or a simple ball-collision game.
for reference, you can refer http://www.videotutorialsrock.com/ , it has sample codes for all these operations and the redbook.
最好的方法是通读这本书,但您可以从 http://nehe.gamedev.net/
您还可以从 www.openglprojects.in 免费下载一些好的代码,该网站包含许多好的项目,包括它的源代码。
Best way is to go through the book but you can get good examples from http://nehe.gamedev.net/
You can also get few good codes free to downloads from the www.openglprojects.in, this site contains many of the good projects including the source code for it.