Import a .glTF File Into CLO 3D
Learn how to download a digital textile from SEDDI Textura into CLO 3D using a .glTF file. This format can contain physics properties.
glTF is an open-source file format that was initially designed to export/import entire 3D scenes. It is a popular format among 3D artists that need to work with several modeling and rendering tools. This format is generated by SEDDI Textura and supported by CLO 3D. This means that you can download any digital textile created with SEDDI Textura and simply import it to use in any workspace in CLO.
What You Need to Know
glTF files generated in SEDDI Textura only contain a single material with texture maps plus mechanical properties compatible with CLO (only if the material has been generated with physics properties in SEDDI Textura).
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 manually.
SEDDI Textura glTF files contains a displacement map, but because this is not included in the standard file version, you need to manually drag it into CLO. Use half of the the material thickness as a displacement value.
How to Download a .glTF File
Hover over your digital fabric in the library and click on the download icon.
Select the .gltf file option.
Select your digital fabric from the library and open the Material Viewer.
Click the "Download" button and select the .gltf file.
Import .glTF Files Into CLO 3D
First, you will need to extract the information from the downloaded file. After that, you can simply click on "+Add" option in the Fabric Properties panel in CLO to browse your device and select the .gltf file for your digital textile. You can also drag and drop it directly.
Note: Even though the .gltf format does not take the displacement map into consideration, the map is generated and downloaded from SEDDI Textura. If you want your digital textile to be rendered with the displacement map, you will simply have to add it to the "Displacement" section on the properties panel.
How To Add the Displacement Map in CLO
Open the "Textures" folder contained in the .gltf file you downloaded.
Drag and drop the "displacement.png" in the "Displacement Map" section in CLO.
Enter the displacement "Amount" 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).
Now that you have your digital fabric correctly imported to CLO, simply drag it into the appropriate pieces of the garment, and simulate it.
If you are interested to learn how to import digital textile into CLO 3D in other formats, please check out the following articles: