Hi!
I got a couple of assets from Maya saved out as vrscenes, which is then being instanced in Houdini and saved back into a new vrscene to be imported into Maya again.
The shader in Maya is set up with a Random by ID in a sampler info node to randomize some colors, but this does not carry over after its being instanced in Houdini. I’ve also tried doing it with Random by instance ID in a MultiSubTexture, but that doesnt seem to work either.
Any idea on how I should get this to work?
This won’t work in this case. Render ID is the same for all instances.
Actually, I think I could make this work.
Could you, pls, send me your scene so I could test on it?
Ye I figured they all had the same ID. Im just not sure how to solve this in the maya shader going through houdini and then back to maya.
I could send you a scene yes. Do you want both the Maya scene that creates the vrscenes and the Houdini scene that scatters the object?
> Im just not sure how to solve this in the maya shader going through houdini and then back to maya.
That’s what I’ll have to implement…
> Do you want both the Maya scene that creates the vrscenes and the Houdini scene that scatters the object?
This will be helpful, yes, tnx!
Here you go:
https://www.dropbox.com/s/sh6xehz353bd3g4/vrscene\_scatter.rar?dl=0
I think I managed to embed the scattering hda into the file. But in case it didnt work, I included it in the hda folder.
p30.ma in the maya folder creates 3 different vrscenes used in the houdini file.
render.ma then takes the vrscene created by the houdini file and renders it.
Thanks for looking into it!
Let me know if there are any questions.
And yes, “Use Rayserver Instancer” will work for me. I have it turned on, on my scatter, but I forgot to add it on the embedded hda, so you wont see it in the file I sent you. Sorry 
Oh nice! Exactly like that 
Let me know you got it into a nightly
Will it work with Random by ID or does something else need to be changed? (Then I can prep my asset beforehand).
Sure. Nothing will need to be changed, just both Maya and Houdini builds updated.
Any news on this? Did you have time to get fix into the lastest nightlies? 
Not yet, sorry for the delay, hope to merge it this week.
Fix is in Maya stable nightlies and will be in the nightly build of VFH. Hope it’ll work for u =)
Awesome! I will give it a try. Thanks a lot.
I finally got around to test this properly (last project finished up before I got to implement the nightly, and been busy since then).
Its working perfectly! Thanks a ton
This is gonna help a lot for future exports.