thanks :)but this script creates 5 Xform modifier to each of my 5 boxes, though and the values of the Xform UVs are random how it should be, but I have to delete 4 modifiers from each box
Would it be possible to do it with the Parameter-Editor and UVW-Xform too ? Because i dont know OSL or how to access it.I can connect the UV value to a custom parameter but how can I make it (the custom value) random ? And how to do it with only on material for all meshes, so that each mesh get different random UV…
Or alternatively use randomized UVWXform modifier on each mesh. If you hoped to do that material-side only, you'd have to use OSL instead (to have different coords as you mentioned in the first post, you'd have to also have a unique copy of the material to go with each one).
So you want each element in the UV of a single mesh to be randomly positioned? For that you would need to collect the UV verts for each UV element, generate a random XY offset value for each element, and then apply that to said elements UV verts using the SetVertexPosition function (though I was never able to get that…
That's not maxscript syntax. You should check some samples scripts . Should be : for i=1 to 6 do ( ) But instead of a fixed iterations number, you could parse your selected objects like so : --array of selected objects<br>sel = selection as array<br><br>--for each object in sel, with a check that the object is a…