I've been looking to find some good resources for converting DOM coordinates to GL. Anyone have any good information/sources/etc.? I'd like to build a simple framework combining somewhich rendering combines web page DOM elements to GL and having themwith WebGL, such that they're manipulable in the same coordinate space.
How does the plain CSS coordinate system relate to the one used by WebGL? How can I make sure the two line up (e.g. have a div and a WebGL quad transformed the same way)? Can I expect CSS3D transform coordinates to correspond to WebGL?