- 博客(17)
- 资源 (13)
- 收藏
- 关注
原创 three.js 源码注释(九十六)Cameras/CubeCamera.js
CubeCamera方法根据 near, far ,cubeResolution 生成立方体相机.CubeCamera对象的功能函数采用 定义构造的函数原型对象来实现. CubeCamera经常用来创建天空盒子.由六张图片拼接成一个场景.<summary>CubeCamera</summary><param name ="near" type="Number">指明相对于深度剪切面的近的距离,必须为正数,可选参数,如果未指定,初始化为0.1</param><param name ="far" ty
2015-02-01 20:33:49 3717
原创 three.js 源码注释(九十五)extras/core/Gyroscope.js
Gyroscope对象陀螺仪,听名字很神奇,一个陀螺仪对象的抽象基类.应该适用于移动端的.应该是将这个对象作为某个Object3D对象的子对象, 根据3d陀螺仪的数据,更新绑定对象的坐标,方位之类的.<summary>Gyroscope</summary>
2015-02-01 20:25:35 2097
原创 three.js 源码注释(九十四)extras/core/Shape.js
STEP 1 Create a path.1. 创建路径STEP 2 Turn path into shape.2. 将路径变成截面STEP 3 ExtrudeGeometry takes in Shape/Shapes3. 将截面拉伸成几何体STEP 3a - Extract points from each shape, turn to vertices3a. 导出所有的截面顶点到vertices属性中STEP 3b - Triangulate each shape, add faces
2015-02-01 20:22:13 2512
原创 three.js 源码注释(九十三)extras/core/Path.js
Path类创建2d的路径,包括点,线,和立方体,类似于HTML5 2D画布的API,curvePath类的扩展.<summary>Curve</summary><param name ="points" type="Vector2Array">2维向量数组</param>
2015-02-01 20:20:45 2380
原创 three.js 源码注释(九十一)extras/core/Curve.js
/************************************************************** * Abstract Curve base class 曲线抽象基类 **************************************************************/Curve对象曲线抽象基类,一个可扩展的曲线对象包含插值方法. 定义:样条曲线是经过一系列给定点的光滑曲线。最初,样条曲线都是借助于物理样条得到的,放样员把富有弹性的细木条(或
2015-02-01 20:12:14 2499
原创 three.js 源码注释(九十)extras/SceneUtils.js
/************************************************************** * SceneUtils scene对象的工具集 **************************************************************/createMultiMaterialObject方法创建一种新的Objec3D对象,每个网格对象对应一种材质.这里和一个网格的每个面使用Meshfacematerial 材质不同.这种方式适用于网
2015-02-01 20:07:59 1934
原创 three.js 源码注释(八十九)extras/ImageUtils.js
/************************************************************** * ImageUtils image对象的工具集,更方便的加载图片的辅助类. **************************************************************/ /*loadTexture加载url指定的位置的图片资源,并创建纹理,返回纹理对象.*/<summary>loadTexture</summary><param n
2015-02-01 20:05:44 3234
原创 three.js 源码注释(八十八)extras/GeometryUtils.js
/************************************************************** * GeometryUtils geometry对象的工具集 **************************************************************/merge方法将两个几何体对象或者Object3D里面的几何体对象合并,(使用对象的变换)将几何体的顶点,面,UV分别合并.NOTE: merge方法在新版本中已经放到了Geomet对象下
2015-02-01 20:03:42 2991
原创 three.js 源码注释(八十七)extras/FontUtils.js
* typeface.js and canvastext * For converting fonts and rendering with javascript * 使用javascript渲染和转换字体通过typeface.js,访问下面网站. * http://typeface.neocracy.org * * Triangulation ported from AS3 * Simple Polygon Triangulation * 简单的多边形三角化 * http
2015-02-01 19:59:48 1980
原创 three.js 源码注释(八十六)extras/geometries/TubeGeometry.js
TubeGeometry用来在三维空间内创建一个弯管对象. 用法: var CustomSinCurve = THREE.Curve.create( function ( scale ) { //custom curve constructor this.scale = (scale === undefined) ? 1 : scale; }, function ( t ) { //getPoint: t is between
2015-02-01 17:32:30 2139
原创 three.js 源码注释(八十五)extras/geometries/PolyhedronGeometry.js
PolyhedronGeometry用来在三维空间内创建一个多面体对象,二十面体,八面体,四面体都会调用当前对象. 用法: var vertices = [ 1, 1, 1, - 1, - 1, 1, - 1, 1, - 1, 1, - 1, - 1 ]; var indices = [ 2, 1, 0, 0, 3, 2, 1, 3, 0, 2, 3, 1 ]; var geometry = new THREE.Polyh
2015-02-01 17:31:08 1843
原创 three.js 源码注释(八十四)extras/geometries/ParametricGeometry.js
ParametricGeometry用来在三维空间内通过参数func的定义,生成一个几何体.有了这个对象,各种你想要的集合体,发挥你的数学天赋吧. 用法: var func = function(u,v){ var point = new THREE.Vector3(); point.x = 100 + Math.cos(u); point.y = 100 + Math.sin(v); return point; }; var geometry
2015-02-01 10:12:19 2232
原创 three.js 源码注释(八十三)extras/geometries/TorusKnotGeometry.js
TorusKnotGeometryy用来在三维空间内创建一个圆环结或者环形结对象.是由圆环体通过打结构成的扩展三维几何体,常用于制作管状,缠绕.带囊肿类的造型. 关于环形结的几何特征,参考:http://en.wikipedia.org/wiki/Torus_knot 各种漂亮的demo:http://katlas.math.toronto.edu/wiki/36_Torus_Knots 用法: var geometry = new THREE.TorusKnotGeometry(5,32,32);
2015-02-01 10:09:40 1652 1
原创 three.js 源码注释(八十二)extras/geometries/RingGeometry.js
RingGeometry用来在三维空间内创建一个二维圆环面对象. 用法: var geometry = new THREE.RingGeometry(1,5,32); var material = new THREE.MeshBasicMaterial({color: 0x00ff00}); var Ring = new THREE.Mesh(geometry,material); scene.add(Ring);<summary>TorusGeometry</summar
2015-02-01 10:06:36 1880
原创 three.js 源码注释(八十一)extras/geometries/TetrahedronGeometry.js
TetrahedronGeometry用来在三维空间内创建一个四面体对象. 用法: var geometry = new THREE.TetrahedronGeometry(70); var material = new THREE.MeshBasicMaterial({color: 0x00ff00}); var icos = new THREE.Mesh(geometry,material); scene.add(icos);<summary>TetrahedronGe
2015-02-01 10:03:13 1512
原创 three.js 源码注释(八十)extras/geometries/OctahedronGeometry.js
OctahedronGeometry用来在三维空间内创建一个八面体对象. 用法: var geometry = new THREE.OctahedronGeometry(70); var material = new THREE.MeshBasicMaterial({color: 0x00ff00}); var icos = new THREE.Mesh(geometry,material); scene.add(icos);<summary>OctahedronGeome
2015-02-01 10:00:24 1301
原创 three.js 源码注释(七十九)extras/geometries/TorusGeometry.js
TorusGeometry用来在三维空间内创建一个圆环体对象. 用法: var geometry = new THREE.TorusGeometry(3,1,12,18); var material = new THREE.MeshBasicMaterial({color: 0x00ff00}); var torus = new THREE.Mesh(geometry,material); scene.add(torus);<summary>TorusGeometry</s
2015-02-01 09:57:36 1496
pds db_linkage
2014-09-21
RenderMonkey.2008-12-17-v1.82.322.part2.rar
2014-09-21
RenderMonkey.2008-12-17-v1.82.322.part1.rar
2014-09-21
Intergraph Standard File Formats (Element Structure)
2014-08-31
我的最牛代码
2014-08-14
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人