zoukankan      html  css  js  c++  java
  • 关于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 学习参数即可 

  • 相关阅读:
    winform 与 html 交互 简单案例
    Winform窗口弹出位置控制
    c#预处理指令
    最简单的数据绑定
    Asp.Net细节性问题精萃
    AjaxUploader使用
    Log4net对文件的支持
    Log4net对数据库的支持
    Log4net使用
    Log4net介绍
  • 原文地址:https://www.cnblogs.com/zjf-1992/p/6169984.html
Copyright © 2011-2022 走看看