Archive for January 31st, 2008

31
Jan
08

Vertex Noise Fun

I’ve been having fun messing around with the Vertex Noise shader from the GLSL Orange Book.

I took the Quartz Composer version from the QC 3.0 Developer Examples folder as a starting point, and added some new features and tweaks.

Here are some examples of the shader’s output:

Vertex Noise Edit 310108 01Vertex Noise Edit 310108 02
Vertex Noise Edit 310108 03

OpenGL sometimes has problems showing the back faces through the transparent areas (an issue known as z-fighting), so rendering is a bit glitchy at times, but it’s still quite cool.

I’ve added inertia to all the controls too, which makes using it more fun, I think!

Advertisements
31
Jan
08

Vertex-Displacement Test 01

I though I’d have a go at displacing some vertices in GLSL.

It was surprisingly easy!
Of course, I’ve not done anything fancy like recalculating the normals, so I guess lighting effects wouldn’t work properly.

Nice way of distorting the image in 3D space though.

Vertex Displace Test 03Vertex Displace Test 02
Vertex Displace Test 01




Twitter

January 2008
M T W T F S S
« Dec   Feb »
 123456
78910111213
14151617181920
21222324252627
28293031  

Links

Blog Stats

  • 487,906 hits
Advertisements