Automated Caching Pipeline (Simulation Farm)
发布于:2024-11-21
Configure Farm Machines
- Download and extract ffmpeg
- Download and install freefilesync
- Install UE
- Supports version 5.1 and later
- Configure Server
- Open the latest Style3D Simulator /Content/Python/Server folder
.webp?alt=media&token=6dd7beb7-ed91-491e-ae84-f0d16ce09e64)
Setting Up the Server
- Copy the
Serverfolder to the farm machine. - Open the
style3d_server_startup.batfile with Notepad.
.webp?alt=media&token=8874227a-f944-42f7-ab83-ee8097163555)
- Modify the Unreal Engine path in the
style3d_server_startup.batfile to the Unreal Engine installation path on the farm machine. Save and close Notepad. - Double-click the
style3d_server_startup.batfile to start the server.
.webp?alt=media&token=44d77656-4126-43fb-b4c2-79d8c78ab2cc)
Feature Access
- Ensure your Style3D account has AutoPipeline permissions.
- In the Style3D Simulator menu, you will find the following options:
.webp?alt=media&token=85d9d9fa-49a5-4dc0-8123-29243371e658)
Preparing the Simulation Template
Using the Demo project as an example, you need to complete the following preparations:- Prepare the blueprint for the simulation character:
- Attach the Style3D component to the character and configure the clothing.
- The location of the character template in the Demo project:
.webp?alt=media&token=6a25ab2b-ee92-481c-ba5f-fddfc8215842)
- Prepare the Sequence template:
- The Sequence template should include the following tracks:
- Style3D cache recording track
- Camera track
.webp?alt=media&token=d3ccae3b-814b-4532-a792-1fe61d7505c2)
- The location of the Sequence template in the Demo project:
.webp?alt=media&token=4b9af29a-cf91-45a8-998d-2d5463500b9a)
- Prepare animation assets:
- Place all the animation assets that need to be simulated in a single folder.
- The location of the animation assets in the Demo project:
.webp?alt=media&token=067fe014-fb8e-4327-913e-6a871ceaa7f0)
- Prepare camera assets:
- Place all the camera assets that need to be simulated in a single folder.
- Note the naming of camera assets:
camera_ + "action_name.fbx" - The location of the camera assets in the Demo project:
.webp?alt=media&token=251b07bb-c1a9-45aa-9db6-12f8af1998b8)
Automatic Remote Project Synchronization
- UI:
.webp?alt=media&token=9fb7dd52-74e5-42bd-8396-bca6123ccc91)
- Parameter Description:
SharedDiskDirectory: The address of the shared diskFreeFileSyncPath: The installation directory of FreeFileSync on the current working computerSlavesConfig: Remote machine configuration, can configure multiple machinesIP: Remote machine IPPort: Remote machine PortUEEnginePath: Unreal Engine installation directory on the remote machineProjectPath: The directory where UE projects are stored on the remote machineFfmpegPath: The installation directory of ffmpeg on the remote machineFreeFileSyncPath: The installation directory of FreeFileSync on the remote machine
- Operation Process:
- Ensure the server is started on the remote machine;
- After configuring the relevant settings for the remote machine, click the 'CheckValid' button to check if they are valid;
- Click the 'Sync' button to start synchronizing the project.
Configuring Automatic Simulation
- UI:
.webp?alt=media&token=d5b5bc56-333f-4fa5-8fba-ff8879013ec0)
- Parameter Description:
Remote IP: The IP of the farm machine receiving remote tasksRefAssetConfig: Associated asset configurationSolveConfig: Simulation-related parameter configurationSequenceConfig: Sequence-related configurationPreviewVideoConfig: Preview video-related configuration
- Operation Process:
- After configuring the parameters, click the 'Run' button and wait for the simulation to complete.