r/Houdini•
RyanPWM

How do you save materilX to build your own custom library?

I'm dying here... I've searched around and havnt found much as to saving a materialX Subnet. Specifically MaterialX. I just can't keep skimming 10+ minute long videos about building materials. I just need info on saving them please.

I'm used to building material libraries fast in something like Substance or C4D/Redshift. You make a material. And then drag it where you want and you're done. I've got a good looking mtlX subnet. Saved it to a "gallery". But I can't import the custom gallery. Or I do, but nothing shows up.

Love everything about houdini but the way material libraries are saved has got me banging my head against the wall. Hopefully there is a simple way to be done with a material, drag it to a folder and just be done. Any help is appreciated.

Posted Sep 13, 2022, 10:13 PM UTC · edited

39
Brombe92•

Take a look at this, it changed the way I worked! You can save literally anything and load it back in a couple clicks!

https://richardcthomas.com/houdini-snip

3
schmon•

save it as an hda ?

save it to your shelf ?

save parameter presets ?

There are few things that can speed up your workflow. Houdini's material gallery sucks a tad compared to maya/c4d/3ds (i personally never use it -- probably cause we're full Octane and previews don't work) but your frustration is a little due to the fact that your knowledge might be a bit limited.

3
RyanPWMOP•

Yes I totally get that. I think my frustration also comes from how it seems difficult to google the proper answer. Like, it's a material on first glance, so you'd figure it must go in the gallery, that's where materials live. And an HDA for lots of materials is a bunch of work for little payoff. But for a karma matX network I guess that doesn't work.

I would just render with another renderer like redshift, but houdini has some very intriguing USD integration, which I believe can play well with apple ARKit. At the very least avoid Reality Converter and sending files to a mac before I really need to.

It's frustrating but at the same time I understand why it's this way. They just give you everything like *splat* do whatever you could possibly want to. I just wanted to get something that worked. And honestly thanks so much. Shelfs is the answer I needed. Didn't know yet that networks just dragged on there.

1
flowency•

If you're in solaris just save it as a usd

Edit: if you're outside of solaris hda them. You can either go a material per hda or put your libray as an hda. Whatever you prefer.

1
RyanPWMOP•

Ok so I export as hda and then reimport that. Kinda inconvenient but I guess that’s why a lot of people do texturing somewhere else. For making embedded USD for AR though Houdini just seems too convenient so I guess it’s what I gotta do.

Sorta disappointing they make you do this since it’s hard to ignore how much better texturing is in others softwares. Maybe 20 will have a modern material browser.

1
flowency•

I mean if you want an easily accessible material libray i think hdas are the way to go. And just wrapping it in a subnet and create hda shouldn't be too much effort for then being able to catch that anytime you want.

It sounds like you're in USD tho. Why not create your materials in USD and write out your library as a USD. You can then easily reference that back in whatever areas you need it.

1
RyanPWMOP•

I think I’m prolly just being a little resistive to it. Like with redshift or anything else in C4D I just drag the new material to the asset window with one click and it’s saved forever. For 100-200 materials hand made an exported like this, just little export steps add hours that don’t exist elsewhere. Which I sorta get why. It’s just annoying. I’m not exactly in a production studio environment so it’s weird to explain “what did you do for the whole day?” “Oh I put these materials over here.”

I think HDA is probably the way to go. I’m not too deep into USD but I don’t believe it has all the fancier of options of other renderers. And my goal was to bake more complex materials like redshift or materialX. The final output is tradeshow augmented reality with apples reality kit.

And I like karma/XPU a lot plus houdinis deeper UV toolset. And it has a super convenient way to break apart volumes so I really want to try raymarching in my next AR export. So hoped I could use material X and integrate all that. But it’d probably just be faster to use Houdini as a reliable usd exporter and whatever else and just replace the usda textures later for now.

1
flowency•

I'm still lost on what you're trying to achieve. It sounds like you are in usd since you're using karma.

Just build your different materials using a material library LOP. You do your materialx materials in there like you're used to but the lop part of it will convert them to usd legal material prims. Once you've got that you can then later downstream just assign those materials with assign material lops. This way you don't need to export your library but you still have one area in your scene graph where you reference your materials from. There is no need to export your nodegraph since your material will exist in the usd stage and you can pick and place them on whatever objects you like. The whole point of materialx then is that you're not tied to a specific renderer so as long as redshift has a hydra delegate and supports solaris and materialx you can render with whatever you like

2