Importing Multiple Meshes into Studio from Blender: The Beginners Guide


#1

The scope of getting your models from Blender to Roblox Studio is wide, and if not done the right way, could end up broken. This guide will walk you through importing a tree from Blender to Studio.


Creating the Tree:

We’ll be making a basic tree in blender for demonstration purposes.

  1. Resize and position your cube to make the trunk.

  2. Add an Icosphere and put it above the trunk.

  3. Name the objects accordingly.

End Result: Dropbox Link

Fixing the Normals or Solidifying:

For every model in your space, you have to make sure that your mesh is solidified. Otherwise your mesh in studio only renders the faces at the back of the mesh (pretty much backface culling if you’ve heard of that). Here’s how to solidify:

  1. Select your mesh

  2. Go into the “modifiers tab” in the properties window.

  3. Add a “Solidify” Modifier

  4. Repeat for the other models

End Result: Dropbox Link

Exporting:

I tend to use my custom plugin to export from blender in batches. This is very helpful when you have lots of meshes in your scene, and don’t want to export each one of them individually.

  1. To export with this plugin, you have to install the below python script. Put it in an easily accessible folder somewhere.

    https://www.dropbox.com/s/bon3z1z69otsv54/io_export_multiple_objs.py?dl=0

  2. In Blender, go to File > User Preferences.

  3. Go to the “Addon’s tab”, and at the bottom of the Preferences window, click on “Install Add-on from File.”

  4. You should be greeted with a file selection window, proceed to select the downloaded file.

    image

  5. At the bottom of the Preferences window, select “Save User Settings.” You can then safely close the window and return to your scene.

Exporting with this plugin is a lot simpler than it looks!

  1. Select all the objects you want to export in your scene.

  2. :warning: This plugin uses the in-scene object names to name the exported meshes. If two items have the same name, it will overwrite the other object without warning.

  3. Go to File > Export > Wavefront Batch (.obj).

  4. Select your export destination and export!

    image

Importing in Studio:

It’s time to import in Studio!

  1. In your Studio Workspace, add MeshParts. Add one for each mesh you plan to import. (You should also name them accordingly)

    image

  2. In the properties window, select the Folder icon in the “MeshID” property.

  3. When the popup comes up, select your first mesh file.

    image

  4. This popup should come up! It basically asks you if you would like to move your mesh to the exact coordinates as in your blender scene. Why select this? In cases where your meshes is aligned specifically with others, (Think of headlight meshes in accordance to the rest of the car) you would want your mesh not to need manual adjustment, as sometimes its aligned microscopically and can’t be done with the naked eye. In almost all cases, you will select “Yes” for this popup.

  5. Repeat this process for the rest of your meshes.

  6. Once you’ve done so, group the models (and anchor them if needed). You may move/rotate/scale them together now. You may also color your meshes using normal roblox materials and colors! Here’s the result:

:tada: Congratulations!!! You now know how to import multiple meshes into studio correctly and efficiently! Go make some amazing builds and games with what you’ve learned!


Blender Importing rotations and positions
#2

Finally. Thank you so much!!
:smile:


Blender Importing rotations and positions
#3

Correct me if i’m wrong, but I’m pretty sure that you should NOT do this. Solidifying the mesh creates twice the number of tris which will matter for performance. If you want to fix backface culling, you should flip the normals that aren’t the right way around with ctrl + n in edit mode. You only want to solidify if your mesh is flat and you need polygons on both sides of a flat plane.

The title is also misleading, it sounds like you’re importing multiple meshes into studio which you’re not. Your guide is for importing multiple meshes as a single mesh in studio. Would definitely recommend renaming this and fixing some things.


#4

YES!
thank you so much!! :clap:


#5

I’m aware that solidifying increases the tri count, yet its the simplest solution for beginners. (I should probably change “The full guide” to “The beginners guide”).

I think you got a bit confused. I’m not exporting multiple as one. I’m exporting them all as separate MeshParts. I highlight the process to import one of the two meshes, and have them repeat the process for the rest of the meshes.