Skip to Navigation | Skip to Content



WebGL Action | October 21st, 2009

It’s been a while since I’ve blogged last time. We’ve just wrapped up a project with VanAqua (See Chris Stone’s post for more info) and now with my down time, I started looking into WebGL. WebGL is OpenGL for web (duh) but it is currently underdevelopment and it is supported in very few browsers.

This is something I’ve come up with today. I am planning on turning this into some sort of game. Use A-S-W-D keys to move your box.

IMPORTANT!!!: You’ll need to have the latest WebKit Nightly build to run this. To set up, just follow the instructions on this page.

_
Peace out.

Posted in 3d, WebGL, game, openGL | 8 Comments » | Add to Delicious | Digg It

This entry was posted on Wednesday, October 21st, 2009 at 12:27 pm and is filed under 3d, WebGL, game, openGL. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

8 Responses to “WebGL Action”

  1. @F1LT3R Says:

    gl.clearDepth was left in so you no workey on da Firefoxy

  2. Giles Says:

    Hey there,

    Just tried it on the latest Firefox nightly build (also WebGL compatible) and got this:

    Error: uncaught exception: [Exception... "Could not convert JavaScript argument - 0 was passed, expected object. Did you mean null? arg 1 [nsICanvasRenderingContextWebGL.bindBuffer]” nsresult: “0×80570035 (NS_ERROR_XPC_BAD_CONVERT_JS_ZERO_ISNOT_NULL)” location: “JS frame :: http://nitobi.com/yohei/WebGL%20Sample1/js/utils3d.js :: makeBox :: line 206″ data: no]

    The two browsers’ implementations are currently divergent in a number of areas; I guess whether you want to spend the time to make your demo compatible with both is up to you

    Cheers,

    Giles

  3. WebGL around the net, 22 Oct 2009 - Learning WebGL Says:

    [...] Shimomae has put together an interesting-looking demo; it doesn’t run on the current Firefox, but should with [...]

  4. Giles Says:

    Newer builds of Firefox support gl.clearDepth, but unfortunately even with them there’s another problem — don’t know whether the problem’s on FF’s or your demo, though. The error message I get is:

    Error: uncaught exception: [Exception... "Could not convert JavaScript argument - 0 was passed, expected object. Did you mean null? arg 1 [nsICanvasRenderingContextWebGL.bindBuffer]” nsresult: “0×80570035 (NS_ERROR_XPC_BAD_CONVERT_JS_ZERO_ISNOT_NULL)” location: “JS frame :: http://nitobi.com/yohei/WebGL%20Sample1/js/utils3d.js :: makeBox :: line 206″ data: no]

  5. uberVU - social comments Says:

    Social comments and analytics for this post…

    This post was mentioned on Twitter by dalmaer: The awesome @Nitobi crew and getting their WebGL groove on! Check out their early game http://blogs.nitobi.com/yohei/?p=43…

  6. Ajaxian » A State of the Web via October Tweets Says:

    [...] awesome @Nitobi crew and getting their WebGL groove on! Check out their early game 6:02 PM Oct [...]

  7. Action Games Says:

    This was cool

  8. Action Games Says:

    SOrry but i meant the whole thing was

Leave a Reply


Search Posts

  • Links

  • Categories