Romain Ciemniewski

23/05/07

First Working GLSL Shader

Filed under: General — romainciemniewski @ 05:24:25 pm

Thursday the 23rd of may, 3.47pm, a scream coming from the desk 3E21 broke the silent working atmosphere of the 3rd floor.
" IT'S WORKINNNNGGG !!!"
In other words, my first Shaders are working. That's one small step for vislab, one giant leap for me !
But what kind of shader ? Toon Shader ! If you have seen the movie Who Framed Roger Rabbit then you already know what I'm talking about. I you haven't, go rent it 'cause this is a good movie :)
Anyway, let's the pictures talk, they are better than words to talk about graphics :

This first picture shows in green the detection of edges

Image Hosted by ImageShack.us

This is the final result, the edges are colored in black and the continuous light intensity has been replaced by discrets light intensity values.

Image Hosted by ImageShack.us

Thanks John and Ren for their help in GLSL, CJ and Kelvin for C++, Balint for his help in general 3D, Shea for the music that helped me not breaking my keyboard, Charlotte for the perfect Coffee Froth and Masa for his explanation of what a Toon Shader must look like.

Comments, Trackbacks, Pingbacks

The URI to TrackBack this entry is: http://blogs.vislab.usyd.edu.au/htsrv/trackback.php/3320

  1. looking forward to see more shaders

    Comment from: renshao [Member] — 24/05/07 @ 22:19

Leave a comment

Allowed XHTML tags: <p, ul, ol, li, dl, dt, dd, address, blockquote, ins, del, span, bdo, br, em, strong, dfn, code, samp, kdb, var, cite, abbr, acronym, q, sub, sup, tt, i, b, big, small>
URLs, email, AIM and ICQs will be converted automatically.


authimage

Options:
(Line breaks become <br />)
(Set cookies for name, email & url)

powered by  b2evolution
This skin features a CSS file originally designed for WordPress (See design credits in style.css).
In order to ensure maximum compatibility with WP CSS files, most b2evolution features that do not exist in WP are hidden from this generic wpc_* skin.