Collection of crates to support MaterialX in Bevy (and potentially other Rust projects).
Some basic functions work as proof-of-concept. Expect continuous changes to every aspect of this project.
- materialx-parser: Parser for MaterialX (
.mtlx
) files - bevy-materialx-importer: Support MaterialX as assets in Bevy
- downloader: Download free MaterialX files from different sites for testing
Our test approach is very simple: Given a bunch of MaterialX files, try to parse and render them.
Run the demo using cargo run -p demo
.
How to get MaterialX files for testing?
Aside from the official MaterialX spec repository,
you can find open source MaterialX files on multiple platforms,
e.g. AMD's GPU Open MaterialX Library
or ambientCG.
In downloader
you can find a script to download a bunch of test files from there.
The easiest way to use it is with cargo run --bin materials-downloader ambientcg
.