关于Three.js基本几何形状

    一、有关球体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 讲解three.js中各种几何体

https://threejs.org/docs/index.html 学习参数即可 

转载于:https://www.cnblogs.com/zjf-1992/p/6169984.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值