自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 资源 (10)
  • 收藏
  • 关注

原创 OpenGL ES之着色器语言的内建函数

角度转换与三角函数      getType radians(genType degrees) 将角度转换为弧度 Result=(π/180)*degrees getType degrees(genType radians) 将弧度转化为角度 result=(180/π)*radians genType sin(genT

2015-12-09 13:13:21 770

原创 cocos2d-x着色器基础之类似水纹效果的实现

近期在准备新的书稿,涉及到了着色器的基础部分,所以在此特地记录一个简单案例的实现——类似水纹效果。 准备工作:1>用3DMax做一个多顶点的长方体,需要更改顶点数。(长度分段及宽度分段等)        2>随便找一张纹理图。      由于cocos2d-x底层是封装的OpenGL ES,所以如果有基础的话,只需要将OpenGL ES的套路在cocos2d-x中套即可,只是将变量名换了一下

2015-12-08 00:27:50 1447

转载 Pythagoras On Dot and Cross Products

The dot and cross products are often introduced via trigonometric functions and/or matrix operations, but they also arise quite naturally from consideration of Pythagoras' theorem. Given two points

2015-12-05 18:39:51 154

转载 OpenGL Projection Matrix

OpenGL Projection Matrix Related Topics: OpenGL Transformation OverviewPerspective ProjectionOrthographic Projection Updates: The MathML version is available here. Overview A computer m

2015-12-05 18:38:58 389

转载 Tutorial 3 : Matrices

Tutorial 3 : Matrices The engines don’t move the ship at all. The ship stays where it is and the engines move the universe around it. Futurama This is the single most important tutorial o

2015-12-05 18:34:45 777

转载 Cameras on OpenGL ES 2.x - The ModelViewProjection Matrix

Hello my friends! In this article I'll talk about a very very important part of the 3D world. As you already know, this world behind of our devices' screen is just an attempt to recreate the beauty

2015-12-05 18:32:02 689

中缀转后缀

中缀转后缀的小工具

2016-10-12

打砖块OpenGL

learnopengl.com的配套打砖块源代码,配置好库和包含项即可运行。

2016-03-30

OpenGL版打砖块配套库

http://learnopengl.com/综合案例打砖块的配套库和包含项

2016-03-30

irrKlang-32bit-1.5.0

支持c++的音效播放

2016-03-27

glfw的zip库

glfw库用于在电脑上创建图形窗口

2016-03-17

cmake-3.4.3-win32-x86

cMake

2016-03-17

pyInstaller

用于将python脚本打包成可执行文件.exe

2016-03-16

SDL2-devel-2.0.4-VC

SDL2库,用于配置Cocos2d-x的导航网格

2016-03-12

recastnavigation-master.

cocos2d-x导航网格。

2016-03-12

premake-5.0.0-alpha8-windows

cocos2d-x导航网格所需资源。

2016-03-12

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除