Loading video...

Video Failed to Load

Go Home

At Axis (💔), we had an incredibly useful tool that could automatically generate materials from a folder of textures. I decided to create something similar for my own projects and share it with the SideFX Houdini community—completely free! #3d #houdini #python #materialx

17,166 views • 1 year ago •via X (Twitter)

10 Comments

Ciro Cardoso's profile picture
Ciro Cardoso1 year ago

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:

Ciro Cardoso's profile picture
Ciro Cardoso1 year ago

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

Ciro Cardoso's profile picture
Ciro Cardoso1 year ago

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

Chewy Pixels's profile picture
Chewy Pixels1 year ago

@sidefx Cool, thanks!

Joe Félix's profile picture
Joe Félix1 year ago

@sidefx Hey thanks friend!

Billy Xtz's profile picture
Billy Xtz1 year ago

@sidefx Amazing

Rory McLean's profile picture
Rory McLean1 year ago

@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.

Ciro Cardoso's profile picture
Ciro Cardoso1 year ago

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.

Tim van Helsdingen's profile picture
Tim van Helsdingen1 year ago

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

Ciro Cardoso's profile picture
Ciro Cardoso1 year ago

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

Related Videos