Wondering about something here. I noticed that Three.js geometries come with 'parameter' fields associated with them. Take, for example, the box geometry shown in the image below...
I attempted to update these parameters in this way...
var nodeSize = 10;
var geometry = new THREE.CubeGeometry(nodeSize, nodeSize, nodeSize);
mesh = new THREE.Mesh(geometry, new THREE.MeshNormalMaterial({side:THREE.DoubleSide}));
scene.add(mesh);
mesh.geometry.parameters.depth=20;
Unfortunately, the geometry remains unchanged. Is there a method to modify the geometry by adjusting these parameters?
Check out the fiddle for more details here
Your assistance is greatly appreciated!