Results 1 to 9 of 9

Thread: No luck on a decent one year old PC

  1. #1
    Junior Member
    Join Date
    Dec 2009
    Posts
    6

    No luck on a decent one year old PC

    No rotating cubes for me yet...

    Either using:
    - Minefield 3.7a1pre with "switch webgl.enabled_for_all_sites = true"
    - The latest Chrome launched with "--enable-webgl --no-sandbox"

    Windows XP, 32-bit (SP3)
    GeForce 9500 GT, version 177.92

    Next step: trying to update the NVidia drivers?
    Ariel Malka | http://chronotext.org

  2. #2
    Junior Member
    Join Date
    Dec 2009
    Posts
    6

    Re: No luck on a decent one year old PC

    Update:

    Argh...
    Upgrading to the latest NVIDIA drivers didn't help!
    Ariel Malka | http://chronotext.org

  3. #3
    Junior Member
    Join Date
    Dec 2009
    Posts
    6

    Re: No luck on a decent one year old PC

    Important Update:

    It seems that the problem is not on the drivers side...

    In Minefield, I can see the following in the Error Console:

    Code :
    Canvas 3D: creating PBuffer...
    ---
    Canvas 3D: ready
    ---
    Error: CanvasFloatArray is not defined
    Source File: [url]http://www.peternitsch.net/demo/webgl/index.html[/url]
    Line: 160
    The WebGL example I'm looking at is this one: http://www.peternitsch.net/demo/webgl/index.html
    The results are quite similar with the other examples from here: http://learningwebgl.com/blog/?p=11#examples

    Like if the version of Minefield (and apparently Chrome) that I'm using are too recent to be compatible (syntax-wise) with most of the WebGL examples published on the web...
    Makes sense?
    Ariel Malka | http://chronotext.org

  4. #4
    Junior Member
    Join Date
    Dec 2009
    Posts
    6

    Re: No luck on a decent one year old PC

    Another Update

    Cube Defense does work.
    Seems like it's not based on the same js utils or libs than the examples I previously tested...
    Ariel Malka | http://chronotext.org

  5. #5
    Member
    Join Date
    Oct 2009
    Location
    London, UK
    Posts
    90

    Re: No luck on a decent one year old PC

    Hi arielm,

    Thanks for the heads-up about that. The problem you're seeing is because the WebGL API changed recently -- a class called CanvasFloatArray was renamed WebGLFloatArray -- and the stuff in my examples list pre-dates that change. I'll update the list to point to newer examples.

    The other stuff on my site (for example http://learningwebgl.com/lessons/lesson08/index.html, http://learningwebgl.com/lessons/lesson10/index.html and, as you have a good GPU, http://learningwebgl.com/lessons/example02/) should all work, and you can will find a lot of interesting stuff in the lists of links I've posted (collected here: http://learningwebgl.com/blog/?cat=6). I particularly recommend http://www.nihilogic.dk/labs/webgl_m..._solar_system/

    Cheers,

    Giles

  6. #6
    Junior Member
    Join Date
    Dec 2009
    Posts
    6

    Re: No luck on a decent one year old PC

    Thank you Giles,

    Minefield seems to cope with the bouncing mandelbrot cubes.
    But in the dancing solar-system example: no sun. Seems like a shader issue...

    Note that I could not manage to get anything to work with Chrome yet (latest version, correct command-line parameters...)
    Does it mean that most of the Windows developers rely on Minefield?
    Ariel Malka | http://chronotext.org

  7. #7
    Member
    Join Date
    Oct 2009
    Location
    London, UK
    Posts
    90

    Re: No luck on a decent one year old PC

    I've updated my "getting started" page to give links to demos that I've checked definitely work with the latest Minefield: http://learningwebgl.com/blog/?p=11#examples. (I've kept a list of older ones that no longer work, but with a note saying that they don't.)

    I think most people do rely on Minefield, but I'm a bit surprised nothing's working for you with Chrome. I just checked with the dev channel version (currently version 4.0.249.25), and all of the links on my updated getting started page worked apart from Cube Defense (though there was no audio on the musical solar system). All of the lessons worked too.

    Did you install Chrome using one of the methods on my "getting started" page, or from somewhere else?

  8. #8
    Junior Member
    Join Date
    Dec 2009
    Posts
    6

    Re: No luck on a decent one year old PC

    Quote Originally Posted by giles
    Did you install Chrome using one of the methods on my "getting started" page, or from somewhere else?
    Bingo, it's now working!
    I was running the "normal" Chrome (and I totally missed the "dev channel" part...)
    Ariel Malka | http://chronotext.org

  9. #9
    Member
    Join Date
    Oct 2009
    Location
    London, UK
    Posts
    90

    Re: No luck on a decent one year old PC

    Aha, that would do it

    Glad you've got it working now.

Posting Permissions

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