Live data from Hacker News

WebGL Path Tracing

madebyevan.com

11–20 of 34 posts

Re: WebGL Path Tracing

#13
post #2

Warning: caused a complete system hangup here with Chrome 13 on Windows 7, Intel graphics.

Worked great for me until I switched tabs back to HN to read comments. My screens instantly went black while my video card driver thew up all over my desk.

Re: WebGL Path Tracing

#14
post #8

That's fantastic. I've been meaning to get into WebGL (perhaps make some sort of tech demo game with it). I've held off because of performance issues (also, I admit, I'm not too excited about dealing with shaders). I think I should stop procrastinating now and actually do something with it. This is very exciting!

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".

Oh, really? That sounds eminently doable. Do you happen to have any fantastic resource for shaders?

Re: WebGL Path Tracing

#19
This is one of the coolest things I've seen all year, without exaggeration. The gradual rendering alone is new to me (and utterly fascinating), but the fact that diffuse lighting can be rendered in a browser... this completely redefines what I understand a browser to be capable of. Seriously amazing.

Re: WebGL Path Tracing

#20
post #8

Earlier quoted context omitted.

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".

Oh, really? That sounds eminently doable. Do you happen to have any fantastic resource for shaders?

The OpenGL orange book has helped me tremendously http://www.amazon.com/gp/product/B002HMJYC4/ref=pd_lpo_k2_dp...
Post reply on HN