Is there any way (via script or otherwise) that you can scale UVs numerically inside 3ds max 2013?
I've got a modular brick wall mesh that uses a tiling texture. I need to be able to scale the unwrap to an exact percentage (800%) so that the mesh maintains the seamless tiling of the brick. Currently I've been unable to figure out how to do this. I downloaded TexTools hoping it would have the ability but can't find it. Google also isn't bringing up anything useful. I saw someone else ask the same question and Ben Mathis suggested Chugnuts but the website doesn't exist anymore.
Thanks!
Replies
[url=https://www.dropbox.com/s/zzlyb0ps27xawg6/Martinez_ScaleUVWsByNumber.mcr?raw=1]Download[/url]
To install download it locally. Drag and drop it into a 3ds Max viewport. Then look in the monsterBlues category to bind to a hotkey or toolbar.
Setting U/V/W tiling values to 0.125 ( = 1/8 ) would scale the UV coords to 800 % ...
If you open the listener (F11) and enable the "macrorecorder", you'll see which maxscript command corresponds to the actions you make.
If you scale some uv, you'll see something like :
$.modifiers[#unwrap_uvw].unwrap2.ScaleSelectedXY 0.5 0.5 [0,0,0]
where 0.5 0.5 is the percentage for XY (here 50%) and [0,0,0], the scale origin point.
Copy the line in the white field, modify at your convenience (0.125 0.125) and execute the line (select the text+enter)
This works for a lot of things and i can only encourage artist to make a step in scripting and looking into the help files. Just a bit of maxscript can spare hours of work sometimes.