这节主要来理解投影变换和视口变换的使用。1、正射投影:glOrtho函数原型:void glOrtho(GLdouble left,GLdouble right,GLdouble bottom,GLdouble top, GLdouble near,GLdouble far);//left和ri.....
分类:
其他好文 时间:
2014-12-20 16:47:31
阅读次数:
212
大家好,经历了3个月的沉寂,我又重新走上了编码的道路上了。这次稍微了解了下android NFC,在这里和大家分享下我所学到的东西。希望和大家一起交流,互相学习,MY QQ IS 1339266784. 一、NFC简介 NFC[1]是Near Field Communication缩写,...
分类:
移动开发 时间:
2014-12-12 18:23:00
阅读次数:
225
From https://www.alljoyn.org/aboutAbout AllJoyn?In the Internet of Everything, AllJoyn Enables the "Internet of Things Near You"AllJoyn is an open sou...
分类:
其他好文 时间:
2014-12-11 08:54:31
阅读次数:
235
>Git commit的时候出现如下错` C:/Program Files (x86)/Git/bin/vim: -c: line 0: syntax error near unexpected token `(‘ C:/Program Files (x86)/Git/bin/vim: -c: line 0: `C:/Program Files (x86)/Git/bin/...
分类:
其他好文 时间:
2014-12-04 12:24:08
阅读次数:
193
Linkerror:fixupoverflowin_vector_56。解决办法:#pragmaCODE_SEG__NEAR_SEGNON_BANKED放在中断服务程序{}前面#pragmaCODE_SEGDEFAULT放在中断服务程序{}后面中断函数为什么要加:#pragmaCODE_SEG__N...
分类:
其他好文 时间:
2014-12-02 22:19:53
阅读次数:
184
ERROR:?1064??You?have?an?error?in?your?SQL?syntax;?check?the?manual?that?corresponds?to?your?MySQL?server?version?for?the?right?syntax?to?use?near?‘ALTER?TABLE?user?A...
分类:
数据库 时间:
2014-12-02 01:40:20
阅读次数:
237
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'OPTION SQL_SELE...
分类:
数据库 时间:
2014-11-30 16:47:33
阅读次数:
205
PerspectiveCamera方法根据 fov, aspect, near, far 生成透视投影相机.PerspectiveCamera对象的功能函数采用
定义构造的函数原型对象来实现.
PerspectiveCamera
指明相机的可视角度,可选参数,如果未指定,初始化为50
指明相机可视范围的长宽比,可选...
分类:
Web程序 时间:
2014-11-28 16:22:49
阅读次数:
246
OrthographicCamera方法根据 left, right, top, bottom, near, far 生成正交投影相机.OrthographicCamera对象的功能函数采用
定义构造的函数原型对象来实现.
OrthographicCamera
指明相对于垂直平面的左侧坐标位置
指明相对于垂直平面的...
分类:
Web程序 时间:
2014-11-28 16:22:38
阅读次数:
162
Fog对象的构造函数.用来在场景内创建线性雾效,线性雾效就是从雾效的起始点参数near,到结束点参数far,雾效强度线性递增,Fog对象的功能函数采用
定义构造的函数原型对象来实现.
用法: var fog = new THREE.Fog(THREE.colorKeywords.cyan,2,500);
从相机的起始处长度为2开始,500结束的区域在场景中添加雾效,雾效的颜色是cyan,
Fog
<param name ="color" type="THREE....
分类:
Web程序 时间:
2014-11-28 16:22:38
阅读次数:
191