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.
I guess the most efficient would be to customize the grid material with the node material editor to allow different scale depending on the direction ???
Is there no way to actually have a tiled box with different tiles on each face or, at least, parallel faces? That would seem easier than carrying around a custom material with all the generated code…