WebGL Factory
Tutorials and how to's on WebGL and 3D math.
Sunday, June 19, 2011
Friday, June 10, 2011
Ro.me
For does of you who still did not see it:
And here is the link to the interactive version of ro.me. Thumbs UP!
Look ma', birdy!
And here is the link to the interactive version of ro.me. 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.
Sunday, May 29, 2011
Adding textures
Hello Reader! For this week I have prepared a bit more interesting tutorial then last week. I will try to explain how to add textures to an object (yes, it's a plural) and give some more insight into attributes and shaders.
Anyone lost a 1d6 dice?
Labels:
Adding textures,
Tutorials
Wednesday, May 25, 2011
How to convert world to screen coordinates and vice versa
This is a thing every 3D developer should know: for a given point in 3D what is the position of that point in 2D, e.g. on the screen in pixel coordinates? This problem appears quite often (starting with mouse picking) and it' always handy to have the solution at hand :)
Tuesday, May 24, 2011
How to add a blog to technorati.com
(Ok, this one is for my personal use, but some of you might like it too :)
First of all, Technorati.com is a blog search engine for... well, searching blogs. So if you want to make your blog a bit more visible on the net, submit it here.
- Go to technorati.com and sign in/join
- Go to your profile (click on user name in the upper right corner)
- To add your blog go "claim blog"
- Fill out what's to fill out
- You will get an email with a verification code like: E9CCZCBVNHQG
- Put this one in a new post on your blog (not sure if it has to be a new one)
- go back to your account at technorati.com and verify your blog
- "It may take quite some time for evaluation."
That's it!
Labels:
blog,
SEO,
technorati.com
Subscribe to:
Posts (Atom)