three.js wireframe only shape with hidden edges as dashed lines

前端 未结 2 1201
谎友^
谎友^ 2021-02-02 02:28

I\'m trying to create a specific type of 3D object in three.js. I want for example a cube in wireframe mode (so only edges shown). But I want the edges that are behind to be das

2条回答
  •  别那么骄傲
    2021-02-02 02:57

    This is a really cool idea. I have implemented your answer as described above at:

    http://stemkoski.github.com/Three.js/Dashed-3D.html

    in case anybody wants to see it in action.

提交回复
热议问题