在哪里可以找到不使用任何不推荐使用的功能的优质OpenGL 3.0在线教程? [英] Where can I find a good online OpenGL 3.0 tutorial that doesn't use any deprecated functionality?

查看:98
本文介绍了在哪里可以找到不使用任何不推荐使用的功能的优质OpenGL 3.0在线教程?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚购买了OpenGL SuperBible的第五版.我很高兴他们避免使用不推荐使用的功能,但是他们的示例使用了GLTools. GLTools提供了大量有用的功能,可用于渲染简单的3D对象以及管理视锥,摄影机和变换矩阵.

I just purchased the fifth edition of the OpenGL SuperBible. I'm very pleased that they've avoided using deprecated functionality but their examples make use of GLTools. GLTools provides a slew of useful functions for rendering simple 3D objects and managing the view frustrum, camera, and transformation matrices.

一切都很好,但是提供的抽象隐藏了低级的细节,在我无法使用GLTools的代码(例如pyopengl)上,我遇到了困难.我在网上看到的绝大多数教程都使用即时模式,而我试图避免这种模式.那些使用glDrawArrays的用户会使用glEnableClientState,这也是我试图避免的情况.

This is all great but the abstraction provided hides low-level details and I'm having difficulty moving to code where I can't use GLTools -- for example, pyopengl. The vast majority of tutorials I've seen online make use of immediate mode, which I'm trying to avoid. Those that use glDrawArrays make use of glEnableClientState, which I'm also trying to avoid.

我正在寻找的是完全兼容OpenGL 3.x的入门教程.如果这笔订单太高了,也许洗衣单的开始点"功能就应该是正确的.

What I'm looking for is introductory tutorials that are fully OpenGL 3.x compliant. If that's too tall of an order, perhaps a laundry list good "starting point" functions would be in order.

推荐答案

远离NeHe,这些教程已经过时了,而且还包含很多有问题的"内容.

Stay away from NeHe, the tutorials are hopelessly outdated and contain a lot of "problematic" stuff, too.

对于从3.x开始的版本,请尝试一下,它们都是最新的:

For starting with 3.x, try those, they're both up-to-date:

Aurian (乔Groff)

Arcsynthesis (Jason L. McKesson)

Arcsynthesis (Jason L. McKesson)

更新:
将近两年后重新阅读我自己的帖子,我想可能会发现这听起来有些刺耳.

Update:
Re-reading my own post almost 2 years later, I guess that one might find that it sounds a bit harsh.

这当然不是目的.我想给出的核心信息(仍然有效)是NeHe仍在处理OpenGL 1.x/2.x,并使用了一些不受支持的古董"库.
一般而言,这并不意味着教程不一定很糟糕,但是从那里开始意味着在当前的最新技术水平之后落后两代,而在最低水平的之后应该落后一代人.学.学习旧版OpenGL以后将需要您忘记几乎所有已知的知识并从头开始重新学习.

This is of course not the intent. The core message (which remains valid) that I wanted to give was that NeHe still deals with OpenGL 1.x/2.x and uses some unsupported "antique" libraries.
Generally, as such, this does not mean the tutorials are necessarily bad, but starting from there will mean starting two generations behind the current state-of-the-art, and one generation behind the minimum one should learn. Learning legacy OpenGL will, at a later time, require you to forget almost everything you know and re-learn from scratch.

也就是说,NeHe主页现在链接到Damien Mabin着重于OpenGL 3.3的教程,该书看起来像一见钟情(尽管我没有时间在新年之前彻底通读它).

That said, the NeHe front page now links to a tutorial focussed on OpenGL 3.3 by Damien Mabin, which looks quite nice at first sight (though I will not have time to thoroughly read through it before new year).

这篇关于在哪里可以找到不使用任何不推荐使用的功能的优质OpenGL 3.0在线教程?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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