I'm undertaking a project to develop a specific type of 3D object using three.js. My goal is to have a cube displayed in wireframe mode with only the edges visible. However, I would like the edges that are positioned behind the cube to appear dashed. Here's an example for better clarification:
I am uncertain whether this can be achieved using three.js or if it would be more suitable to work directly with webgl.
Should I utilize THREE.Mesh
in wireframe form or consider employing THREE.Line
along with LineDashedMaterial
, or perhaps even combining both approaches?