simchron

Hi,

is there a way of assigning different images from a texture sequence to a shader on particle instances like with sprites? I tried hooking up the particle sampler (particleId) to the frameExtension of the file node but the data type is not matching. Can one convert the particle data, create a smart expression or a soup workaround to make it work?


Thanks for thinking about it.
Regards

Ray

Reply 0 0
pshipkov
How long is the image sequence and what resolution ?
One possible solution is to create a spreadsheet and then offset UVs on per-instance basis to snap to the appropriate tile.
You will have to use copier to do that, otherwise is a no-go, or you will have to code a custom shader for the renderer you use.
Reply 0 0
oglu
would MASH help here..?
Reply 0 0
simchron

Thank you very much for the replies.

@pshipkov:
Thank you Peter for taking the time! I did not think of uv tiling before. For now this seems to be the way to go. Is it possible to rewrite the file node so that it accepts PP attributes?

@ oglu:
MASH looks interesting, thanks for the hint. Unfortunately we only have Maya 2016 without the Ext 2 and no subscription. But in the video you posted I recognized that I haven't recognized the drop down menu in the standard file node before ;)

UV tiling worked just fine for the particle instances. I only had one object so the overhead ist to duplicate it times the number of different textures. But the good thing is that I don't have to plug 100 different file nodes to a shader through a switch.

Thanks again.
Regards
Ray

Reply 0 0
Reply