PDA

View Full Version : A WebGL cookbook



giles
11-06-2009, 08:46 AM
One common problem for people starting out in a new language is finding snippets of code to do specific simple tasks. A while back a friend of mine set up a "Cookbook" wiki to help people learning IronPython and it turned out to be very useful to a lot of people. So I've set up something similar for WebGL. It's only got a few recipes so far, but I'll be adding to it as I develop my tutorials -- and if you have something you'd like to add, you're very welcome to do so!

Here's the link: http://learningwebgl.com/cookbook/index.php/Main_Page


Cheers,

Giles

AmiGL
01-26-2010, 05:25 AM
Very nice, thank you.

Could you insert a section for the real begineers: "What you need to start" and so on...

It's possible to use the webGL with the adobe actionscript 3?

Thank you very much
Best regards

giles
01-26-2010, 09:21 AM
Very nice, thank you.

Thank you!


Could you insert a section for the real begineers: "What you need to start" and so on...

I'm writing a series of lessons on the same site, but I see that there's no link from the cookbook -- whoops! I'll fix that, but in the meantime here's a direct link: http://learningwebgl.com/lessons/


It's possible to use the webGL with the adobe actionscript 3?

I don't think so. WebGL is basically JavaScript bindings for OpenGL ES 2.0.


Cheers,

Giles

spirytus
02-12-2010, 03:57 AM
...
I don't think so. WebGL is basically JavaScript bindings for OpenGL ES 2.0.


Cheers,

Giles

So I use hi level language ( JavaScript ) and it changes those calls to some hardware calls via browser? and can we get full perfomance? Is there any documentation about that technical aspect?

giles
02-18-2010, 05:22 AM
So I use hi level language ( JavaScript ) and it changes those calls to some hardware calls via browser? and can we get full perfomance?

Yup, that's pretty much it!


Is there any documentation about that technical aspect?

Not quite sure what you mean here. There's the WebGL spec here: https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/doc/spec/WebGL-spec.html