oh yes. I was thinking of implementing a 3d engine to use. Not for full 3d, but to use a s buildings from a top down view. A few other environmental objects. heck even rotating. but if your on top of it. You rock :)
Are you using a 3d engine or is this custom 3d code?
I am using a 3D Library called THREE JS. So that I do not have to deal with WEBGL code.
And then all that happens on the screen is by me. Check the Source Code.
There are big limitations to 3D in WebGL.
JavaScript is running via JIT complilers and this is far slower then Complied code. And I guess being such a "Advanced" language does not help either :)
And Webgl does not use Geometry Instancing (at least not to my knowledge).
So limit your units! And Polygons!
I am actually still baffled how Construct 2 gets such a high framerate..
I made stress test with the THREE JS Library and I end up with roughly 2000 Planes (or Cubes). And the WebGL demo:
http://www.scirra.com/labs/perftest-webgl/
Gets me around 4000!
Hm...