Results 1 to 7 of 7

Thread: WebGL Experiment

  1. #1

    WebGL Experiment

    He all,

    Khronos Releases Final WebGL 1.0 Specification.

    http://www.khronos.org/news/press/re...-specification

    Decided to give it a try and here is the result:

    http://www.genesisdevice.net/webgl/

    You should have a WebGL capable browser like the latest Chrome. You can use the arrow keys to rotate it.

    Luuk

  2. #2
    PGD Staff code_glitch's Avatar
    Join Date
    Oct 2009
    Location
    UK (England, the bigger bit)
    Posts
    933
    Blog Entries
    45
    Wow, really impressive stuff there, and only around 1 and a bit % cpu on the main thread... nice smooth graphics and no cpu - the future of the web. in 3d. looking forward to see what this leads onto. should be an interesting scene to watch. So when do we get webpascal?
    I once tried to change the world. But they wouldn't give me the source code. Damned evil cunning.

  3. #3
    I was also playing with webgl for the last few days. It looks very promising unlike the javascript language it is bound to. Chrome has a built in javascript debugger so that helps things a bit.
    I have already made a converter for my engine's mesh format (g2m) to something that can be loaded by javascript.
    Here's the result of my experiments: http://genxgames.org/WebGL/Test2/
    It's not obvious but you need to wait until the mesh and the texture have finished loading.

  4. #4
    @Dan

    Cool stuff! I don`t like the javascript either but it does the job.

  5. #5
    PGD Staff code_glitch's Avatar
    Join Date
    Oct 2009
    Location
    UK (England, the bigger bit)
    Posts
    933
    Blog Entries
    45
    Nice stuff there too. I think the word that comes to mind with colours like that is 'shiny...'

    Anyway, that's what I'm saying: I absolutely loathe javascript and it really is a slow pain in the.... Although I guess its still better than VB because who solely uses IE nowadays - especially with the security risk that imposes. Not to mention Mac, and Linux users I think html 5 and js is just the start though. Even if its just for C/C++ I would like to see a cross platform WebC/WebC++ with some WebSdl. That would truly be a revolution.

    Hang on, you could have Doom in your browser running from source? What is this madness.
    I once tried to change the world. But they wouldn't give me the source code. Damned evil cunning.

  6. #6
    Really nice work. I personally would rather use Copperlicht than starting completely from scratch.

    I'm very much impressed with the new web technologies. I really began to love JavaScript. It has become my second-favorite programming language after Pascal. Once you know how object orientation (https://developer.mozilla.org/en/Int...ted_JavaScript and http://www.phpied.com/3-ways-to-defi...ascript-class/) and design pattern work along with the support of libraries such as jQuery frontend web development became really easy and productive for me.
    Freeze Development | Elysion Game Framework | Twitter: @Stoney_FD
    Check out my new book: Irrlicht 1.7.1 Realtime 3D Engine Beginner's Guide (It's C++ flavored though)

    Programmer: A device for converting coffein into software.

  7. #7
    100 skinned meshes. not optimized yet so fps might be low http://genxgames.org/WebGL/SkinnedMesh/
    it takes a bit of time to load.
    webgl will be a very useful tool once it is supported by all browsers (which hopefully will happen some day).
    I am also waiting for flash 11 to give its new 3d features a try.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •