Jump to content

EQ Cube Race - Audio driven simulation


John Svensson

Recommended Posts

Hi everyone!

 

I just finished my latest personal project, its nothing fancy and a bit weird. It emerged from me thinking about procedural rigs, walk cycles and crowd simulation. It's neither of these things but for me, its something of a first step towards something like that, but maybe its mainly an exercise in VEX. 

 

Its an audio driven animation/simulation, no keyframes except on the camera.

 

The backbone of this is a Point Wrangle with 300 lines (yikes! of highly unoptimized VEX code) running in a SOP Solver in a DOP network.

Each cube has a trigger, listening to a specific frequency of the song. When it gets triggered the cube gets energy forward. The energy decreases for each frame until the cube only has momentum and eventually after tilting back and forth, it settles. The Point Wrangle calculates each cubes position for every frame.
 
If anyone has any interesting ideas, tips, pointers or tutorials about procedural rigs / walk cycles or crowd simulation I would be glad to hear them.
 
Thx
 
/ John
 
 
[media][/media]
Edited by John Svensson
Link to comment
Share on other sites

Thanks everyone, glad to hear you liked it!

 

So how did you make the the sqaure pulse out pattern when the cube lands in i't new spot?

 

As everything else I guess there are 100 ways to do this, the way I've done stuff like this lately is to object merge my geometry I want to spawn stuff like that into a Sop solver in an else empty Dop network and there I'm looking for certain condition to be true and if there are I create a point and merge it into my main chain in the Sop solver. And then you can treat it like a regular particle.

 

If you create a life and age (or corresponding, born & kill frame) you can delete your point after n frames in the Dop network and have a Vopsop or something outside after the Dop network to control pscale, color and alpha (like a regular pop simulation). Age divided by life gives you a nice 0-1 value.

 

I don't know if that was super clear, I'll attach an example file.

CubeRipples_V01_02.hipnc

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...