Pages: [1]
|
 |
|
|
Author
|
Topic: Fusion 5/6 Custom Tool Settings to convert LW style motion vectors to RSMB (Read 1136 times)
|
|
lightwolf
|
Hello there,
attached is a settings files to convert the motion vectors as exported by LW/exrTrader to the format understood by : ReelSmart Motion Blur from Re:Vision Effects.
Basically, these settings perform the steps described in the exrTrader Manual, but within Fusion.
If you use these settings, then there is no need to tinker with the processing options for the motion buffer in exrTrader.
You can either load the settings into a Custom Tool in Fusion, or add them to a Bin and then drag and drop them into a Comp.
Cheers, Mike
|
|
|
|
|
Logged
|
|
|
|
MrWyatt
Kilo Pixel Renderer

Offline
Posts: 94
infiniMap User
|
can you post the math you are doing to convert the values. I try to do something similar for nuke using an expressions node and am kind of stuck with what rsmb wants. any hint would help. thanks in advance.
greetings
Guillaume
|
|
|
|
|
Logged
|
|
|
|
|
lightwolf
|
can you post the math you are doing to convert the values. I try to do something similar for nuke using an expressions node and am kind of stuck with what rsmb wants. any hint would help. thanks in advance.
Sure, this is pretty much a straight copy of the expression as used in Fusion: n1 = 2048 s1 = (1 / n1 ) * 0.5 vx = max(min((vx1 + n1) * s1, 1), 0) vy = max(min((vy1 + n1) * s1, 1), 0) n1 is the max distance as expected by RSBM, usually 2048 s1 is a temp calculation to (slightly) speed things up. min/max are used to clamp the result within the range of 0..1 vx is the final vector on x, vx1 the float buffers from LW, vy/vy1 the same for the y direction. Cheers, Mike P.S. The .setting file is a text file anyhow, so you can extract the expressions from it.
|
|
|
|
|
Logged
|
|
|
|
MrWyatt
Kilo Pixel Renderer

Offline
Posts: 94
infiniMap User
|
Sure, this is pretty much a straight copy of the expression as used in Fusion:
n1 = 2048 s1 = (1 / n1 ) * 0.5 vx = max(min((vx1 + n1) * s1, 1), 0) vy = max(min((vy1 + n1) * s1, 1), 0)
n1 is the max distance as expected by RSBM, usually 2048 s1 is a temp calculation to (slightly) speed things up. min/max are used to clamp the result within the range of 0..1 vx is the final vector on x, vx1 the float buffers from LW, vy/vy1 the same for the y direction.
Cheers, Mike
Thank you very much Mike. this will help me tremendously in my nuke expression. P.S. The .setting file is a text file anyhow, so you can extract the expressions from it.
argh, haven't thought about checking it first. Am not really a fusion wizard so I thought it would be something binary instead of human readable text. (slaps hand against forehead).
|
|
|
|
|
Logged
|
|
|
|
|
lightwolf
|
argh, haven't thought about checking it first. Am not really a fusion wizard so I thought it would be something binary instead of human readable text. (slaps hand against forehead).
No worries. that was actually their big change for V5.0, now flows/comps are basically stored as a big, nested, text based Lua array. Cheers, Mike
|
|
|
|
|
Logged
|
|
|
|
|
Pages: [1]
|
|
|
 |