Jump to content

Noise propogating in circles


Recommended Posts

Hi - hope someone can help. I'm trying to make a fairly common effect of noise propogating in a circle, but I'm new-ish to Houdini so it's got me stumped.

My attempt uses a point VOP to animate the inner circle, and I'm attempting to use the Solver SOP to propogate this animation, basically setting the P.y of each point to the P.y of the point inside it in the previous frame. I thought this would be simple but I'm missing something very basic I think - file is attached. This is the VEX in the solver:

if (@ptnum > 100) {
    vector newpos = point(0, "P.y", @ptnum-100);
    v@P = setpointattrib(0, "P", @ptnum, set(0,newpos,0), "add");
}

Each circle currently has 100 points. Any advice would be welcome! Cheers - Chris

waveProp.jpg

stackedCircles.hiplc

Link to comment
Share on other sites

just a warning....if you plan to emit particles from this, make sure you RESET pscale back to 1 after you copied out the successively larger rings...otherwise, if you have them colliding with a ground plane say...you'd get a weird conical shape cuz...the outside particles are 'larger'...instead of the default 1.

hmm..well that's in theory....in practice...I had to reset it to 0 !.....doesn't make sense...here's that file, see if you can figure out why pscale should be reset to 0 instead of 1...

(so I guess a particle is just a point...ie. radius/pscale = 0, my bad for thinking of default 1)

vu_stackedCircles_particles.hipnc

Edited by Noobini
Link to comment
Share on other sites

Fantastic stuff Noobini - thanks so much for this. Much more than I expected! Timeshift is much more elegant than solver, thanks for the pointers.

I can see this place is going to be my new favourite hangout - just browsing the old posts is like digging for gold... in a goldmine.

Cheers! Chris

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...