Asign Different Textures by position

Hi, I have a problem and I don’t know how to solve it:

From Contour I’ve assigned a Quad to each object detected. I want the texture of the Quad change according to X position (left, right or center). I mean, I have a Quad with 4 Transforms from Contour (A, B, C and D), it forms a Spread. The Quad A is at left, B/D at center and C at right. I want Quad A get a FileTexture1, B/D with FileTexture2 and C with FileTexture 3.

By now I solved the position of each Quad in X three Spreads (left: 1 0 0 0, center: 0 1 0 1 & right: 0 0 1 0 ) but I don’t know how to asign the three different FileTextures to the correct Quad.

Any ideas? :)
Thanks 4 all!

Asign Texture by Position.zip (49.0 kB)

getslice node is your friend

I found your question interesting!

I think this way you’ll be able to easily add how many quads and textures you’d like.

Asign Texture by Position_mod.v4p (33.7 kB)

Thanks h99!!!

Glad to see it works.
Have fun!