News for hackers. Stuff that matters.
Re:WebGL Path Tracing by dualogy on Wednesday August 10, 2011 @09:22AM (#2868032)
Shaders are fun! Looks a bit like "scary c++" at first but not too steep a learning-curve actually. No header files, pointers and the likes. Just a couple of maths functions and maths types (vec3, float etc). Pixel shaders return a "color" vector, vertex shaders a vertex "position" and "that's about it".
Re:WebGL Path Tracing by hebejebelus on Wednesday August 10, 2011 @11:10AM (#2868575)
Oh, really? That sounds eminently doable. Do you happen to have any fantastic resource for shaders?
Re:WebGL Path Tracing by dualogy on Wednesday August 10, 2011 @01:58PM (#2869375)
Learn them together with WebGL -- I recommend "The Lessons" over at LearningWebGL.com very highly.
Re:WebGL Path Tracing by hebejebelus on Wednesday August 10, 2011 @07:07PM (#2870605)
That's a great site, thanks very much.
Re:WebGL Path Tracing by Groxx on Wednesday August 10, 2011 @12:28PM (#2868968)
Re:WebGL Path Tracing by daeken on Wednesday August 10, 2011 @01:12PM (#2869189)
I learned the basics of OpenGL from NeHe many years ago, and while things have gotten better, I can't recommend the site anymore. It's all written for old-school OpenGL (3 and below) and is generally a compendium of what you shouldn't do when writing OGL code. I still love it, but it's a bad resource for people new to OGL.
Re:WebGL Path Tracing by gcr on Wednesday August 10, 2011 @04:27PM (#2870028)
What's better?
Re:WebGL Path Tracing by daeken on Wednesday August 10, 2011 @04:49PM (#2870126)
The Orange Book, Red Book, Lighthouse3d tutorials, and general experimentation. One nice thing about WebGL is that the cruft is largely gone, due to its ES parentage. This means that a lot of old tutorials are completely irrelevant, but that you can safely use just about everything without running into horrible practices. (Not that there aren't plenty of pitfalls left.)
Re:WebGL Path Tracing by AndrewMoffat on Wednesday August 10, 2011 @12:09PM (#2868862)
The OpenGL orange book has helped me tremendously http://www.amazon.com/gp/product/B002HMJYC4/ref=pd_lpo_k2_dp...