Where to find example .mtd files?

Where to find example .mtd files?

Anonymous
Not applicable
914 Views
2 Replies
Message 1 of 3

Where to find example .mtd files?

Anonymous
Not applicable

I am looking for information about how to write .mtd files for custom Hypershade shaders written in C++ as well .mtd files for shaders written using OSL. I couldn't find any in the sdk installation directory. For example, suppose my C++ shader needs a checkbox to be displayed in Hypershade what code should be put in the .mtd file?

0 Likes
915 Views
2 Replies
Replies (2)
Message 2 of 3

Stephen.Blair
Community Manager
Community Manager

Look at the mtd files shipped with MtoA

A boolean parameter should get a checkbox by default



// Stephen Blair
// Arnold Renderer Support
0 Likes
Message 3 of 3

Anonymous
Not applicable

Stephen I found mtoa.mtd in the solidangle/mtoa/2018/plug-ins directory. It has everything that I need. Thanks. Malcolm

0 Likes