Mo-Sys Depth of field lens calibration

 

Hi Guys,

Trying to figure out how to get Aximmetry (broadcast DE) to render depth of field correctly with a mo-sys with a B4 Canon broadcast lens and blackmagic ursa setup. We have already calibrated our lens on Mo-sys. 

We've enabled focus tracking on our tracked camera blueprint on unreal before cooking it.  Somehow we could never get aximmetry to focus virtual subjects correctly. 

We notice mo-sys spits out focus data as percentage, is there something we have to do in the blueprint to get these data working properly? Zoom tracking is working flawlessly.

Any help will be appreciated as we tried scouring the forum for related post but we couldn't find anything helpful.




   Silentonset

 
Profile Image
Aximmetry
  -  

Hi,

Currently it is assumed that the focus distance is get in meter. If your tracking device gives it back in percentage then you can try to modify the value coming from the tracking device to expand it to a minimum and maximum depth using Aximmetry.

Probably the best to insert this code between your Camera compound and you unreal project. Unfortunately the data itself is in a "collection" type which is a complex data format so you have to extract and put the focus distance back.

Here is an example:

For it to work you have to set the Key property of the Collection Scalar and Set Collection Scalar node to Can Focus

Note: since Unreal uses cm we automatically multiply this value with 100.