How to get points from Prev_Frame in solver?

   896   2   0
User Avatar
Member
1 posts
Joined: April 2021
Offline
I'm moving a 2 point line using keyframes. I'd like to take those 2 points along with the same 2 points from the previous frame and create a 4 sided primitive. I think it makes sense to do this inside a solver, but I can't seem to get the previous position out of Prev_Frame. I'm pretty new to Houdini, though have a history in coding. It's just giving me the current position.

Attachments:
line.hiplc (90.4 KB)

User Avatar
Member
7741 posts
Joined: Sept. 2011
Offline
moo
I'm pretty new to Houdini, though have a history in coding. It's just giving me the current position.

It does give the previous position. However, only gives current position when observed.
User Avatar
Member
8532 posts
Joined: July 2007
Online
moo
I'm moving a 2 point line using keyframes. I'd like to take those 2 points along with the same 2 points from the previous frame and create a 4 sided primitive.

instead of solver you can use TimeShift SOP, you will also get realtime updates that way instead of having to recache if using Solver SOP

Attachments:
line_fix.hiplc (69.3 KB)

Tomas Slancik
FX Supervisor
Method Studios, NY
  • Quick Links