Can we use WebGL only by Javascript?
Can we use WebGL by other language such as C,c++,Java,.etc?
Javascript is too simple, it can not construct complex data structure.
if we use it, how to manage complex scene data?
anyone knows give some proposal?
The short answer is that webgl only supports javascript.
WebGL is a means of using 3D graphics in a web application. It depends on OpenGL which is basically a library for generating 3D graphics. WebGL only implements a subset of OpenGL. When programming in C, C++ OpenGL is a more flexible choice. Java applications can also use the full OpenGL library via the JOGL bindings.
The real virtue of WebGL is that a user can run 3D graphics in a browser. Using javascript in a browser is less complicated and less of a security risk than downloading a C or C++ program.
I do not know of any good ways to use general OpenGL in a web browsers so WebGL and javascript will probably be your best choice. You might look through the other posts for help on managing your screen data. I remember seeing posts that deal with that subject.