Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何使用 TubeGeometry 创建直管?
我只能找到曲线的例子。
我最终查看了文档,并且有额外的参数允许我将圆柱体设置为开放式或不开放式。
正如 mrdoob 所说,我还将 doubleSided 设置为 true,因此圆柱体内部不会显示为空白。
编辑:抱歉忘记展示我是如何使用参数的。
THREE.CylinderGeometry = function ( radiusTop, radiusBottom, height, segmentsRadius, segmentsHeight, openEnded )