Have any questions about Textura? Find your answers here.

Sofía Domínguez
Written by Sofía Domínguez

Download files in the GLTF format

What is a glTF file and how can it be used in 3D software?


glTF is an open-source file format that was initially designed to export/import entire 3D scenes. This means that a glTF can contain multiple volumes, multiple materials, lighting conditions, cameras, etc. CLO also has the ability to import physics properties from a digital material in glTF format.

What is glTF?

glTF is short for GL Transmission Format. It is an open-standard file format to exchange information about 3D scenes and models in an efficient and versatile way.

It was created to streamline the rendering process. Because of its compact file size, efficient transmission, and compatibility, it is the perfect format for 3D artists working with real-time applications.

A glTF file contains a JSON file and optional binary files. The JSON file includes all the details about the scene (description, hierarchy, assets, etc.) while the binary files store textures, animations, and other index data.

This means that if you want to seamlessly open SEDDI Textura estimated physical properties into CLO, you can also import a material in glTF.

What you should know about glTF

  • glTF is an open-source material format, compatible with many 3D software tools.

  • glTF files generated in SEDDI Textura only contain a single material with mechanical properties (compatible with CLO).

  • glTF material files generated in SEDDI Textura do not contain camera or environmental information about the scene.

  • glTF file may contain a sphere when opening in other 3D tools such as Arnold. This volume can be deleted once the material has been included in your working scene.

  • glTF only contains physics compatible with CLO—it does not contain physics data compatible with any other 3D tool.

  • glTF format does not contemplate displacement value nor displacement map, so when imported to some tools like CLO, this map needs to be placed by hand.

  • Textura glTF contains a displacement map but because this is not contemplated by the standard, you need to manually drag it to CLO, or other tool you are using. Use half of the the material thickness as a displacement value.

Compatibility

Your digital textile in SEDDI Textura can be downloaded as a .gltf file. This format was designed to ease compatibility between major 3D applications.

glTF is supported by common 3D software such as:

  • Blender

  • Maya

  • 3D Max

  • Clo 3D

Here is how to import a .gltf file into Clo 3D

Note: Other libraries can also help you display glTF content in web applications.

How to download a .gltf file

  1. Hover over your digital fabric in the library and click on the download icon.

  2. Select the .gltf file option.

Or

  1. Select your digital fabric from the library and open the Material Viewer.

  2. Click the "Download" button and select the .gltf file.

How to use the Displacement Map for a .gltf

If you download a digital material from Textura as a .glTF file, it will contain the displacement map on the folder. This map will not be imported when you add your file into Clo 3D or other 3D software though. This is due to the specifications of the file format. Most 3D software support a displacement map so to use it, you can simply add it manually after importing the .glTF file.

Here are the steps to find the displacement map inside your .glTF file download:

  1. Open the "Textures" folder contained in the .gltf file you downloaded (the folder has to be extracted from the original download)

  2. Browse your device or drag the image to your software in the displacement map section. (e.g: adding the displacement map in Clo 3D)

  3. Enter the displacement value in mm. We recommend to use half the value of the material's thickness as the displacement amount (e.g. if your material is 0.4 mm thick, use a displacement value of 0.2 mm).(e.g: displacement amount in Clo 3D)

Related articles:

Import a .glTF File Into Clo 3D


Categories: