Home Technical Talk

Max Script for setting up RTT seam fix chanels

polycounter lvl 17
Offline / Send Message
low odor polycounter lvl 17
Used the Macro recorder to automate switching up all the uv chanels when you're using the rtt seam fix method described here: http://www.gamasutra.com/features/20061019/kojesta_01.shtml

Run the script after you select the faces that have the offending seam in them...after you run the script adjust your uvs, then set up your RTT

modPanel.addModToSelection (Edit_Mesh ()) ui:on
subobjectLevel = 4
modPanel.setCurrentObject $.modifiers[#Edit_Mesh]

modPanel.addModToSelection (Unwrap_UVW ()) ui:on

modPanel.addModToSelection (Unwrap_UVW ()) ui:on
$.modifiers[#unwrap_uvw].unwrap.setMapChannel 2
modPanel.addModToSelection (Uvwmap ()) ui:on
$.modifiers[#UVW_Mapping].mapChannel = 2


modPanel.addModToSelection (Unwrap_UVW ()) ui:on
$.modifiers[#unwrap_uvw].unwrap.setMapChannel 2
$.modifiers[#unwrap_uvw].unwrap.scale ()

makes it a little bit quicker

Replies

Sign In or Register to comment.