MaterialXglTF

This is the home page for the materialxgltf Python package which provides bi-directional data model conversion between MaterialX and glTF materials.

The package can be downloaded fro PyPi here

Documentation

Sample Integrations

A working version of a plug-in for QuiltiX can be found here

Below is a example of loading in the "Damaged Helmet" model from the Khronos glTF sample models repository and converting it to a MaterialX file using the QuiltiX plugin. The textures are currently too dark due to lack of color management in the version of OpenUSD used.

QuiltiX Plug-in MaterialX View

Note that the MaterialX versions must match between QuiltiX and the MaterialXglTF package. The current development version is 1.38.9. Either the appropriate branch of the GitHub repository needs to be built locally or the matching version of the package needs to be installed from the PyPi repository.

Material Examples

A gallery of example conversions can be found here

These examples can be loaded into different viewers to see the results. The following table shows the results of loading the Open Chess Set MaterialX file which has been converted to used the glTF PBR shading model, baked, and then converted to a glTF binary (GLB). ( Asset is authored by Moeen Sayed and Mujtaba Sayed, and was contributed to the MaterialX project by Side Effects. )

Babylon Viewer ThreeJS Editor

Repository