关于Three.js基本几何形状
2016-12-13 14:59
429 查看
一、有关球体SphereGeometry构造函数参数说明
SphereGeometry(radius, widthSegments, heightSegments, phiStart, phiLength, thetaStart, thetaLength)
radius — sphere radius. Default is 50. 球体半径 默认值 50
widthSegments — number of horizontal segments. Minimum value is 3, and the default is 8. 水平分段数
heightSegments — number of vertical segments. Minimum value is 2, and the default is 6. 垂直分段数
phiStart — specify horizontal starting angle. Default is 0. 水平围绕中心水平角度
phiLength — specify horizontal sweep angle size. Default is Math.PI * 2. 水平围绕周长 一周
thetaStart — specify vertical starting angle. Default is 0. 垂直围绕中心水平角度
thetaLength — specify vertical sweep angle size. Default is Math.PI. 垂直围绕周长 一周
二.请点击下图体验【改变SphereGeometry球体参数与可视化图形】很直观展示
关于Three.js基本几何形状的更多学习
解释几个英文单词 CubeGeometry几何体/PlaneGeometry面板--平面/SphereGeometry球体/CircleGeometry圆形或扇形
CylinderGeometry圆柱体--圆台/TorusGeometry 圆环/TorusKnotGeometry圆环节
http://www.ituring.com.cn/article/50172" target=_blank>http://www.ituring.com.cn/article/50172 讲解three.js中各种几何体
https://threejs.org/docs/index.html 学习参数即可
SphereGeometry(radius, widthSegments, heightSegments, phiStart, phiLength, thetaStart, thetaLength)
radius — sphere radius. Default is 50. 球体半径 默认值 50
widthSegments — number of horizontal segments. Minimum value is 3, and the default is 8. 水平分段数
heightSegments — number of vertical segments. Minimum value is 2, and the default is 6. 垂直分段数
phiStart — specify horizontal starting angle. Default is 0. 水平围绕中心水平角度
phiLength — specify horizontal sweep angle size. Default is Math.PI * 2. 水平围绕周长 一周
thetaStart — specify vertical starting angle. Default is 0. 垂直围绕中心水平角度
thetaLength — specify vertical sweep angle size. Default is Math.PI. 垂直围绕周长 一周
二.请点击下图体验【改变SphereGeometry球体参数与可视化图形】很直观展示
关于Three.js基本几何形状的更多学习
解释几个英文单词 CubeGeometry几何体/PlaneGeometry面板--平面/SphereGeometry球体/CircleGeometry圆形或扇形
CylinderGeometry圆柱体--圆台/TorusGeometry 圆环/TorusKnotGeometry圆环节
http://www.ituring.com.cn/article/50172" target=_blank>http://www.ituring.com.cn/article/50172 讲解three.js中各种几何体
https://threejs.org/docs/index.html 学习参数即可
相关文章推荐
- Three.js学习之几何形状
- 关于怎样使用three.js的小教程<一>
- 【10.06】关于SPA,以及Backbone.js基本用法学习摘要
- three.js自定义形状
- 关于three.js中添加文字的方式
- 关于Asm.js的一些基本介绍和它的实现
- 关于js的一些基本知识
- three.js入门基本知识,教你十分钟做出一个旋转的图形
- 关于three.js载入js格式模型的问题
- 关于模板引擎handlebars.js基本用法
- 关于怎样使用three.js的小教程<一>
- Three.js基本 Demo
- JavaScript权威指南_137_第15章_脚本化文档_15.8-文档和元素的几何形状和滚动-关于元素尺寸、位置、溢出的更多信息
- JS关于数组的基本知识点
- Three.js基础探寻六——文字形状与自定义形状
- JS中关于正则表达式的基本知识
- js class模型 关于 初始化key值为非基本类型是 实例之间是引用该变量
- 利用css来写一些几何形状,从最基本的三角形到复杂的太极图
- THREE.JS场景基本组件(一)
- three.js第一篇【基本了解】