I’m currently taking a computer graphics class and I’ll be spending this semester delving into WebGL. So, I’ll be giving some tutorials as I get new projects to work on.
Setting Up Your Browser To Support WebGL
First do a Google search for “google chrome developer build”, and it should be the first result. Here is the link it took me to.
http://www.google.com/chrome/intl/en/eula_dev.html
Once you have chrome’s developer build, click on [Start->All Programs->Google Chrome] and then right-click on ‘Google Chrome’. Select ‘properties’ and append this to the end of the [Target] string.
Here is how my target string looked like.
C:\Users\Chris\AppData\Local\Google\Chrome\Application\chrome.exe --enable-webgl
Now open up Chrome by going through [Start->All Programs->Google Chrome] and you should be ready to view WebGL webpages. Click here to test for your self.
Getting Started With WebGL
Here are the three files you need to set up your frist WebGL script.
webgl.html
sylvester.js
glUtils.js