I am trying to make a cuboid and show a Cartesian grid with different number of subdivisions in each direction.
I have tried using a tiled box with edge rendering; however, it does not seem to let the subdivisions in the three directions to be controlled independently (tiles are the same on each face). Similarly, the spacing of the grid material is equal in both directions.
To give a bit more context, what I am trying to achieve is what in Three.js would be done with:
var box = new THREE.BoxGeometry(width, height, depth, nx, ny, nz);
and then building a WireframeGeometry on top of it, and using the LineBasicMaterial to create LineSegments and assign them the box geometry.
Any help is greatly appreciated! Thank you