Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.54 KB

Export-Camere-Poses.md

File metadata and controls

32 lines (23 loc) · 1.54 KB

Export Camera Poses

1. Install Blender

2. Export camera poses from UE project

  • Right click on the cine camera actor of the sequence and select Export.... UE_camera_pose_1

  • There is no need to modify the settings, just select Export. UE_camera_pose_2

  • Read the index N of the last frame from the sequence or from the rendered image. For the following example, N is 329 UE_camera_pose_3

3. Transform camera poses in Blender

  • Double-click pose.blend to open it in Blender. UE_camera_pose_1

  • Import the fbx file exported from UE. UE_camera_pose_2

  • If you import successfully, you will see Cine_Camera_Actor. UE_camera_pose_3

  • Select Layout to change the End with N+1 (N is the index of the last frame of the sequence). UE_camera_pose_4 UE_camera_pose_5

  • Select Script and change the fp to your local directory. UE_camera_pose_6

  • Select Cine_Camera_Actor and then click the Run icon. transforms.json will be saved in fp. The unit of position is m. And the rotation matrix needs to be multiplied by 100 to normalize it. You can use generate_split.py to generate files for training. UE_camera_pose_7