I'm new to ThreeJS so this is probably something relatively trivial that I'm not understanding. But I'm in the process of adapting a demo I found for drawing cubes to do 3D scatter plots. I've had no issues adding data points, etc. But I now want to add a grid to parts of the cube. I am trying to use GridHelper to do this.
That said, I'm having difficulty getting the grid to align with the floor of the cube. As you can see at the link below, the dimensions of the grid match correctly, but the cube needs to be rotated for the grid and cube to match up.
Below is a link to what I currently have:
http://wxalert.info/private/scrap/3dplot.html
Any help would be greatly appreciated.