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

    Setting Up the Server

    • Copy the Server folder to the farm machine.
    • Open the style3d_server_startup.bat file with Notepad.
    • Modify the Unreal Engine path in the style3d_server_startup.bat file to the Unreal Engine installation path on the farm machine. Save and close Notepad.
    • Double-click the style3d_server_startup.bat file to start the server.

    Feature Access

    • Ensure your Style3D account has AutoPipeline permissions.
    • In the Style3D Simulator menu, you will find the following options:

    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:
    • Prepare the Sequence template:
      • The Sequence template should include the following tracks:
        • Style3D cache recording track
        • Camera track
      • The location of the Sequence template in the Demo project:
    • 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:
    • 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:

    Automatic Remote Project Synchronization

    • UI:
    • Parameter Description:
      • SharedDiskDirectory: The address of the shared disk
      • FreeFileSyncPath: The installation directory of FreeFileSync on the current working computer
      • SlavesConfig: Remote machine configuration, can configure multiple machines
        • IP: Remote machine IP
        • Port: Remote machine Port
        • UEEnginePath: Unreal Engine installation directory on the remote machine
        • ProjectPath: The directory where UE projects are stored on the remote machine
        • FfmpegPath: The installation directory of ffmpeg on the remote machine
        • FreeFileSyncPath: The installation directory of FreeFileSync on the remote machine
    • Operation Process:
        1. Ensure the server is started on the remote machine;
        1. After configuring the relevant settings for the remote machine, click the 'CheckValid' button to check if they are valid;
        1. Click the 'Sync' button to start synchronizing the project.

    Configuring Automatic Simulation

    • UI:
    • Parameter Description:
      • Remote IP: The IP of the farm machine receiving remote tasks
      • RefAssetConfig: Associated asset configuration
      • SolveConfig: Simulation-related parameter configuration
      • SequenceConfig: Sequence-related configuration
      • PreviewVideoConfig: Preview video-related configuration
    • Operation Process:
      • After configuring the parameters, click the 'Run' button and wait for the simulation to complete.


Feedback title