Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WebGL with a cross-compiler like GWT (recommendations)

I'd like to try out WebGL but do not like JavaScript that much. Are there any *-to-JavaScript compilers like GWT (Java to JavaScript) which you can recommend for WebGL development?

like image 204
Matthias Avatar asked Mar 06 '11 20:03

Matthias


3 Answers

GwtGl allows the use of WebGL in a GWT project.

like image 116
Jason Terk Avatar answered Nov 18 '22 15:11

Jason Terk


I've found gwt-g3d to be the best.

Examples worked the first time for me and it comes with lots of useful utilities e.g. common shader types, common matrix functions etc.

like image 38
Michael Platings Avatar answered Nov 18 '22 14:11

Michael Platings


I also vote for GwtGL! It was very easy to write WebGL applications with this wrapper. I can use all benefits from Java and interact with other, state of the art, javascript libraries like gl-matrix to get matrix functions. I've written some posts how to use GwtGL based on the famous learningwebgl.com tutorials here http://gibberfish.net/learning-webgl-lesson-1-with-gwtgl/.

like image 3
Sven Avatar answered Nov 18 '22 15:11

Sven