WebGL around the net, 1 April 2010

Just a few for today:

  • Well, I’d been looking forward to seeing WebGL support in Opera, but it looks like they’re taking the canvas element in a different direction (h/t Stephen Shankland).
  • I’d not seen this one before: a Google Maps/WebGL mash-up from the C3DL guys. Enter your route’s start and end points, hit “Go”, and watch the road scroll by. Now if only they could integrate it with Street View…
  • An interesting addition to the cookbook, from EWGL: a carefully-crafted regular expression to pull out a list of the uniforms defined in a shader’s source code.
You can leave a response, or trackback from your own site.

5 Responses to “WebGL around the net, 1 April 2010”

  1. aa says:

    In the other news, it’s Topeka Maps;)

  2. EWGL says:

    That regex catches only the easiest uniforms. But for most people that will be sufficient

  3. @EWGL: I think it’s easy to add sampler2D and samplerCube to the list :)
    …and you should also allow for underscores in the name.
    Note also that that regexp would parse uniforms inside comments, be careful…
    Please don’t misunderstand me, but my real question is: why one should parse the shader code searching from uniforms, given that you can query them from the program object (gl.getActiveUniforms, which has the pretty side effect of returning only actually used uniforms)?

    @giles: just to be curious, when you added the SpiderGL particle demo, did you noticed also the spherical harmonics one? It’s visible on the demos page. I suspect sourceforge sends wrong “last modified” dates, so unless you force a page refresh you won’t see any changes. I had many people telling me they are looking at a very old version of the SpiderGL site. Just curious, thanks :)


  4. Lindsay Kay says:

    Whew. Had me going there for a second.

  5. giles says:

    @Marco — I didn’t notice the spherical harmonics demo then, and I somehow managed to miss your comment about it until just now! I’ve posted a link it today’s roundup. Very impressive!

Leave a Reply

Subscribe to RSS Feed Follow Learning WebGL on Twitter