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
dirt/brick material problem with 'create local paramters'
6425 2 1- bollili
- Member
- 205 posts
- Joined: 12月 2009
- Offline
- AdamJ
- Member
- 268 posts
- Joined: 7月 2005
- Offline
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
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
- Member
- 205 posts
- Joined: 12月 2009
- Offline
-
- Quick Links