Gio,
I am still fooling around with the 3D stuff.
I am seeing a condition / problem that I'm not sure how to fix.
I create a canvas and hand it to three.js via wade.getLayerCanvas().
Everything works ok, except that the canvas is not scaled correctly compared to the browser window.
It is also offset to the right.
The canvas is always sized to be 620x908 in actual pixels.
So, if the browser size is less, the canvas is shifted to the right and not scaled
If I scale the browser horizontally, nothing changes,
but if I scale the browser vertically the canvas snaps to the same size as the browser window.
I have attached a picture ot this note, the blue represents the threeD canvas while the white box represents the browser window.
The left is the initial condition, when I look at the canvas, it is off center.
The center image is what happens if I scale the browser horizontally.
The right image shows what happend if you scale vertically, browser and canvas match.
I hope my explaination makes sense ?
thanks,
Shri