Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/three.js/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Three.js 如何使用Threejs绘制网格边_Three.js_Webgl_Cad_Edges - Fatal编程技术网

Three.js 如何使用Threejs绘制网格边

Three.js 如何使用Threejs绘制网格边,three.js,webgl,cad,edges,Three.js,Webgl,Cad,Edges,我正在绘制网格的边缘,如下图所示: 我尝试使用THREE.EdgesHelper,但是它只对同一平面上的三角形进行分组,因此它看起来像曲线区域上的线框,我希望避免这种情况 理想情况下,它将是某种我可以显示/隐藏/更改颜色的助手 我不确定该从什么出发,非常感谢你的帮助 谢谢大家! 谷歌“谷歌阴影”,“NPR阴影”。例如

我正在绘制网格的边缘,如下图所示:

我尝试使用THREE.EdgesHelper,但是它只对同一平面上的三角形进行分组,因此它看起来像曲线区域上的线框,我希望避免这种情况

理想情况下,它将是某种我可以显示/隐藏/更改颜色的助手

我不确定该从什么出发,非常感谢你的帮助

谢谢大家!

谷歌“谷歌阴影”,“NPR阴影”。例如