Jump to content

animate points


Recommended Posts

Hi, got another problem

I have the following setup (see attachment).

9 points with an attribute "HEIGHT" (describing the height for each point)

An attribCreate sop which animates the existing attribute "$HEIGHT*chf("../add1/pt0x", $F)"

A point sop with $HEIGHT in ty

No, how can I achieve the following animations (in houdini select, so no chops)

Move each point to its final position

1: with the next point always starting 1 second after the previous started

2: with the next point always starting after the previous reached its final position

3: but instead of individual points move each complete row (or column) to its target position using the methods described above

4: how to simulate the lag chop with expressions, so that (optionally) each point temporarily moves a bit above its final position

Thanks in advance

Achim

animate.hipnc

Link to comment
Share on other sites

Wow, thanks Andrew!

so

1=

$TY+fit($F,$START+$DELAY*($PT),$START+$DELAY*($PT+1)+$DELAY,0,$HEIGHT)

2=

$TY+fit($F,$START+$DELAY*($PT),$START+$DELAY*($PT+1),0,$HEIGHT)

3a (row by row) =

$TY+fit($F,$START+$DELAY*wrap($PT, 0,3),$START+$DELAY*wrap($PT,0 ,3)+$DELAY*.5,0,$HEIGHT)

3b (row by row) with additional delay (small) per point

$TY+fit($F,$START+$DELAY*wrap($PT, 0,3)+($PT*5),$START+$DELAY*wrap($PT,0 ,3)+($PT*5)+$DELAY*.5,0,$HEIGHT)

3c (row by row) with additional delay (high) per point

$TY+fit($F,$START+$DELAY*wrap($PT, 0,3)+($PT*15),$START+$DELAY*wrap($PT,0 ,3)+($PT*15)+$DELAY*.5,0,$HEIGHT)

>>> 3c causes the points in the next row to start, before the last points in the previous row have finished . I cant figure out how to modify this expression :( so this does not happen

Any ideas here?

4= ???

well, this is nearly perfect, but I would like to have another option

right now it takes for every point the same amount of time to reach its target position, how can I make them all travel at the same speed, so that points with a higher Height attribute take more time to reach final position ?

Thanks again

Achim

delay3.hipnc

Link to comment
Share on other sites

Hmmmm...may be this helps...

PS

its about: "right now it takes for every point the same amount of time to reach its target position......"

If You want offset in time just modify expression:

0.8 + point("../sop11",$PT,"ddtime",0) for example

You can also randomize speed attribute :)

PSS

cofee + cigarettes = :wacko:

Delete "attribcreate3" sop

And replace "parameter1" vop with "constant" vop (float = 0)

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