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.
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 :)
(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.
You can find the first two tutorials on the tutorials page!
One of them is an introduction to WebGL, and the other one will help you create you first simple WebGL app.
It's time to finally start drawing something - and let's make it easy today. I will try to show you some basic stuff - how to initialize things, how to define shaders, how to bind uniforms and attributes (I hope you have read Tutorial 0) and how to make it move, or "animate" :). Here you can download the source for tutorial 1. Now let's get started!
Welcome to my first tutorial about WebGL! For this one I suggest you grab a nice cup of coffee, lay back, a just scroll down a bit... I promise, it's not too hard!