At Axis (💔), we had an incredibly useful tool that could automatically generate materials from a…
@Cyrus3v2K followers
17,195 views #3d #houdini #python
10 Comments
Comments from the original post on X (Twitter)

@Cyrus3v
Introducing TextToMtlX: this tool reads a folder of textures, groups them by material (based on a naming convention), and generates materials using MaterialX. It even gives you the option to convert your textures to TX files for better optimization. Hope you find it useful. Check it out on my GitHub:
12 likes

@Cyrus3v
Special thanks to @_Approximated_ and @yonatanbary for the help testing the code and the ideas.
1 like

@Cyrus3v
Version 1.1 is up with some fixes. 🥳 * Now it has a setup to control UV Tiling and Offset on materials not using UDIMs. * Also added support to Translucency and Cavity maps
4 likes

@ChewyPixels
@sidefx Cool, thanks!
1 like

@khroz
@sidefx Hey thanks friend!
1 like

@billy_xtz
@sidefx Amazing
1 like

@Rory_McLean_
@sidefx This looks very helpful, thanks! Would be great to have an option to create MtlXTiledImage instead of regular image nodes. Handy to have the scale and offset options if you're using a tiling texture.
1 like

@Cyrus3v
That is a very good point. If you aren't using UDIMs it should bring a mtlxtiledimage. I should have that implemented by tomorrow. I plan to add more adjustments and make them part of the subnet UI so you don't need to open the subnet to adjust the nodes.

@TvanHelsdingen
@sidefx awesome. I was thinking of making something like this but never did. thanks for making it and sharing with the world!
1 like

@Cyrus3v
@sidefx Hello Tim, I greatly appreciate your kind words. I've always admired your work.
1 like
