Blender Usdz

Posted on  by admin

Built by Blenderheads, for the Blender Community. The Blender Market's goal is to give our community a trusted platform for earning a living with software that we all love, Blender. Made with love from the humans behind CG Cookie. Follow us: Twitter, Facebook, and Instagram. Free Blender 3D models. Free 3D Blender models available for download. Available in many file formats including MAX, OBJ, FBX, 3DS, STL, C4D, BLEND, MA, MB. Find professional Blender 3D Models for any 3D design projects like virtual reality (VR), augmented reality (AR), games, 3D visualization or animation.

In this guide I will show you how to create usdz files that can be displayed natively in Safari on iOS 12 and above.

The usdz file format, that was developed by Pixar, can be used to create Quick Look Objects that can be displayed in 3D and AR (Augmented Reality) either in Apps or in Safari on iOS.

This is how an experience on iOS can look like.

Blender export usdz

Blender 2.83 Usdz

How to create a usdz file

Universal Scene Description (USD) is a file format created by Pixar. In the past month we have been working on adding a prototype USD exporter to Blender.

Blender

1) Create a 3D File

To create usdz file you’ll need a 3D file that you’ll convert to a usdz file. For a still object you can use a Wavefront (.obj) file. For an animation you’ll use an Alembic (.abc) file.

I used Blender to create that File but you can use any other 3D program that can output .obj files.

2) Use the usdz converter to covert 3D file

Update 2021: There is a new Python Tool called “USDPython” that you have to download from Apples Developer Area. Once you download and install the tool you’ll have to start it up by running the USD.command file in the applications folder. This starts a terminal window from where you can run the commands that are mentioned here.

You will need to install Xcode on your mac which has the so called usdz converter pre-installed. If you want to dig deeper and create usdz files in your application check out apples documentation

To get started you’ll need the following files:

Blender Usdz Windows

Blender usdz
  • .obj file of your 3D object that has all it’s UV Maps saved properly for the textures
  • A set of textures for each mesh that exists in the file. Each texture is optional and only has to provided if you need it to improve the look of the file.
    • color map (also called albedo)
    • normal map
    • metallic map
    • roughness map
    • ao map (ambient occlusion)
    • emissive map

The terminal command to convert your file looks like this:

If you had another Material in the 3D file just follow up starting with another -m and the name of the material.

If you want to debug the input file and get verbose output to look at the names of the materials in the obj file just add -v like so:

And here is a complete video walkthrough of the whole process. (The script has changed since this video was made so use the script above)

Tipps

A few tips for you so that you don’t make the same mistakes as I did.

Blender Usdz Export

  • Don’t compress your png textures with a tool like TinyPNG, it will mess up the alpha channel and won’t work correct.
  • If you have Photoshop you can use it to create normal maps (Filter -> 3D)

Hi all, I'm having a hard time to create .usdz file with texture using usdz_converter. The converter itself works ok and generates .usdz file, however, seems no texture maps (difuse, normal and etc.) are included in the file. (using -color_map -normal_map command).

Blender Open Usdz


Blender Usd Import

In the thumbnail preview, .usdz file shows as white 3D model. In the AR Scanner app ( https://developer.apple.com/documentation/arkit/scanning_and_detecting_3d_objects ), when I import the .usdz model it's super dark (almost black).


Has anyone successfully generated .usdz file with texture yet? I'm wondering if I'm missing anything.



Thanks,