aoisaki Posted November 10, 2017 Share Posted November 10, 2017 Could some one share a simple example hip file about volume optical flow use video with flipsolver,! I'm really know litter about flipsolver I tried by myself but failed, Please help.Thank you! Quote Link to comment Share on other sites More sharing options...
Noobini Posted November 10, 2017 Share Posted November 10, 2017 you could study this one while you wait i guess...(i think theres' a 2nd part too) https://www.sidefx.com/tutorials/driving-fluid-simulations-with-video-data/ Quote Link to comment Share on other sites More sharing options...
aoisaki Posted November 10, 2017 Author Share Posted November 10, 2017 4 minutes ago, Noobini said: you could study this one while you wait i guess...(i think theres' a 2nd part too) https://www.sidefx.com/tutorials/driving-fluid-simulations-with-video-data/ Thank you for reply, I watched this before, but it's really different kind workflow with the 16.5 lanch event's example..... Still can't understand how set up optical flow node and use that data for volumetrail and flipsolver Quote Link to comment Share on other sites More sharing options...
Guest tar Posted November 10, 2017 Share Posted November 10, 2017 load the video into a Cop2Sop, set that to volume slice then use a timeoffsetSOP set to $F+2 for the second input for the opticalflowSOP. You can then source that in DOPs setting the SOP to DOP as C.* -> vel. Not sure if its accurate but a test seemed to work. Quote Link to comment Share on other sites More sharing options...
aoisaki Posted November 10, 2017 Author Share Posted November 10, 2017 39 minutes ago, marty said: load the video into a Cop2Sop, set that to volume slice then use a timeoffsetSOP set to $F+2 for the second input for the opticalflowSOP. You can then source that in DOPs setting the SOP to DOP as C.* -> vel. Not sure if its accurate but a test seemed to work. You can then source that in DOPs setting the SOP to DOP as C.* -> vel. how can I do this? I get C.bx C.by C.bz 3 volume,how to convert these 3 volume to vel. Quote Link to comment Share on other sites More sharing options...
Guest tar Posted November 10, 2017 Share Posted November 10, 2017 2 minutes ago, aoisaki said: You can then source that in DOPs setting the SOP to DOP as C.* -> vel. how can I do this? I get C.bx C.by C.bz 3 volume,how to convert these 3 volume to vel. in SourceVolumeDOP, SOP to Drop Bindings tab, in the 'Velocity Volume' put C.* Quote Link to comment Share on other sites More sharing options...
mestela Posted November 10, 2017 Share Posted November 10, 2017 oflow will generate vectors per channel of your volume, I've found it cleaner and faster to just use alpha (so convert your image to luminance for example, and copy to A), then you get clean vectors to push to dops or whatever. optical_flow_flip.hipnc 4 1 Quote Link to comment Share on other sites More sharing options...
p2or Posted November 10, 2017 Share Posted November 10, 2017 (edited) Many thanks for sharing your approach @mestela, it helps a lot understanding the basic idea. Since siming takes ages on my machine, is there any way to visualize the velocity streamers properly? I already tried adding a 'Volume Trail' to the current setup, but I don't get the streamers to display correctly. Why that's not built into the node itself? Edited March 15, 2018 by p2or Quote Link to comment Share on other sites More sharing options...
Guest tar Posted November 10, 2017 Share Posted November 10, 2017 3 hours ago, mestela said: oflow will generate vectors per channel of your volume, I've found it cleaner and faster to just use alpha (so convert your image to luminance for example, and copy to A), then you get clean vectors to push to dops or whatever. optical_flow_flip.hipnc Yeah dude - that's a heaps better approach. I'm always going to wait for your files now Quote Link to comment Share on other sites More sharing options...
Atom Posted November 10, 2017 Share Posted November 10, 2017 That is a nice setup Matt, but the file exhibits the strangest characteristic. When I am looking through the locked camera and I move it around, the entire setup needs to re-cook. I'm not sure why the cache becomes invalidated just because of a camera move? Is that a side effect of leveraging COPs? Quote Link to comment Share on other sites More sharing options...
galagast Posted November 10, 2017 Share Posted November 10, 2017 (edited) Cool setup Matt! Hey @Atom, I believe the re-ccoking is because of the pointwrangle (2nd node from top) that is transforming the points of the mocapbiped in to the camera space of cam1. I didn't know that this technique could be used to to be able to center and tumble around the target for the Geometry COP! Thank you for the file Matt! Edited November 10, 2017 by galagast Quote Link to comment Share on other sites More sharing options...
Atom Posted November 10, 2017 Share Posted November 10, 2017 I guess that makes sense, thanks for the explanation. Quote Link to comment Share on other sites More sharing options...
Noobini Posted November 14, 2017 Share Posted November 14, 2017 didn't even know this came out 3 days ago !! 1 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.