Solaris material gallery?

   1947   5   2
User Avatar
Member
67 posts
Joined: March 2017
Offline
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.
User Avatar
Member
67 posts
Joined: March 2017
Offline
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?
User Avatar
Member
8043 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.
User Avatar
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.
User Avatar
Member
60 posts
Joined: Jan. 2016
Offline
mtucker
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.
Hello Tucker,
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!!
User Avatar
Staff
4525 posts
Joined: July 2005
Offline
`assetutils` is a module inside the `husd` module. So use `from husd import assetutils` to gain access to that module.
Edited by mtucker - Oct. 6, 2024 21:48:07
  • Quick Links