Jump to content

How to instance/copy animated geometry onto points that start when a point appears?


Recommended Posts

Hi,

If you have animated point cloud, what's the best way to copy/instance animated geometry on these where the animation for each copy starts as soon as the point appears? Should I use TimeShift? For alembic files, I have to use abcframe? I thought maybe there is an easier way for this.

Because if I just instance them as is, the animation is already finished for all copies if I am at a frame that's greater than the last animated frame of the copied geometry.

 

Thanks :)

Link to comment
Share on other sites

Hey magneto,

 

There is a string attribute called instancefile(I think point to files written on disk) or instancepath(point to geo node inside houdini) which can be set to the path of your geometry ie(instancefile): "/geo/myinstance.$F4.bgeo" and you could create an attribute for the time for each point start at there birth? ie /geo/myinstance.@time.bgeo. But I think it will be only visible at render time? It been a while since I've used instance sorry :).

Link to comment
Share on other sites

Here's one way to deal with keyframed data. Its pretty cumbersome. I bet with a bit of thought it could be made cleaner.

The copy chop lets you splat an animation down at any time another channel goes above a threshold. I've attached an example.

Heres how it works:

When the points appear, they get an int attribute just for that frame. i@just_appeared = 1

That gets read into chops and used as a template to copy the animation.

 

trigger.hip

  • Like 1
Link to comment
Share on other sites

  • 1 year later...

I'm trying to use this setup but is it possible to use an alembic file as animation ? I mean copying an alembic animation instead of the cubes that are now moving, and make the animation start using the same trigger  ?

I'm trying but with no success

Thank you

 

Ray

Link to comment
Share on other sites

  • 1 year later...
On 3/18/2018 at 2:14 AM, madrenderman said:

I'm trying to use this setup but is it possible to use an alembic file as animation ? I mean copying an alembic animation instead of the cubes that are now moving, and make the animation start using the same trigger  ?

I'm trying but with no success

Thank you

 

Ray

I'm also trying to offset animation of alembic file. I have an infection solver and want to copy/instance the alembic onto each point having the animation start at frame 0 when the point gets an infection value of 1.

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