Currently, I am attempting to create a wireframe that will display quads instead of triangles by utilizing the following code:
var geo = new THREE.EdgesGeometry( _this.geometry ); // or WireframeGeometry
var mat = new THREE.LineBasicMaterial( { color: 0xffffff, linewidth: 2 } );
var wireframe = new THREE.LineSegments( geo, mat );
_this.scene.add( wireframe );
However, when the model is rendered, it does not show all the edges and still displays some triangles. Ideally, I want it to resemble how Maya presents wireframes.
I have learned that ThreeJS no longer supports Face4, causing it to always showcase triangles instead of quads. Is there any way to work around this limitation? I've heard about using a pixel shader to only display mesh edges, but I have struggled to comprehend and implement it successfully.
If possible, I would greatly appreciate guidance on achieving this goal, whether through existing threejs features or via a pixel shader method.
You can find the model source here.
Thank you!