- 博客(12)
- 资源 (7)
- 收藏
- 关注
原创 cocos2d-x(3.0+)内存管理框架和机制
Cocos2d-x用了一种引用计数的方式来管理内存对象,通过类Ref、AutoreleasePool和PoolManager来完成。Ref为引用计数类,其构造函数是protected的访问类型,当Ref的对象被创建的时候它的引用计数为1在对象创建的时候会调用create,然后调用autorelease,将对象放入对象池(AutoreleasePool的一个对象中)方便后面的统一管理,
2014-07-31 15:05:48
1532
转载 FBO
概要在OpenGL的渲染管线中,几何数据和纹理通过一系列变换和测试,最终被渲染成屏幕上的二维像素。那些用于存储颜色值和测试结果的二维数组的集合被称为帧缓冲区(frame buffer)。这些二维数组按用途划分,可分为颜色缓冲区(color buffer),深度缓冲区(depth buffer),模版缓冲区(stencil buffer)和累加缓冲区(accumulation buffer)
2014-07-23 11:07:00
1128
转载 OpenGL Rendering Pipeline
OpenGL Rendering Pipeline Vertex Operation顶点操作(平移、旋转、伸缩、光照)Each vertex and normal coordinates are transformed by GL_MODELVIEW matrix (from object coordinates to eye coordinates). Also, if lighti
2014-07-23 10:56:54
1382
翻译 OpenGL glFlush and glFinish
Similar to computer IO buffer, OpenGL commands are not executed immediately. All commands are stored in buffers first, including network buffers and the graphics accelerator itself, and are awaiting e
2014-07-23 09:20:36
1136
原创 VAOs, VBOs, Vertex and Fragment Shaders
关于Vertex Array Objects(VAOs), Vertex Buffer Objects(VBOs), Vertex and Fragment Shaders的概念还是看官方说明理解的好!The OpenGL 3.2 core specification removes the majority of the fixed function pipeline previou
2014-07-19 21:42:12
1582
转载 高屋建瓴 cocos2d-x-3.0架构设计 Cocos2d (v.3.0) rendering pipeline roadmap(原文)
Cocos2d (v.3.0) rendering pipeline roadmap Why (the vision)The way currently Cocos2d does rendering is good but it is beginning to feel somehow antiquate and moreover it doesn’t actually leverag
2014-07-19 19:09:24
1937
原创 Cocos3d初探
估计要相当长的一段时间内研究游戏引擎,在这里做一下过程中的备忘。上一周项目需要,研究了一下cocos2d-x,本周接着来做cocos3d-x的代码研究首先是搭建cocos3d-x的开发环境:根据cocos3d-x git上的说明,下载了engine-3d,cocos2d-x并放到指定文件夹下,cocos2d-x/plugin-x放置到指定文件夹下并按照DOC中的说明成功在VS2012上
2014-07-16 17:34:07
1913
转载 Nest和三星推出智能家居网络标准Thread
转自:http://news.cnblogs.com/n/213239/2014ni7 月 15 日消息,据国外媒体报道,Nest、三星和 ARM 等六家公司周二宣布,他们正准备推出新的无线网络标准 Thread。这一标准将成为现有智能家居通信标准的重要补充。 Thread 是一种基于 IP 的无线网络协议,用来连接家里的智能产品。除了 Nest、三星和 ARM,另外三家合作公司分别
2014-07-16 09:04:16
1244
转载 path和classpath
转自:http://mp.weixin.qq.com/s?__biz=MzA5NTQyMDAxOQ==&mid=200535489&idx=4&sn=39935fafbada9c3a20adedde088c0077#rd
2014-07-13 19:05:08
623
原创 VS2012换肤
1)TOOLS-->Extensions and Updates...2)右上角搜索Theme Editor3)下载安装4)重启VS2012选择设置自己喜欢的风格
2014-07-08 16:07:24
939
转载 java环境变量配置
步骤一:访问JDK环境下载网址 http://java.sun.com/j2se/1.4.1/download.html 选择 Download J2SE v 1.4.1_03 下 点击 Windows (all languages, including English) 行最右边的 DOWNLOAD. 步骤二:接下来的页面里填写自己的简略资料,并点击 Yes,submit 按钮. 步骤三:
2014-07-07 10:29:38
717
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人