virtual images are out of focus

 

when using ar tracked camera with shotoku 120VR ,Why the virtual images are out of focus after zoom in.

There is focus tracking data, but it doesn't work on virtual element, is there any way to bind them, or force virtual images always be focus on.

virtual images are out of focus

   CUC_STU

 
Profile Image
TwentyStudios
  -  

If you look at the message log, you can see that you haven’t calibrated your lens fully, so you should start there. 

The focus plane in your virtual world relates to the same focus plane in the real world, so if your lens is properly calibrated, you should just set the focus on the camera so that you have your foreground in focus. If you want a less shallow depth of field, you could edit the Aximmetry camera compound to use a higher f-stop. You could possibly do This in the PostProcessVolume as well, but I’m not sure. 

 
Profile Image
CUC_STU
  -  

First question, where is the shallow depth of field setup ,can you show me more detail,thx.

Then,this is my calib file, i have done the zoom calib fully, focus length now is inf,  i have set focus distance to 1000m .I know what you mean about the focus plane in virtual world relates to the same focus plane in the real world , but cam focus data seems not affect the focus of the virtual image in this scene.


virtual images are out of focus

virtual images are out of focus

 
Profile Image
TwentyStudios
  -  

The shallow (or not shallow) depth of field setting is set in Unreal with Aximmetry Camera or possibly in the PostProcessVolume by adjusting the F-Stop value, just like on a real camera. 

The Calibration file in the screenshot isn’t the same calibration file you’ve selected in Aximmetry. Aximmetry seems to be using a Shotoku120VR file and in the calibrator you show a FX6+DZO calibration. Also, looking at the message log in the screenshot, the text in red says there’s no incoming tracking data. 

 
Profile Image
CUC_STU
  -  

The axi cam1 profile is using FX6+DZO for sure, the camera focus is 1000m which is set in the calib file , I use 1000 meters to represent that the focal length is infinity at this point  


virtual images are out of focus

 
Profile Image
CUC_STU
  -  


Thanks for your imfomation, I just want a less shallow depth of field so the image would always be focused,  how could i edit the Aximmetry camera compound to use a higher f-stop. or do it in the PostProcessVolume .



 
Profile Image
TwentyStudios
  -  

You should check the Unreal documentation for information on is, since it’s purely a UE5 functionality that doesn’t directly relate to Aximmetry.

 
Profile Image
CUC_STU
  -  

Finally i found the manual focus distance value in aximmetry ar camera(tracked) , it is hide in the panel . but when i put the cinecameraActor in sequence , the value appear.  i don't think this will explain in unreal documentation because it is a aximmetry plugin 

virtual images are out of focus

virtual images are out of focus

 
Profile Image
TwentyStudios
  -  

This isn’t what I was talking about. Manually adjusting the focus distance value won’t give you less shallow depth of field, it will only shift the focus plane. If your lens is properly calibrated, you shouldn’t adjust this. 

Adjusting the f-stop/Aperture is very much an UE5 function and not an Aximmetry specific plugin or functionality. Did you try setting the F-stop/Aperture to something higher in the PostProcessingVolume? 

https://medium.com/@ilkyal3d/unreal-engine-5-an-extensive-guide-to-post-processing-and-camera-features-for-game-developers-440ca60da2b9

 
Profile Image
CUC_STU
  -  

I have tried to set the F-stop/Aperture to something higher in the PostProcessingVolume , nothing happens in the aximmetry camera view.

Then i recalibrate the lens file, even thought i don't think the lens file got any problem before(keep focus ,just change zoom in the calib is a method that is often used in project, and I haven't had this problem in a virtual studio)  but i have changed the full focus when doing the calibrate as the picture below .


The tracking focus data changes with the actural lens zoom, but changing the actual lens focus does not change the focus data, Still , i can't control the focus of the virtual image, i can't use zoom to keep focus right in the shooting

virtual images are out of focus
virtual images are out of focusvirtual images are out of focus

 
Profile Image
CUC_STU
  -  

By the way,   i don't want to change the focus in aximmetry lens calib,  the reason is when I do the 3x3 point calibration, there is always a phenomenon that the data curve is particularly unsmooth during the lens push and pull process, which is reflected in the image that the virtual image is offset in a wide range of the picture. 

The official tutorial for calibration with Panasonic PTZ cameras only explains how to do the first few points, and then skips to the end of all the points that are done at the end.

 
Profile Image
TwentyStudios
  -  

Did you try making those adjustments in the Aximmetry camera instead? virtual images are out of focus

 
Profile Image
CUC_STU
  -  

I have found the FStop value in aximmetry virtual camera before,but it's not exit in Aximmetry_AR_Tracked_Camera. A lot of parameters are not  exposed under the camera of aximmetry_ar_tracked camera

 
Profile Image
Eifert@Aximmetry
  -  

Hi,

Aximmetry AR Unreal cameras function differently from other cameras. The key difference is that the Cine Camera Actor is instantiated when the scene starts, rather than being part of the camera blueprint.
However, you can easily override which Cine Camera Actor gets instantiated by following these steps:

  1. Right-click in Unreal's content browser and select Blueprint Class:


  2. Then search for CineCameraActor and select it:
    virtual images are out of focus

  3. Locate the Aximmetry AR camera in your scene, then select ARCamera from its child components. Choose your newly created Cine Camera blueprint as its Child Actor Class:
    virtual images are out of focus

  4. You can then modify the FStop value by double-clicking on your CineCamera blueprint.
    virtual images are out of focus
    Note that any edits you make must be compiled before starting the scene. Alternatively, you can add a Get Aximmetry Scalar node in your CineCamera's blueprint to dynamically control the FStop value from Aximmetry.

More on Get Aximmetry Scalar can be found here: https://aximmetry.com/learn/virtual-production-workflow/preparation-of-the-production-environment-phase-i/obtaining-graphics-and-virtual-assets/creating-content/creating-content-for-aximmetry-de/additional-control-with-blueprints/

Warmest regards,

 
Profile Image
CUC_STU
  -  

Thanks, Eifert

Problem solved!!  Thank you for your patience with the step-by-step introduction and illustrations.

Warmest regards!

;