Solver sop: evaluate every 10 frame? {[SOLVED]}

   586   3   0
User Avatar
Member
1075 posts
Joined: April 2017
Offline
Hi!

I wanted to use a solver to detect all the assets visible from my shot camera for the whole timeline. For this, I could speed things up by evaluating at every 10 frames. Currently, the solver sop can only do Sub Steps unless I'm missing something... ?

-Olivier
Edited by olivierth - Oct. 15, 2024 11:48:37
User Avatar
Member
8833 posts
Joined: July 2007
Offline
you can use Feedback For loop instead, so that you can evaluate the input on as many or few frames as you want
Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
1075 posts
Joined: April 2017
Offline
I found a work around. I basically use a for-each loop to merge every single frame of the animation with a i@frameID. After the for-each loop, I delete the geo with i@frameID I don't want. It's not great but it works.

I also previously tried something similar to what you said. I used a for-each loop with a detail wrangle to calculate a frame (i * 10). I fetch that data in a Timeshift sop with a detail function but no matter what, I get a value of zero...

Attachments:
Houdini_forLoop_timeshift_01.JPG (31.4 KB)

User Avatar
Member
1075 posts
Joined: April 2017
Offline
ARG!

Ok, never mind. The problem with my for-each (image above) was my detail function. I made a small typo. Now it works!

-Olivier
  • Quick Links