Lesson 7 coming up soon

The code for lesson 7 is now pretty much done; I’m writing up the blog entry now, and may make a few final tweaks to the code as I do so, but you can try it out now if you’re feeling adventurous

[UPDATE] Just realised it might not be obvious — in order to see the lighting effect, you’ll need to start the cube spinning (with the cursor keys) and check the “Use lighting” box under the canvas.

[FURTHER UPDATE] I’ve made the obvious change: lighting is now switched on by default, and the cube starts off slowly spinning. So now the lighting should be easy to see.

You can leave a response, or trackback from your own site.

7 Responses to “Lesson 7 coming up soon”

  1. krishoood says:

    Hello. Sorry but i can’t see the light effect. :(

  2. giles says:

    Are you clicking the “Use lighting” checkbox?

    (Sorry if that’s a silly question ;-)

  3. giles says:

    Oh, and you won’t see much unless you start the cube spinning — otherwise you’ll just have the front face lit, and it will all be lit up with the same intensity.

    I’ve updated the post, as this was definitely not obvious :-)

  4. khiraly says:

    Im just interessing, if anybody had successfully run webgl on linux.
    Does it depend on the video card (driver)?

    Im fighting with this issue (ubuntu +firefox beta +intel video card) more than a month now, without any success.

    Here is a thread:
    http://groups.google.com/group/mozilla.feedback.firefox.prerelease/browse_thread/thread/cfc923de60994f92

    Looks like nobody really cares…

    Any idea? Where should I post my question? Is there some knowledgable people out there?

    Best regards,
    Khiraly

  5. giles says:

    I reckon your best bet is to post in the OS/Browser issues forum at Khronos: http://www.khronos.org/message_boards/viewforum.php?f=45

    HTH

    Giles

  6. Nick W says:

    In reply to the Linux question, yes I am running it on Ubuntu 9.04 on a dual boot Macbook Pro with (I think) a Nvidia 9400 card.

  7. khiraly says:

    Nick: Could you please write what is your string value of “webgl.osmesalib” ?
    (just go to the about:config to check it)

    And also which package contains the file where it points to?

    giles: Dunno about Khronos forum, it seems very low traffic. ITs worth a shoot however, thanks for the tip!

    Best regards,
    Laszlo

Leave a Reply

Subscribe to RSS Feed Follow Learning WebGL on Twitter