This is a simple script that adds to the selected objects a UVW map modifier and moves the UVW gizmo (on this case a box gizmo) randomly on each object. It's useful for example when you have many wood doors and want to give them different texture coordinates.
Script
NRB Random UVW
By Antero Pedras · 2006-10-21
- Version
- 1.5
- Version requirement
- 4; 3
- Date updated
- 2001-11-24
- Votes
- 8
- Download
- Download
Description
Additional Info
To run the script just run it from the maxscript utility .
Description :
*Mapping Gizmo Box :
Length ; Width ; Height of the uvw map box gizmo
*Rnd Parameters:
Seed: just to randomize again if you didn't like the result.
Rnd Range: this is the interval that the box gizmo will move randomly on his local coordinates axes.
*Collapse Stack : self explanatory ...
*UVW Random Selected: adds the modifier to the selected objects.
*Close: closes the script
Tags: UVW
Comments (3)
can´t make it work in max 2009
ferlok · 2012-08-15
im triyng to run the script in max 2009 x64 and nothing happend...i so the fix that denissavin post but i don´t know how to use it, if that´s for resolve the problem.
denissavin · 2009-04-02
For Fix Isert : classof (l[i])
classof (l[i]) -- Fix
in coordsys local
l[i].modifiers[1].gizmo.position = [xrnd , yrnd, zrnd]
Ps.
Tested 3dsmax 2009
don't work in max8 for me,
sergo · 2007-11-12
don't work in max8 for me, but I've extracted
for i in selection do
(
xrnd = (random 100 100)
yrnd = (random -1000 1000)
i.modifiers[1].gizmo.position = i.modifiers[1].gizmo.position + [xrnd, yrnd, 0]
)
and it's quite enough for me.
Thank you!