# AXIBO Sync Pre-Rendering

### AXIBO Sync and Record:

{% embed url="<https://drive.google.com/file/d/1Q4rK-rdpAFqvkAw9HZHSrbqbPi4-YkNO/view?usp=sharing>" %}
AXIBO Sync and Record Tutorial Video
{% endembed %}

#### Initial Steps:&#x20;

1. Open Unreal Engine and create a new project. The project can be blueprints or C++.&#x20;

   **Note:** Blueprints are recommend and are the easiest way to get started.
2. Navigate to the projects folder on your computer.&#x20;

   <img src="https://2605831551-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw12QCDDbTnGacryDSbBw%2Fuploads%2FTHLXb4dpwhUZFNC2fcwz%2Fimage.png?alt=media&#x26;token=8cf449f2-600d-4876-baf8-58f1b2f7b94a" alt="" data-size="original">
3. In the projects folder, create a new folder called **"Plugins"**. Open this folder.

   **Note:** This must be done for every new project.

   ![](https://2605831551-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw12QCDDbTnGacryDSbBw%2Fuploads%2FvC7cx8YMw0lL6vBNXAzI%2Fimage.png?alt=media\&token=fbb782ee-84a9-43d7-870d-c102e4c13666)
4. Download the pre-compiled plugin from our google drive. Currently available for Unreal Engine 4 and 5.
   * UE4 and UE5 version found [here](https://drive.google.com/file/d/1AUThElTQF0qmO-DY5n-Fkm39qycPzmB1/view)
5. In your **"Downloads"** folder unzip the newly downloaded plugin. The files name is **"ue4\_axibo\_plugin.zip"**.&#x20;

   ![](https://2605831551-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw12QCDDbTnGacryDSbBw%2Fuploads%2FoM9K6CXIqABWH4WXH9W7%2Fimage.png?alt=media\&token=1376bbe9-14c5-41fb-92fe-98379cfcbecf)![](https://2605831551-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw12QCDDbTnGacryDSbBw%2Fuploads%2FR6wRJO0n0GhapCg4zE1z%2Fimage.png?alt=media\&token=c932d133-11c8-48f0-abf1-d5d06bbdd161)
6. Copy both folders into the **"Plugins"** folder that you just created in your project.&#x20;

   &#x20;![](https://2605831551-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw12QCDDbTnGacryDSbBw%2Fuploads%2FNgILEzlbXA9V4BujqWYy%2Fimage.png?alt=media\&token=f00ee7ba-bdab-4181-bdc5-abe82fda157e)![](https://2605831551-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw12QCDDbTnGacryDSbBw%2Fuploads%2FE6VDwWp1b2DsUQEFo6pv%2Fimage.png?alt=media\&token=a58f6f1a-7cd9-4b14-ac0d-05b65e8ca016)

   **Note:** Any other AXIBO plugins will be installed the same way.&#x20;
7. **Important:** Re-launch the project.&#x20;

#### Recording and Syncing

1. Confirm t hat **"Show Plugin Content"** is enabled. View Options --> Show Plugin Content

   ![](https://2605831551-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw12QCDDbTnGacryDSbBw%2Fuploads%2FvnUsO6wNpAyDFOerwM9y%2Fimage.png?alt=media\&token=f458e038-6cca-45d1-8cc8-aa6b8ec54a74)
2. Add into your environment an Unreal Engine AXIBO Camera. This virtual camera will be linked to the AXIBO camera. &#x20;

   ![](https://2605831551-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw12QCDDbTnGacryDSbBw%2Fuploads%2FJufwwydSDrkb2sTIAZUp%2Fimage.png?alt=media\&token=a3cb4980-3923-4c78-8f8e-b5e6a3aea4de)![](https://2605831551-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw12QCDDbTnGacryDSbBw%2Fuploads%2FrFHvDDuwQ2fXrVhrDNVJ%2Fimage.png?alt=media\&token=2b2c8137-13df-47ab-b47f-10a3319533a3)
3. Head over to the right hand panels and open the **"Blueprint Editor"**. &#x20;

   ![](https://2605831551-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw12QCDDbTnGacryDSbBw%2Fuploads%2F5QrYcp8mLluRpf1dAXqZ%2Fimage.png?alt=media\&token=7163a64b-ff56-422c-a284-a4a533cc3afa)
4. There are two things that you can change.&#x20;
   1. Make sure that the IP address of the AXIBO matches this IP address. The AXIBO must be networked to the same IP address.

      **Note:** You can follow our documentation on this.

      ![](https://2605831551-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw12QCDDbTnGacryDSbBw%2Fuploads%2FJD7FJd6EZoO9UtwIt9W1%2Fimage.png?alt=media\&token=048c7843-5704-406c-bbd3-d692241f773b)
   2. The next is the scales. These change how much the virtual camera moves compared to the real AXIBO camera.&#x20;

      **Example:** Changing the **"Pan Scale"** to 2. If the AXIBO moves 90 degrees the virtual camera will move 180 degrees.

      ![](https://2605831551-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw12QCDDbTnGacryDSbBw%2Fuploads%2F0hizPFl3kLtHCJvfEtDD%2Fimage.png?alt=media\&token=7f762b96-5a78-46e4-bf85-2b1cb7ff4b0b)
5. Now we will record from the virtual cameras perspective while the AXIBO camera moves. Head to the **"Take Recorder"** tab and close the sequencer.&#x20;

   ![](https://2605831551-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw12QCDDbTnGacryDSbBw%2Fuploads%2FN6fhCwHRCJuvhxuApY0U%2Fimage.png?alt=media\&token=fc728822-67eb-4ec6-a66e-034b4266a216)
6. In the **"Take Recorder"** tab link the AXIBO camera.

   ![](https://2605831551-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw12QCDDbTnGacryDSbBw%2Fuploads%2FdMGa1kI5g47jlwgZi58B%2Fimage.png?alt=media\&token=7305caa3-98a7-4796-bcea-4462873a1b1e)&#x20;
7. Open the **"Take Recorder"** settings --> User Settings --> change the countdown to 0.0s.&#x20;

   ![](https://2605831551-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw12QCDDbTnGacryDSbBw%2Fuploads%2F51fdsFrQMvgZ1twyaQwz%2Fimage.png?alt=media\&token=5b702c63-6c15-411e-8395-ef00a7a913eb)![](https://2605831551-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw12QCDDbTnGacryDSbBw%2Fuploads%2Fe4j10rR4JNy55osUk6Pf%2Fimage.png?alt=media\&token=ccdb2171-29ca-4546-89df-2e28711578d7)

   **Note:** The AXIBO will trigger the countdown.
8. In the "Virtual Production" tab of the AXIBO UI start the sync plugin.

   ![](https://2605831551-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw12QCDDbTnGacryDSbBw%2Fuploads%2FfUuj6tlyo21ddaWH2HhZ%2Fimage.png?alt=media\&token=bc616e39-8bd9-4a83-9010-596e33a0658e)
9. Setup your keyframes in the AXIBO UI.&#x20;

   ![](https://2605831551-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw12QCDDbTnGacryDSbBw%2Fuploads%2Fp0GUhsf8nHFVTbGKbW6l%2Fimage.png?alt=media\&token=941ec7c4-5950-4234-b248-b60b753fb03f)
10. Go back to Unreal Engine and start Simulate.&#x20;

    ![](https://2605831551-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw12QCDDbTnGacryDSbBw%2Fuploads%2FhOuh3AoLpyCZhjsutcmH%2Fimage.png?alt=media\&token=9a65ae37-4140-4c20-860d-0963d8878250)
11. Go back to the AXIBO UI and start the keyframes. You will notice the virtual camera moving along side.&#x20;

    ![](https://2605831551-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw12QCDDbTnGacryDSbBw%2Fuploads%2FhH7wfmM5KXdRFjwXwVuW%2Fimage.png?alt=media\&token=253d577b-bad5-4048-9d85-2e7cea79b99c)

    **Note:** Keyframes will start by moving back to the initial position.
12. When the keyframe is finished go to **"Review the last recording".** Close the **"Sequencer"** window.&#x20;

    ![](https://2605831551-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw12QCDDbTnGacryDSbBw%2Fuploads%2FKgtGEU0arMlrQDjiAbVj%2Fimage.png?alt=media\&token=eaf63cae-44c7-49a0-8b24-15b5dcc47352)
13. Start a new recording using this take.&#x20;

    ![](https://2605831551-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw12QCDDbTnGacryDSbBw%2Fuploads%2FwHsYdv7YmjWgTGVQyt0x%2Fimage.png?alt=media\&token=a9e12bf4-48b7-45a8-8f3a-a04b99949ea7)
14. Start the render and make sure the settings match the device you are outputting to.&#x20;

    ![](https://2605831551-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw12QCDDbTnGacryDSbBw%2Fuploads%2FpUncLMidnv8W9KGYcBxR%2Fimage.png?alt=media\&token=c22cdc31-c7c8-487b-90c3-6f3d44239561)
15. Capture movie.

    &#x20;![](https://2605831551-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw12QCDDbTnGacryDSbBw%2Fuploads%2Fme97jpaaOi4kK0slEroI%2Fimage.png?alt=media\&token=b714de36-94fa-4a33-bff6-7f87c5a0a3de)
16. Open the capture folder.

    ![](https://2605831551-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw12QCDDbTnGacryDSbBw%2Fuploads%2F9z5sRxLjtSaQUzNopckE%2Fimage.png?alt=media\&token=6b19189b-0397-4328-8661-f45264c7e986)

### AXIBO Playback:

{% embed url="<https://drive.google.com/file/d/1OJSdoy7M2FcT9nLkuGqxqNvu1r3ephlU/view?usp=sharing>" %}
AXIBO Playback Tutorial Video
{% endembed %}

1. Using a conversion software of your choice convert the **.avi** file to **.mp4**.&#x20;
2. Head back to the AXIBO UI **"Virtual Production"** tab and stop the sync.&#x20;

   ![](https://2605831551-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw12QCDDbTnGacryDSbBw%2Fuploads%2FOjGROUQ94pbEUhDgZttu%2Fimage.png?alt=media\&token=ad8da29b-5385-420a-a052-5278e6f5bd64)
3. In the same tab choose the **.mp4** file that you just converted.&#x20;

   ![](https://2605831551-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw12QCDDbTnGacryDSbBw%2Fuploads%2FxG5p2TNXGjckjIudAYVI%2Fimage.png?alt=media\&token=3a8d48a8-152f-4397-8acf-561bffc31864)
4. After the file is open hit **load()** to load the video.&#x20;
5. In the keyframes tab hitting play will automatically sync the videos together.

   ![](https://2605831551-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw12QCDDbTnGacryDSbBw%2Fuploads%2Fp0GUhsf8nHFVTbGKbW6l%2Fimage.png?alt=media\&token=941ec7c4-5950-4234-b248-b60b753fb03f)

   **Note:** You can have multiple tabs open playing different synced videos.&#x20;
