06-29-09

3D plane, 3D lighting meet sound spectrum

Last post I did, I got a nice 3D sphere rendered with some simple diffuse ( I think ) lighting. It looks pretty good.
Here is another example with 3D lighting, only this time, I’m using a simple plane, and also using, drum roll, the sound spectrum to set the y property of the vertices.
All it is in the long run, is just a 3D sound visualizer I guess. Cool thing is that it doesn’t look bad, if you pretend not to see the buggy triangles being drawn without culling or whatever, it does the trick. I’m just not good enough at math and programming and stuff to get proper culling coded :) .

Anyway!!!
check out the swf, or just grab the shit source code.

ps: you might need to close any other pages / tabs with flash content using sound or video.
I know… that blows!

One Comment on “3D plane, 3D lighting meet sound spectrum”

Leave a Comment