Jump to content
Nicholas Ralabate

How to pass custom properties to Mantra?

Recommended Posts

Hi,

 

I'm playing with some of the callbacks mentioned in this article, specifically overriding shaders if an object has a particular category (string) tag:

https://www.sidefx.com/docs/houdini/render/python.html

I'm able to query and set the standard properties that are shown when you feed ray_show into Mantra but I'm curious how to add my own properties.  Is this something that is possible through the UI or do you have to add support for it yourself in the SOHO Python script?  I also see that there are some undocumented tags on these properties, can anybody explain what they do?  I think I understand mantra_name and mantra_class but I have no idea what the point of spare_category is.

 

Thanks!

 

 

 

Screen Shot 2021-01-26 at 9.26.54 PM.png

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×