Three-dimensional frame without diagonals

I am trying to make my geometry without diagonals. Here is an example of a plane (attached) to explain: The enter image description here left plane is what I get, the right plane is what I am looking for. Is this possible?

+4
source share
1 answer

if you are going to use plane geometry, you can try the following link ...

Edgehelper

var geometry = new THREE.PlaneGeometry(10, 10, 10,10);

var material = new THREE.MeshLambertMaterial({color:0xff0000,opacity:0.2,transparent:true,overdraw:0.5});

for (var i = 0; i < 1; i ++) { var mesh = new THREE.Mesh(geometry, material);

mesh.position.x = i*20; mesh.position.y = 0;//Math.random()*20-(1*i); mesh.position.z = 0//-59;//Math.random()*20 - 100; mesh.rotation.x = Math.random(); mesh.rotation.y = Math.random(); scene.add(mesh);

check the link ..

+2
source

All Articles