Thickness of lines using THREE.LineBasicMaterial

后端 未结 8 1642
小鲜肉
小鲜肉 2020-11-27 06:53

I am using the code below to create hundreds of lines in my three.js scene

edgeGeometry[i] = new THREE.Geometry();
edgeGeometry[i].vertices[0] = v(x1,y1,z1);         


        
8条回答
  •  栀梦
    栀梦 (楼主)
    2020-11-27 07:02

    You can use CanvasRenderer instead of Webglrenderer. Check out the ifficial documentation here where each shape has a border of linewidth = 10;

提交回复
热议问题