Straight Tube Using Tubegeometry
how can I create a straight tube using TubeGeometry? I can only find examples with curves.
Solution 1:
I ended up looking at the documentation and there were extra parameters that allowed me to set the cylinder open ended or not.
As mrdoob said, i also set doubleSided to true so the inside of the cylinder is not showing blank.
Edit: sorry forgot to show how I did it using the parameters.
THREE.CylinderGeometry = function ( radiusTop, radiusBottom, height, segmentsRadius, segmentsHeight, openEnded )
Post a Comment for "Straight Tube Using Tubegeometry"