Skip navigation
At Axis (💔), we had an incredibly useful tool that could automatically generate materials from a…
0:00 / 2:42

At Axis (💔), we had an incredibly useful tool that could automatically generate materials from a…

Ciro Cardoso

@Cyrus3v2K followers

Visit on X
211 likesDownloadOriginal post

17,195 views #3d #houdini #python

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

10 Comments

Comments from the original post on X (Twitter)

  • Ciro Cardoso's profile picture

    @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

  • Ciro Cardoso's profile picture

    @Cyrus3v

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

    1 like

  • Ciro Cardoso's profile picture

    @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

  • Chewy Pixels's profile picture

    @ChewyPixels

    @sidefx Cool, thanks!

    1 like

  • Joe Félix's profile picture

    @khroz

    @sidefx Hey thanks friend!

    1 like

  • Billy Xtz's profile picture

    @billy_xtz

    @sidefx Amazing

    1 like

  • Rory McLean's profile picture

    @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

  • Ciro Cardoso's profile picture

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

  • Tim van Helsdingen's profile picture

    @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

  • Ciro Cardoso's profile picture

    @Cyrus3v

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

    1 like