Convert VRM to FBX and Import to Bakin

Bakin's supported format for 3D assets is FBX.
Therefore, .vrm format files, which are often used for 3D character models, need to be converted to .fbx before importing them into Bakin.
There are several methods of conversion, but here we will explain how to create a simple VRM model with "2" materials using "Vroid Studio" and convert it to .fbx using "Blender".

Vroid Studio Steam: https://store.steampowered.com/app/1486350/VRoid_Studio_v1260/
Blender Steam: https://store.steampowered.com/app/365670/Blender/

At the same time, we will explain how to apply Mixamo's character motions.
Mixamo URL: https://www.mixamo.com/

"Vroid Studio" and "Blender", which appear in the following explanation, can be obtained from Steam and other sources. "Mixamo" is a web service. For details of each application, please refer to the respective references.

Steps to Import VRoid -> Blender -> Mixamo -> Bakin (Case with "2" Number of Materials)

Creating a Folder to Store Data

First, create a folder somewhere to store the data you are about to create.
It will be easier to identify the model if it is the name you are thinking of giving to the model, for example. We refer to this folder as the "Model Folder".

Creating a VRM File

  1. First, create a model using "Vroid Studio".
    Please refer to the "Vroid Studio" reference for details on how to do this.
     
  2. Select "VRM Export".
     
  3. Set the number of materials to "2" in Material Reduction.
    Assign a texture atlas resolution.
    (!) Placing multiple models with large texture sizes on a Bakin map will affect the processing speed of the editor. Please determine the size you need for your project.
     
  4. Export by pressing the Export button.
    Either version of VRM is acceptable.
    The other settings are not necessary when converted to FBX.
     
  5. Save it in the "Model Folder".

Conversion to .fbx

The following images are for "Blender" 4.0, but the process is the same for other versions.

  1. Please install an add-on that imports .vrm into "Blender".
    There are various add-ons, such as "VRM IMPORTER," so please choose the one that best suits your needs. Please refer to the "Blender" reference for information on how to install add-ons.
     
  2. Select File > Import > VRM.
    Select the .vrm you wish to import in the file view.
    When doing so, check the "Extract texture images into the folder" checkbox.
     
    BlenderVRMimport_1.png
     
  3. After importing, delete unnecessary objects.
    Please note that there may be hidden objects.
    The red box in the image is an example of objects to be deleted.
     
    BlenderVRMimport_2.png
     
  4. Select File > Export > FBX.
    Export to the "Model Folder" with the following settings:
    • Include > Object Types: Select Empty, Armature, or Mesh (Shift+click for multiple selections)
    • Transform: Scale 0.01, Check "Apply Unit" and "Use Space Transform"
    • Geometry: Check "Tangent Space" only; uncheck "Apply Modifiers".
    • Otherwise, the default settings are acceptable.
       
      BlenderVRMimport_3.png
       

Add Motions

  1. Motions are added using "Mixamo".
    Please register and log in to "Mixamo".
     
  2. Press the Upload Character button and drag and drop the FBX you just exported.
     
  3. Once uploaded, an untextured model of the character will be displayed, so press Next to continue.
     
  4. Select the motion you like, apply detailed settings in the parameters on the right, and then press the Download button.
    The settings for this are as follows:
    Format (FBX Binary), Skin (Without Skin), Frames per Second (60), Keyfram Reduction (None)
     
  5. In the "Model Folder," create a folder called "motions" and move the FBXs you just downloaded.

Import to Bakin

*Important*
Here we describe how to do the import using the attached def file.
This is because the def file allows for the linking of textures to materials and basic settings.
The attached def file is only supported when exported with "Vroid Studio" with the number of materials "2". However, it is possible to link textures to materials in Bakin's Resources menu without using a def file.

  1. Specify the attached material settings file (VRM_MaterialSettings.def) for VRM with the same name as the FBX (###.def) and put it in the "Model Folder".
    The link to download the def file is at the bottom of this page.
     
  1. Go to Resources > 3D Stamps > Add > Local File tab, select the FBX of the model file and add it.
    The "Material Sharing" dialog will appear when the second or later model is imported into the project and added. Select "Add All as New Materials".
     
  2. If you continue to import other VRM models, you may want to put the textures together in a folder under Resources > Textures. This is to make it easier to distinguish between the textures, since the names of the textures are the same for each VRM.
     
    A textured 3D stamp with the toon shader specified for materials will now be generated.
    If you want to adjust the toon shader, see Shaders.
    The following is the process of linking motions created by "Mixamo" to the 3D stamp.
  1. Return to Resources > 3D Stamps and click on Motion Setting > Motion in Properties.
     
  2. Click on the Resources tab, select and add the model for that stamp.
     
  3. Go to Resources > Motions and select the model you just chose.
     
  4. Delete T-pose motion that is in Motion Sets Settings > Motions.
     
  5. Press the Add Motion button to open the Local File tab and add the FBX downloaded from Mixamo.
    FBXs for imported motion will be added to Resources > Models, so it will be easier to organize them later by separating them into folders.
     
  6. Change the "Motion Name" of the added motion according to the Motion Name Rules

This allows for the automatic assignment of assigned motions to movements such as walking, running, attacking, etc.

 

At this point, motion is assigned to the 3D stamp.
See Resources > Blend Shapes for more information on the process of adding expressions.
Finally, set up collisions as needed.

  1. At this point, the collision is assigned a simple collision box.
    Go to Resources > 3D Stamps and specify the appropriate collision in the "Rendering Stamp Settings" section. The following methods are available:
    • Specify a vertical capsule with Simple Collision Settings.
    • Turn on Accurate Collision. Then go to Resources > Physics Settings and specify collisions for each part.

Attach file: fileBlenderVRMimport_3.png 44 download [Information] fileBlenderVRMimport_2.png 44 download [Information] fileBlenderVRMimport_1.png 36 download [Information] fileVRM_MaterialSettings.def 36 download [Information]

Front page   Edit Freeze Diff History Attach Copy Rename Reload   New Page list Search Recent changes   Help   RSS of recent changes
Last-modified: 2023-12-21 (Thu) 01:32:27