ScriptSpot

Script

waRp UpTile

By zarko · Credited author: Zarko · 2013-06-04

Version
1.0
Version requirement
3ds max 2013
Date updated
2013-06-04
Description

This script is used in a specific workflow when exporting objects to Mari. It tiles up the UV patches (each row has 10 patches)

usage: In each UV patch there has to be unwrapped objects that have only one material assigned to them. And that material has to have "_tg" suffix in its name. When executing the script it automatically adds an unwrap uvw modifier, makes selectionSets based on those materials, and then tiles it up, and adds UDIM number (patch number from Mari) to each materials' name.

Additional Info

Installation: Just drag and drop the script into the 3ds max viewport. Then go to Customize > Customize Interface > category: waRp Tools > Tile the UV patches up It was only tested in 3ds max 2013 Tutorial (it is recommended to watch it from the start): http://www.youtube.com/watch?v=SMVJRGdrVMI#t=19m38s If you like all of the scripts that are in the tutorial you can download them by clicking the warp_tools_bundle.rar in the attachment I'd like to thank Miauu (Kostadin Kotev) http://www.scriptspot.com/users/miauu for helping me improve this script
Attachments

Tags: UVW, Unwrap UVW, warp, waRp tools, Zarko, UpTile

Comments (2)

vidivini500 · 2013-10-31

Your workflow is wrong. You don't need and you don't want one material for each udim. 40 difusse udims share only one shader, not 40 shaders
Check this tutorial.
http://www.neilblevins.com/cg_education/multiple_uv_tiles/multiple_uvs_t…
You have to change create multi-subobject material for composite map, and move offset of each bitmap. In mari 1001 is u0,v0 in max, and 1002 is u1,v0 in max......
Check this to see better
http://bneall.blogspot.com.es/p/udim-guide.html
If you change your script to create a compositeMap it would be very useful. Now is a wrong workflow

miauu · 2013-06-04

Hey, Zarko.
Thanks for the credits. :)