Hi,
When I use certain geometries in cobination with for example LineMaterial, I get a very weired round-shaped object (see picture). Any idea why this is? It seems to be the underlying problem for multiple problems I have…
My code:
var object = new Group();
object.name = 'gcode';
var geo = new IcosahedronGeometry(20, 1);
var wireframe = new WireframeGeometry2(geo);
var matLine = new LineMaterial({
color: 0x66fb6a,
linewidth: 1, // in pixels
vertexColors: false,
//resolution: // to be set by renderer, eventually
dashed: false
});
const line = new Wireframe(wireframe, matLine);
object.add(line);
return object;
Any ideas?