学习 OpenGL ES 1.x [英] Learning OpenGL ES 1.x

查看:27
本文介绍了学习 OpenGL ES 1.x的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

加快 OpenGL ES 1.x 速度的最快方法是什么?

What is the quickest way to come up to speed on OpenGL ES 1.x?

假设我对 OpenGL 一无所知(这并不完全正确,但距离我上次使用 OpenGL 已经有一段时间了).我最感兴趣的是为 iPhone 相关的开发学习这个,但我也有兴趣了解它在其他平台上的工作原理.

Let's assume I know nothing about OpenGL (which is not entirely true, but it's been a while since I last used OpenGL). I am most interested in learning this for iPhone-related development, but I'm interested in learning how it works on other platforms as well.

我找到了OpenGL ES 2.0 编程指南这本书,但我担心它可能不是最好的方法,因为它侧重于 2.0 而不是 1.x.我的理解是 2.0 不向后兼容 1.x,所以我可能会错过一些重要的概念.

I've found the book OpenGL ES 2.0 Programming Guide, but I am concerned that it might not be the best approach because it focuses on 2.0 rather than 1.x. My understanding is that 2.0 is not backwards-compatible with 1.x, so I may miss out on some important concepts.

注意:有关学习通用 OpenGL 的答案,请参阅 https://stackoverflow.com/questions/62540/learning-opengl

Note: For answers about learning general OpenGL, see https://stackoverflow.com/questions/62540/learning-opengl

我发现的一些资源:

  • http://khronos.org/opengles/1_X/
  • http://www.imgtec.com/powervr/insider/sdk/KhronosOpenGLES1xMBX.asp
  • OpenGL Distilled by Paul Martz (a good refresher on OpenGL basics)

推荐答案

iPhone SDK 本身有一些文档.

There is some documentation in iPhone SDK itself.

除此之外,只需了解您对 OpenGL 的了解(或通过其他方式学习),并忘记所有旧的垃圾"(显示列表、立即模式、在 OpenGL 中但不直接使用的内容)仅与绘制三角形相关).基本上,取消所有在 OpenGL 3.0 中被声明为弃用的内容.

Other than that, just take what you know about OpenGL (or learn that via other means), and forget about all things that are "old cruft" (display lists, immediate mode, things that are in OpenGL but are not directly related to just drawing triangles). Basically, unlearn everything that has been declared deprecated in OpenGL 3.0.

GL ES 1.x 适用于非常简单的设备.您拥有的是一种绘制几何体(顶点缓冲区)、管理纹理和设置一些固定功能状态(照明、纹理组合器)的方法.这几乎就是全部.

GL ES 1.x is for pretty simple devices. What you have is a way to draw geometry (vertex buffers), manage textures and setup some fixed function state (lighting, texture combiners). That's pretty much all there is to it.

这篇关于学习 OpenGL ES 1.x的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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