WebGL Test
1:00
Added: 2 years ago
From: alexbustin
Views: 20,582
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:
see all

All Comments (17)

Sign In or Sign Up now to post a comment!
  • Just use Unity

  • i keep google search , but i cant find a good tutorial , do you mind give me the link of the site u learn from?

  • how is this any different/better than implanting a JOGL applet in regular HTML? give me an example. im not saying it isnt, i just dont know.

  • It's worth noting that JavaScript execution in Chromium is currently many times faster than FireFox Minefield.

    Large WebGL apps tend to look great in Chromium but awful in Minefield, which is just glacial by comparison.

  • If you wanted to see more, then why don't you try it out for yourself?

    I learnt and implemented this is about half a day (coming from an ActionScript background)

  • Alex, in no way this was an attack to you or your code. Not at all. It was a sarcastic comment about WebGL speed.

    I'd love to see WebGL as a real "OpenGL for the web", but the current speed is not even close. The comment was mean to raise awareness about this.

    Your code is useful because it shows the current state of WebGL.

  • @juanmedin

    The 100 fps is most probably due to a setTimeout(f, 10) somewhere in alexbustin's code, rather than being a fundamental limit on WebGL's performance.

  • @juanmedin maybe, just MAYBE his fps is limited at 100, so it's a constant 100 only because it can't go higher.

    AND, he says he's coming from an actionscript background which means he's probably not THAT experienced, so his code could probably be optimized even though it wouldn't be necessary in this case.

    Experiment yourself or go watch some of the other stuff out there.

    As you will find out performance really isn't too bad.

  • Yes it probably is limited at 100 in order to ensure liveness of the rest of the browser. The bottleneck with WebGL is JavaScript, which won't be a problem much longer. You could probably buffer those spheres in VBOs and render fifty of them and still get an awesome FPS.

  • 11

  • Let's hope Microsoft doesn't ruin the party with DirectX for the web. *shivers*

  • @jsparakov Hope not, but DirectX is a tech that I doubt would make it very far on the web due to its windows-only nature. All you'd get is "maybe" better performance on windows machines, but anything coded in it would not be cross-platform, which is against the very nature of the internet. With that said, I doubt Microsoft wont try it.

  • The future of web-content is looking promising.

  • You have to checkout the latest version of WebKit and compile/build it with 3d canvas enabled.

    The nightly build does not have it enabled (yet). This is why I'm show it as a video. ;)

  • cool, where can i test it?

  • Cool! :)

Loading...
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more