PDA

View Full Version : Announcing GwtGL - develop WebGL apps in Java



Soenke
02-24-2010, 02:27 PM
I'd like to announce the availability of the first version of GwtGL, a WebGL binding for GWT.

Here is a brief description of the project:
WebGL is a new web standard for hardware accelerated 3D graphics in web browsers. Soon all major web browsers (Firefox, Safari, Chrome, IE) will support WebGL - at the moment most of these browsers offer preview version that can be used to experience WebGL powered apps.
WebGL is based on OpenGL ES, so porting apps and games to the web is quite easy.

WebGL is a javascript API, so you would have to program your application using javascript.
This is where GwtGL comes into play. Using GwtGL, which is Open Source and free to use, you can develop WebGL apps using the Java language, using your favorite Java IDE (e.g. Eclipse), using powerful Java tools.
GWT (Google Web Toolkit), GwtGL's underlying technology, uses a cross-compiler to compile your Java code to Javascript that can be run in the web browser. The compiler optimizes your code, so your app will probably run faster than it would if you coded it in Javascript directly.

http://gwtgl.googlecode.com/svn/wiki/img/demo_small.png

With the first release of GwtGL we provide a complete binding for WebGL, so everything that is possible with WebGL directly is also possible using GwtGL. Besides that, GwtGL offers a wrapper layer on top of the binding to allow the developer to program in an object oriented, easier way. We also released some docs with explanations and tutorials, and some examples that you can use as a starting point for your own apps.

More info and a download package can be found at the project website @ http://code.google.com/p/gwtgl/ .

I'd like to get some feedback from you on your experiences or your opinion regarding this project.

Best regards,
Soenke