WebGL tinysample

 Tiny WebGL/Elemental sample

  1. Donwload latest GWT  (here) and setup a new project.
  2. Add to the build path gwt-elemental.jar (is in the unpacked gwt 2.5 archive).
  3. Add to the gwt.xml file the line  <inherits name='elemental.Elemental'/>.
  4. Use TestWGLdrawrectangles.java as EntryPoint.
  5. Compile and enjoy.

DevMode, at least in our setup, do not works so you need to compile and run
the compiled code. Chrome has an issue in loading local files that do not let
you play wiht the (any) webapp from the local filesystem thus you have to use ff or
start  devmode but when loading in the browser use the url without  ?gwt.codesvr=
in my case
instead of



The content of this post is licensed under the Creative Commons Attribution 3.0 License, and code samples are licensed under the Apache 2.0 License.