I've been trying to find if it is possible to, using some sort of code in animation nodes, translate the position of a texture or the UV mapping to create a bunch of objects with different textures to cut down the amount of work I have to do (at this point I probably would've been done by doing the copy object data method, but I would've had to manually make about 70 some odd materials and cut an object into the same number).
What I was hoping to do was create a list of textures (barring that, a list of coordinate offsets) that would change the texture inside of a shader node instance.
In newnodes' Shader Node Controller I can't seem to control the mapping node (getting the data path of the x/y position of texture comes back as not existing). I also can't control what the name of the texture going into the shader is either.
I got silly and tried to use Texture Input node to send color to a node that had color as an input in some form, but that just got a single color rather than the whole image.
I assume I would need to make my own script node for this? Or is there anything else I may have missed. And is there any documentation about setting up a script node? I probably need to read more into coding in blender python in general to work with this.
I realize the brute force method to do this simply is to either make my 70+ materials and 70+ objects and copy object data over the instances or even use the mix shader method of setting up the texture mapping for each image in my atlas and use a boolean for all of the values. I'm just trying to find out if there is any way to make this process simpler and easier to update as needed.
As far as I've read Animation Nodes and Sverchok aren't exactly meant for working with textures specifically, but it was something I got curious about while undertaking this small side project.