Rebel Fork Framework
Asset Workflow

Setting up Editor

The Editor can process assets in .glb or .gltf file formats by default. However, you can also import .blend files or .fbx files with a few extra steps.

To import .blend files or .fbx files, you need to define the path to Blender and/or FBX2glTF executables in the Settings window. Here’s how you can do it:

  • Open the main menu and select Window > Settings.
  • In the Settings window, you can define the path to Blender and/or FBX2glTF executables.
settings.png
  • Once you have defined the path to the executables, the Editor will be able to import .blend files or .fbx files accordingly.

Defining Asset Pipeline

The process of importing assets is controlled by a file with the extension .assetpipeline. Although you can have multiple files, only one file will be used by the editor. Therefore, it is recommended to use only one file to avoid confusion.

The .assetpipeline file defines how assets are processed during import. It specifies the rules and settings that the editor uses to import assets. By modifying the .assetpipeline file, you can customize the import process to suit your needs.

asset-pipeline.png

Once you have set up your .assetworkflow file, you can add assets by copying them into the Data folder. The Editor should automatically detect new files and run the asset pipeline import process. However, if it doesn’t happen automatically, you can force an asset scan by clicking on the "Update Assets" button in the asset pipeline inspector.

After the import process is complete, the generated files are stored in the Cache folder. You can access the imported assets in the Resources tab under the imported asset tree, as shown in the following screenshot:

imported-resource.png