Get previous frame geometry

Get previous frame geometry

Anonymous
Not applicable
935 Views
3 Replies
Message 1 of 4

Get previous frame geometry

Anonymous
Not applicable

Hi guys,

Fairly new to bifrost. I have a an animated sphere thats been translated in x axis.
What I would love to do is basically have  the previous frame geo available to do some maths...(eg subtracting positions to get the direction vector)
I am kinda not able to get it through the feedback ports... I guess they work when the geo is deformed within the compound??(I might be wrong here..)

Any help would be super useful.
Thanks a lot 🙂

0 Likes
Accepted solutions (1)
936 Views
3 Replies
Replies (3)
Message 2 of 4

mjcg91
Collaborator
Collaborator
Accepted solution

Here is the simplest way to gest previous frame data.

feedback_port_previous_frame1.jpgfeedback_port_previous_frame2.jpg

Maxime Jeanmougin - Technical Artist
https://maximejeanmougin.com

Join the Bifrost Addicts community on Discord:
https://discord.gg/bifrost-addicts
Message 3 of 4

jacob_levinson
Explorer
Explorer

Im Very confused how do i get a compound node to do that?

0 Likes
Message 4 of 4

sepu6
Advisor
Advisor

its just a solver (feedback loop), so you can use the simulation example node. 

or you can create a compound, then you right click on the port and set the feedback port. 

Like this

 

maya_VmwrcB1MCb.gif

0 Likes