mrdoob/three.js — Issue #1369: Wireframe
Author: gnitsuk
Created: 2012-02-21 10:13:36+00:00
State: open

Hello,

Could anyone help me with this please.

What would be the best way to render a shape simultaneously as solid and wireframe?

I have a pentagon geometry and can generate who meshes from it, one with a solid meterial and one with a wireframe material - they are both MeshLambertMaterials and one of them has wireframe: true.

I then render the two pentagons and I see the solid version with the wireframe version superimposed on top.

The thing is, on the wireframe version I can see the three triangles from which the pentagon is made - I really want only to see the perimeter of the pentagon in wireframe. How can I acheive this.

Is the best way to use a LineBasicMaterial and create a THREE.Line for the perimeter of the pentagon?

Thanks,
Mitch.