Welcome to od|forum

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.

magneto

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

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 :)

Share this post


Link to post
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 :).

Share this post


Link to post
Share on other sites

Thanks Doum. I want to use this for not just cached geo but also animated/keyframed geo in the network. So alembic, bgeo, and inplace animated/keyframed all require different approaches.

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now