RealTwin Docs
  • CameraTwin
    • About CameraTwin
    • Installation
      • Installation - Mobile app
      • Installation - Unreal Engine
      • Changelog
    • Get Started
    • Documentation
      • Mobile Applications
        • Entry Screen
        • Main Camera Screen
        • Menu Drawer
        • Horizon Alignment
        • Quick Actions (Mobile)
        • Advanced Camera Controls
          • Android Untracked Mode
      • Unreal Engine Plugin
        • CameraTwin LiveLink Setup
        • Control Panel
        • Quick Actions
        • Recording Settings
        • Recording Events
        • CameraTwin Recorder
          • 🚧 CameraTwin Recording Asset 🔜
        • Scene Capture Components
        • Camera Parameters Manager
          • CG Focus Controller
          • 🚧Advanced Focus Controller 🔜
      • Stage Setup
      • Multi-Camera Setup
    • Tutorials
    • FAQ
    • Troubleshooting
      • My device is not showing up in the LiveLink sources list
      • My Stream seems frozen in Unreal Engine
    • Support
  • Virtual Productions Cloud [VPC]
    • VPC Service
    • VPC Dashboard
    • VPC Plugin
      • VPC Plugin Installation
        • Changelog
      • Toolkits
        • Toolkit Installation
        • Environment Toolkit
          • Tools
            • Text to Environment Map
            • Image to Environment Map
          • Results
          • How to use the results
          • Changelog
        • Motion Toolkit
          • Tools
            • Text to Motion
            • Trajectory Control
            • Motion Edit
            • Motion Stitch
            • Motion Load
            • Tool Options
            • Using custom inputs
            • Prompt Guidelines
          • Tutorials
          • Changelog
        • Material Toolkit
          • Tools
            • Texture to Material
            • Using custom parent Materials
          • Changelog
    • FAQ
    • Support
Powered by GitBook
On this page
  • Controller Description
  • Use Case
  • Setup and Usage
  • Create the Controller
  • Set the Actor of Focus
  • Usage
  • Controller of:
  1. CameraTwin
  2. Documentation
  3. Unreal Engine Plugin
  4. Camera Parameters Manager

CG Focus Controller

This page contains information about the CG Focus Controller of the Camera Parameters Manager feature.

PreviousCamera Parameters ManagerNext🚧Advanced Focus Controller 🔜

Last updated 9 months ago

Controller Description

The CG Focus Controller is a controller that adjusts the desired focus distance of the smartphone's camera according to the distance between the Virtual Camera Actor and the Virtual Object of focus.

Use Case

The CG Focus Controller was developed to tackle the problem of setting the camera focus distance to match the distance of CG/virtual objects. Since with the CameraTwin application the smartphone's camera parameters are matched with the Virtual CineCamera Actor, that means that the focus distance of both is set based on the focus settings of the smartphone. In the case of automatic focus the smartphone is estimating the actual distance of the objects in view and it adjusts the lenses to focus on that distance. In the case of manual focus the phone is focusing on that specific distance. In both cases the Virtual objects, like an AR character, are not perfectly in focus throughout the shoot as the camera is moving. For that reason the CG Focus controller was developed in order to automatically calculate the distance between the Virtual Camera Actor and the Virtual Character or Actor that needs to be in focus. This distance is then set as the desired focus distance to the phone and it dynamically changes on every frame.

Setup and Usage

Create the Controller

To create the CG Focus Controller you can either go to the Camera Parameters Manager of your desired Camera Actor

Add a new Controller in the list of the Camera Controllers

Create a new CG Focus Controller Asset from the dropdown

Or alternatively right click in content browser and start typing "CG Focus Camera Parameters Controller"

Set the Actor of Focus

Open the CG Focus Controller Asset and set the "Actor to Focus" field with the Actor you desire to focus on

Usage

After that you are ready to shoot your AR shot with your CG character in focus!

Controller of:

Make sure that the phone is set to "Remote" Mode for the Focus-Zoom pair, you can find more information about that .

Camera Parameters Manager
here