代码改变世界

PVRTC 纹理

2013-02-22 10:27 by 三戒1993, 104 阅读, 0 推荐, 收藏, 编辑
摘要:iPhone的图形芯片(PowerVR MBX)对一种称为 PVRTC 的压缩技术提供硬件支持,Apple推荐在开发iPhone应用程序时使用 PVRTC 纹理。他们甚至提供了一篇很好的 技术笔记 描述了怎样通过使用随开发工具安装的命令行程序将标准图像文件转换为 PVRTC 纹理的方法。你应该知道当... 阅读全文

C/C++ 中访问结构体成员的方法

2013-02-21 17:40 by 三戒1993, 901 阅读, 0 推荐, 收藏, 编辑
摘要:先看例子:1#include 2void main(){3 typedef struct {4 int int_field;5 char char_field;6 } my_struct;7 my_struct my_s; 8 my_s.int_field=3; //结构运算符访问结构成员... 阅读全文

C/C++ 中访问结构体成员的方法

2013-02-21 17:40 by 三戒1993, 361 阅读, 0 推荐, 收藏, 编辑
摘要:先看例子:1#include 2void main(){3 typedef struct {4 int int_field;5 char char_field;6 } my_struct;7 my_struct my_s; 8 my_s.int_field=3; //结构运算符访问结构成员... 阅读全文

Cocos2D-HTML5开源2D游戏引擎

2013-02-21 16:12 by 三戒1993, 187 阅读, 0 推荐, 收藏, 编辑
摘要:http://www.programmer.com.cn/12198/Cocos2D-HTML5是基于HTML5规范集的Cocos2D引擎的分支,于2012年5月发布。Cocos2D-HTML5的作者林顺将在本文中介绍Cocos2D-HTML5的框架、API、跨平台能力以及强大的性能。Cocos2D... 阅读全文

Cocos2D-HTML5开源2D游戏引擎

2013-02-21 16:12 by 三戒1993, 184 阅读, 0 推荐, 收藏, 编辑
摘要:http://www.programmer.com.cn/12198/Cocos2D-HTML5是基于HTML5规范集的Cocos2D引擎的分支,于2012年5月发布。Cocos2D-HTML5的作者林顺将在本文中介绍Cocos2D-HTML5的框架、API、跨平台能力以及强大的性能。Cocos2D... 阅读全文

gluPerspective

2013-02-21 13:56 by 三戒1993, 145 阅读, 0 推荐, 收藏, 编辑
摘要:gluPerspectiveNAME(函数名称)gluPerspective -- set up a perspective projection matrix (设置透视投影矩阵)C SPECIFICATION(C语言实现示例)void gluPerspective(GLdouble fovy, ... 阅读全文

gluPerspective

2013-02-21 13:56 by 三戒1993, 171 阅读, 0 推荐, 收藏, 编辑
摘要:gluPerspectiveNAME(函数名称)gluPerspective -- set up a perspective projection matrix (设置透视投影矩阵)C SPECIFICATION(C语言实现示例)void gluPerspective(GLdouble fovy, ... 阅读全文

OpenGL ES View Snapshot

2013-02-20 18:14 by 三戒1993, 120 阅读, 0 推荐, 收藏, 编辑
摘要:Q: How do I take a snapshot of my OpenGL ES view and save the result in a UIImage?A:The OpenGL ES commands issued by your application are sent to the ... 阅读全文

OpenGL ES View Snapshot

2013-02-20 18:14 by 三戒1993, 136 阅读, 0 推荐, 收藏, 编辑
摘要:Q: How do I take a snapshot of my OpenGL ES view and save the result in a UIImage?A:The OpenGL ES commands issued by your application are sent to the ... 阅读全文

OpenGL Pixel Buffer Object (PBO)

2013-02-20 18:12 by 三戒1993, 281 阅读, 0 推荐, 收藏, 编辑
摘要:Related Topics:Vertex Buffer Object (VBO),Frame Buffer Object (FBO)Download:pboUnpack.zip,pboPack.zipOverviewCreating PBOMapping PBOExample: Streaming... 阅读全文
上一页 1 ··· 130 131 132 133 134 135 136 137 138 ··· 184 下一页