Material assignments broken until I Sync

   2520   2   0
User Avatar
Member
3 posts
Joined: 9月 2018
Offline
I am assigning Maya materials through the primitive attribute “maya_shading_group”. When I change params to change the geo the materials get broken. When I sync it fixes them all. Am I applying the attribute in the wrong place or is this a known issue with maya? Can I trigger a sync somehow?

Edit: Using Houdini 18 and maya 2018.5. Also happened with Houdini 17.5
Edit: Video of the problem in action: https://youtu.be/e-qQJsyMnGM?t=92 [youtu.be]
Edit: After trying all the options I found that checking “Split Geos By Group” fixes most of the problems! Ill leave this up incase someone has a better answer. I dont really want to split the geo.

Thanks for your help!



Broken Materials:




After Sync:
Edited by davidabfall - 2019年12月11日 22:41:06

Attachments:
sycned.jpg (240.5 KB)
brokenMaterials.jpg (284.0 KB)

User Avatar
スタッフ
463 posts
Joined: 8月 2019
Offline
Hi David,

My first thought from looking at this is that the material assignment is not recomputing when the attributes are changed. I'll take a look and see what I can do.

Could you try with Auto Sync enabled?
Edited by johnmather - 2019年12月12日 14:38:54
User Avatar
Member
3 posts
Joined: 9月 2018
Offline
That would be my guess as well. AutoSync alone does not fix it. But when it is paired with Split Geo by Groups it seems to get a lot better.

Thanks for looking into it!
  • Quick Links