Focus control with tracking

 

We are utilizing a tracking system that provide lens data together with the Unreal engine.
What's the best way to modify the focus distance for the background and the look of the bokeh when using the tracked camera?


If we switch to manual lens, we loose the focal length and distortion data. All we want to do is to utilize a different focal distance for the background. Ideally we would like to make adjustments to blades and look of bokeh as well.

   jim4586

 
プロフィール画像
Eifert@Aximmetry
  -  

Hi,

To only change the focus distance while keeping the lens data, you can edit the Control Data between the Camera compound and Unreal.
Use the Set Collection Scalar module to change the Cam Focus key of the Control Data:

If you want to change the Focus distance and not overwrite it, you can use the Collection Scalar module to read the Cam Focus from the Control Data before changing it.


You can change the look of bokeh and the blades in the Unreal Cine Camera actor that Aximmetry uses. There is a detailed documentation of the different Cine Camera bokeh settings here: https://docs.unrealengine.com/4.27/en-US/RenderingAndGraphics/PostProcessEffects/DepthOfField/CinematicDOFMethods/
You can set up the following logic to modify the Aximmetry Unreal Camera in the level blueprint:

Just for reference, the above blueprint edits these values in the Cine Camera actor:

Warmest regards,

 
プロフィール画像
jim4586
  -  

@Eifert -

Would be great to get these type of camera settings exposed for camera (tracked and non-tracked) out of the box somehow? Any plans to update the compounds? These kind of settings are always needed to dial-in the look and also possibly change during a shoot.

 
プロフィール画像
Renbry
  -  

I second that. Having focus is important.

I'm trying to use an Indimark/Lonet2 to change focus in Unreal but can figure out how to. I'll make a separate thread but it's important to us that focus can be controlled.

 
プロフィール画像
Eifert@Aximmetry
  -  

Hi,

We have it on our request list to have more control over Unreal's focus settings. And we will consider adding it in future releases after Unreal 5 is implemented.

Warmest regards,

 
プロフィール画像
Eifert@Aximmetry
  -  

Hi,

Aximmetry 2025.2.0 BETA has just been released.
This update introduces general handling of camera aperture settings throughout the system:

  • Calibration Profiles now can contain a mapping between the raw Iris Encoder values and the F-number (called Aperture throughout the system). It can be edited in the Basic Calibrator app (or directly in the XML file).
  • Iris encoder value is read from protocols that support it. (Free-D officially does not support it, but some tracking systems like HTC Vive Mars use the spare "user" field for that purpose, and Aximmetry reads that.)
  • Some camera tracking systems and protocols are capable of sending the final aperture value (Canon CV Protocol, NCam, Trackmen, AGTP). In these cases this value is used.
  • For Virtual Camera paths, the aperture values can be defined for the A, B points both by mouse combination (Alt + Space + Right Mouse) or numerically.
  • Record_3-Audio: aperture is added as an animated user property to the FBX.

Warmest regards,

;