What's the process for building a library or gallery of solaris/karma/usd materials? For mantra, we have the material gallery. Saving a materialX subnet to the gallery doesn't seem to work for me (even adding keywords). Is there a solaris specific gallery or a way to use the existing gallery?
Thanks!
Brad T.
Solaris material gallery?
2533 12 4-
- BradThompson
- Member
- 67 posts
- Joined: March 2017
- Offline
-
- BradThompson
- Member
- 67 posts
- Joined: March 2017
- Offline
-
- jsmack
- Member
- 8073 posts
- Joined: Sept. 2011
- Offline
BradThompson
2+ years later and I'm still wondering this. H20 has a built-in, read-only gallery available through the material linker node. Is there a way for me to create my own material gallery?
There's an option to make a new database on the material linker, but I haven't tried to add anything to it.
-
- mtucker
- Staff
- 4525 posts
- Joined: July 2005
- Offline
It is possible to make a new material catalog, but we haven't exposed a UI for it the way we did with the Component Builder's ability to add your new asset to an asset gallery database.
If you're willing to run some python code, you can use the assetutils.MaterialGallery.addMaterialsFromFile method to add materials from a USD file on disk to a material catalog database. We are hoping to provide a nice workflow for this, but first we need to work out tools for authoring sensible sets of materials (where a generic base material is specialized to create a bunch of specific materials). So no promises on when this will appear, but we are aware of this missing piece.
If you're willing to run some python code, you can use the assetutils.MaterialGallery.addMaterialsFromFile method to add materials from a USD file on disk to a material catalog database. We are hoping to provide a nice workflow for this, but first we need to work out tools for authoring sensible sets of materials (where a generic base material is specialized to create a bunch of specific materials). So no promises on when this will appear, but we are aware of this missing piece.
-
- jtk700cln
- Member
- 63 posts
- Joined: Jan. 2016
- Offline
mtuckerHello Tucker,
It is possible to make a new material catalog, but we haven't exposed a UI for it the way we did with the Component Builder's ability to add your new asset to an asset gallery database.
If you're willing to run some python code, you can use the assetutils.MaterialGallery.addMaterialsFromFile method to add materials from a USD file on disk to a material catalog database. We are hoping to provide a nice workflow for this, but first we need to work out tools for authoring sensible sets of materials (where a generic base material is specialized to create a bunch of specific materials). So no promises on when this will appear, but we are aware of this missing piece.
Testing this out today. I am not too well versed in python though. At the moment I have a new db, and a material I have sent to disk as a usd file. I am trying to run that command within the python source editor and it is telling me there is no module named 'assetutils'.
Any additional help would be appreciated thank you!!
-
- mtucker
- Staff
- 4525 posts
- Joined: July 2005
- Offline
-
- Mike_A
- Member
- 308 posts
- Joined: Aug. 2018
- Online
-
- eikonoklastes
- Member
- 417 posts
- Joined: April 2018
- Offline
Mike_AThe Material Linker LOP gives you access to the built-in SideFX library and also the option to access the AMD MaterialX library.
Has there been any progress on making an 'artist friendly USD / Mtlx material gallery'?
I really hope so.
Switch to the Catalog tab. To load the AMD library (or any library you want), click the cog wheel.
-
- eikonoklastes
- Member
- 417 posts
- Joined: April 2018
- Offline
-
- Mike_A
- Member
- 308 posts
- Joined: Aug. 2018
- Online
-
- eikonoklastes
- Member
- 417 posts
- Joined: April 2018
- Offline
Mike_ADon't be silly. This is USD we're talking about. "User-friendly" does not belong here.
user friendly
So, you can build your own material library by just saving out materials as USD assets. You can have them saved individually, and then also to one master USD that you can then import to get all your materials.
As for the thumbnails - things get hairy here. If you've used materials in Houdini before, you'll know that SideFX seem to internally hate material thumbnails with a fiery passion, so rolling your own is frowned upon.
The Component Builder LOP can get you thumbnails rendered on your USD asset, but that will include geometry with the asset.
Both the default material catalog and the AMD material catalog have materials with thumbnails that can be imported without geometry, but I have not found any information on how this is executed. The thumbnails seem to be stored internally in the .db file, and not with the actual USD assets (I could be wrong, but I have not been able to locate the thumbnails anywhere).
If I create a blank material catalog (database file) and try to import any USD asset, nothing seems to happen.
Maybe someone from SideFX can address that here.
Edited by eikonoklastes - Jan. 21, 2025 07:19:36
-
- Mike_A
- Member
- 308 posts
- Joined: Aug. 2018
- Online
eikonoklastes
Don't be silly. This is USD we're talking about. "User-friendly" does not belong here.
I 'enjoyed' that : )
OK, you're confirming what my baby steps into Solaris and USD were suggesting. So I am at least reassured that I'm not the village blind man and everyone else is happily using some swish material gallery / management set up I've no idea about.
I should make a poster for my wall: "Houdini and user convenience do not go together. Get over it."
Edited by Mike_A - Jan. 21, 2025 08:39:43
-
- Manuko
- Member
- 16 posts
- Joined: May 2019
- Offline
You could use OD tools, which allows you to dragndrop (Solaris) Materials to an Assetbrosser and generate Thumbs from there:
https://www.youtube.com/shorts/QiYnNszZcsE [www.youtube.com]
https://origamidigital.com/cart/index.php?route=product/product&product_id=66 [origamidigital.com]
https://www.youtube.com/shorts/QiYnNszZcsE [www.youtube.com]
https://origamidigital.com/cart/index.php?route=product/product&product_id=66 [origamidigital.com]
Edited by Manuko - Jan. 21, 2025 12:09:33
-
- Quick Links