magneto Posted June 27, 2016 Share Posted June 27, 2016 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 Quote Link to comment Share on other sites More sharing options...
Doum Posted June 27, 2016 Share Posted June 27, 2016 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 :). Quote Link to comment Share on other sites More sharing options...
magneto Posted June 28, 2016 Author Share Posted June 28, 2016 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. Quote Link to comment Share on other sites More sharing options...
rich_lord Posted June 29, 2016 Share Posted June 29, 2016 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 1 Quote Link to comment Share on other sites More sharing options...
madrenderman Posted March 18, 2018 Share Posted March 18, 2018 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 Quote Link to comment Share on other sites More sharing options...
shaneetrain Posted May 13, 2019 Share Posted May 13, 2019 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. Quote Link to comment Share on other sites More sharing options...
madrenderman Posted May 17, 2019 Share Posted May 17, 2019 Hi, I used the @Timeinc attribute in DOPS to create an attribute that start when a point is "activated", I found the solution in this post Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.