Sunday, June 19, 2011

Friday, June 10, 2011

For does of you who still did not see it:

Look ma', birdy!

And here is the link to the interactive version of Thumbs UP!

Sunday, June 5, 2011

Render text with canvas 2D

Hello everyone, and welcome to my 4th tutorial about WebGL! This week we shall try something more interesting than spinning a box - Instead of explaining what we are going to do, just take a look at the video below:

You can even put dirty content on it!

Saturday, June 4, 2011

How to create a view matrix

When I started with 3D I had this really handy function in the GLUT library called gluLookAt(...) which helps you position the viewer (camera) inside your scene.What this matrix does is to transform points from world space into camera space - or in other words in it answers this question: "What would be the coordinate of a world point if the camera was the origin of a new world coordinate system?". WebGL does not have it in its API, so let's create our own from scratch then.