why h17 retime does not seem to work inside a for each loop.

   2367   3   2
User Avatar
Member
280 posts
Joined: Dec. 2015
Offline
I am trying to retime an animation based on a point attribute but the retime SOP does not seem to work when is inside a for loop. Are there some limitation in the retime sop I need to know?

Bests,
Nico.

Well, I actually found a solution of a kind but is very slow…
Basically I run the retime on every object and delete all but the one I would like to keep. I really don't understand why the same solution do not work by fetching each object individually. Attached is the hip file.
Edited by Nicolas Heluani - Oct. 11, 2018 16:54:57

Attachments:
testRetimeLoop.hiplc (91.9 KB)

https://www.imdb.com/name/nm8408875/ [www.imdb.com]
User Avatar
Member
8521 posts
Joined: July 2007
Online
https://www.sidefx.com/forum/topic/53471/#post-240925 [www.sidefx.com]
Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
280 posts
Joined: Dec. 2015
Offline
tamte
https://www.sidefx.com/forum/topic/53471/#post-240925 [www.sidefx.com]
Wow, thank you very much, that explains it very well.

Thanks.
https://www.imdb.com/name/nm8408875/ [www.imdb.com]
User Avatar
Member
280 posts
Joined: Dec. 2015
Offline
mmm….
Now I have a weird issue with file caches.
If you save the file After the for loop the size of the bgeo.sc is gigantic. like if the geometry remains there even though you delete it inside the for loop…
Very strange….

Edit: Indeed it was exactly that. The packed fragments actually contain the whole geometry so for each loop I was multiplying my own geometry. I solve the problem by unpacking and packing again everything after the operation but SideFX support actually recommend me a better system by just using a repack node with “Repack Fragments” after the blast.
Edited by Nicolas Heluani - Oct. 15, 2018 20:06:07

Attachments:
testRetimeLoopFileCache.hiplc (112.3 KB)

https://www.imdb.com/name/nm8408875/ [www.imdb.com]
  • Quick Links