Dark Bit Factory & Gravity

GENERAL => Projects => Topic started by: Raizor on June 18, 2011

Title: Playing with OpenGL, torus knots and music sync.
Post by: Raizor on June 18, 2011
I've been playing around with generating objects procedurally and syncing with music using MiniFMod. I came across some instructions on here for syncing that Hellfire wrote a while back. This was very handy :)

Attached is a little test I made. I used to info provided on torus knots by Blackpawn and Sol to put this together.

It generates a torus knot and uses syncing. It's synced to 2 beats in the audio. One beat controlls the thickness of the knot, the other beat randomizes the P and Q values used to generate the knot. It's a bit plain looking, but has specular highlights.

I'm still learning OpenGL, but thanks to all the great resources available (especially the OpenGL SuperBible book), it's all good so far. Not using display lists or anything for this (yet), so it's not as fast as it could be. Runs at 60fps on my machine though. Music (Mental Hangover) is by Hollywood/Jetset.

Exe file should be attached to this post.
Title: Re: Playing with OpenGL, torus knots and music sync.
Post by: padman on June 18, 2011
That's really cool stuff! And it's running smoothly on my shite PC too. You are right, it needs some coloring, but besides that it's nice already. :clap: