Search - User list
Full Version: dirt/brick material problem with 'create local paramters'
Root » The Orbolt Smart 3D Asset Store » dirt/brick material problem with 'create local paramters'
bollili
Hi,

with sidefx's materials from the orbolt store, I can't create all parameters in the obj's material pane without destroying references to the texture files. The materials render in red color.

I assume a problem with the map's opdef expression (possibly path or context related)…

How can I fix this myself? Or somebody else?

Cheers
AdamJ
Hi Bollili,

yeah the expression is looking at the current node which changes from the shop to the object node when you ‘create all parameters’ option. You can get it to work by changing the expression to the following on the object node map parameters (it evaluates the Material shop path and gets whatever the shop it points to, and then it grabs the texture)

opdef:`pythonexprs(“hou.node(hou.pwd().parm('shop_materialpath').eval()).type().nameWithCategory()”)`?Brick_Red_CLR.rat

Adam
bollili
Cool.

Thank you!!!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB