码迷,mamicode.com
首页 >  
搜索关键字:b - bear and three m    ( 2708个结果
three.js 源码注释(六十一)objects/LOD.js
LOD对象,LOD技术即Levels of Detail的简称,意为多细节层次。LOD技术指根据物体模型的节点在显示环境中所处的位置和重要度,决定物体渲染的资源分配,降低非重要物体的面数和细节度,从而获得高效率的渲染运算。 注释摘抄自http://blog.csdn.net/u011209953/article/details/37863701 用法: var geometry = [ [ new THREE.IcosahedronGeometry( 100, 4 ), 50 ], [ ...
分类:Web程序   时间:2015-01-20 15:50:00    阅读次数:407
three.js 源码注释(六十)objects/Line.js
Line对象,创建一条线,或者一组线. 用法:var geometry = new THREE.Geometry(); //创建geometry对象 var material = new THREE.LineBasicMaterial({color: 0xffff00}); //创建材质对象,这里有专门适用于line对象的材质对象LineBasicMaterial. geometry.verteces.push(new THREE.Vector3(-10,0,0), //为geome...
分类:Web程序   时间:2015-01-20 13:49:09    阅读次数:489
three.js 源码注释(五十九)objects/Mesh.js
Mesh对象,最终的网格对象,有高人把图形学建模比作是制作灯笼,先用Geometry创建灯笼的框架,然后将材质material贴在框架上,最后形成的总体灯笼,就是Mesh对象.下面看一下Mesh对象的用法和具体实现. 用法:var geometry = new THREE.Geometry(1,1,1); //创建geometry对象(灯笼的框架), //有一下可选对象BoxGeometry,CircleGeometry,CubeGeometry,CylinderGe...
分类:Web程序   时间:2015-01-20 09:00:34    阅读次数:355
Single Number II
本文是在学习中的总结,欢迎转载但请注明出处:http://blog.csdn.net/pistolove/article/details/42877129 Given an array of integers, every element appears three times except for one. Find that single one. Note: Y...
分类:其他好文   时间:2015-01-19 21:08:56    阅读次数:218
C Socket通信编程
目录1、socket概述2、地址及顺序处理3、函数介绍4、使用实例1、socket概述 1、TCP协议通过三次握手协议建立连接TCP协议通过三个报文段完成连接的建立,这个过程称为三次握手(three-way handshake),过程如下图所示。第一次握手:建立连接时,客户端发送syn包(syn=....
分类:其他好文   时间:2015-01-19 12:41:15    阅读次数:340
Single Number II
题目: Given an array of integers, every element appears three times except for one. Find that single one. Note: Your algorithm should have a linear runtime complexity. Could you implement it with...
分类:其他好文   时间:2015-01-18 13:14:19    阅读次数:196
C++中出现“IntelliSense: 表达式必须是可修改的左值”的Bug解决
说明:在学习算法导论,需要写一嵌套的小程序,题目是: Consider a three-parameter recursive function w(a, b, c): if a 1 if a > 20 or b > 20 or c > 20, then w(a, b, c) returns: w(20, 20, 20) if a w(a, b, c-1) +...
分类:编程语言   时间:2015-01-17 18:03:29    阅读次数:380
3Sum Closest Leetcode Python
Given an array S of n integers, find three integers in S such that the sum is closest to a given number, target. Return the sum of the three integers. You may assume that each input would have exactly...
分类:编程语言   时间:2015-01-17 12:43:35    阅读次数:193
THREE.js -- 增加Nurbs曲线旋转生成曲面,即时调整更新实例
three.js webgl - Nurbs曲线旋转生成曲面,即时调整更新实例 拖动黄色节点,调整曲面母线...
分类:Web程序   时间:2015-01-17 08:51:00    阅读次数:524
[MODx] 10. Using Babel for Muti-languages support
1. Go to 'Extras' -> download and install 'Babel'.2. Set up '.htaccess' file, currently, we set up three languages:find '# The Friendly URLs part' in ...
分类:其他好文   时间:2015-01-16 20:48:12    阅读次数:292
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!