Jump to content
Butachan

motion vector pass for Nuke

Recommended Posts

Hi,

I have been researching for a while how to export motion vectors from houdini mantra to nuke... and it wasn't easy....

For starters Nuke seems to swap the R and G values for some reason.... which did not make easy the to troubleshoot 

And I am still a bit confuse between the diference of camera space and ndc space though I kind of understand why I need to use ndc space.

this is what I got so far I hope it helps anyone that uses this. And if by any chance someone knows a better workflow it would be much appreciated.

 

test_MV - Newandimproved.hip

Share this post


Link to post
Share on other sites

You don't have to do conversion from space to space for getblurP nodes. Check documentation about that node.

You have also example in documentation with this

motion_vector.gif.ea96a36ee7c64a1b0733ca793bba09aa.gif

Share this post


Link to post
Share on other sites

@djiki Are you sure about not needing to transform to screen space?

I really haven't have the time to test in deep but the test that I made seem to work fine.

The original set up from the helpfile did not give me proper results in neither nuke or AE.

just FYI. I got my setup form here (Japanese, sorry):

http://nomoreretake.net/2016/11/13/houdinivector-blur-pass-to-nuke/

The post is in japanese but the author also got help here at the forums on:

 

And after testing I only flipped the channels as Nuke seems to like it the other way (not really an issue, but more of a lack of implementation into nuke).

But my question is sincere... are you sure is not needed the change to screen space? because as I said I haven't have the time to test the set up without the transform but it does make sense to me as if Pblur is in world or camera space the x value will differ from screen right?

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×