ScriptSpot home

Randomize UV coordinates

Downloads

Release history (1)
  • Version 1.2Listed version

    Listing updated

    No download linked to this version

3ds Max compatibility
Unknown
Report a problem
Community compatibilityNo compatibility reports yet

No reports yet for the available releases.

Community reviewsNo reviews yet.

Listing details

Version
v 1.2
Author’s update date
Legacy votes
7
Listing created
How compatibility works

Compatibility comes from the author’s supported range or requirements in the original listing. A tested version records what the author tried.

“2020 unconfirmed” in the catalog means support for 3ds Max 2020 is still unknown.

Community reports record successful tests on specific releases.

Posted by

klyde

Alexander

More by this author

Description

This script randomizes UV Offsets of selected objects or selected object's elements. It's an irreplaceable tool to bring some variace to your models!

Installation:
1)MaxScript --> Run Script
2)Customize User Interface --> Toolbars --> Category "# Scripts"
3)Drag and drop "randomize UV coordinates" to any panel you want

Videos
Comments (14)
Michael Fahmy

Good Job

Thanks, Works just fine.

1rv

logged in just for up-vote. So helpful for imported meshes from Sketchup!

super gnu

uv channel

works great for me, but no way to change the uv mapping channel? its more than a little common to have mapping in channels other than 1. any chance of a fix/workaround?

Sergei

As mentioned by somebody in comments:

Worth to add Float number to offset. Like:
i.modifiers[#UVW_Xform].u_offset = (random -2500.00 2500.00)
i.modifiers[#UVW_Xform].v_offset = (random -2500.00 2500.00)

As in some cases offset by 1 (or any integer) means full tile offset, so txture stays in the same position.

So by using float or at least decimal will fix that.

theedge

Making the shift work

I got the UV shifting to work (max 2015) by replacing these two lines


i.modifiers[#UVW_Xform].u_offset = (random -2500 2500)
i.modifiers[#UVW_Xform].v_offset = (random -2500 2500)

By these ones :


i.modifiers[#UVW_Xform].u_offset = (random -1.0 1.0)
i.modifiers[#UVW_Xform].v_offset = (random -1.0 1.0)
marobaro

no shift

Hi Alexander

I don't know if you keep an eye on this thread. If you do - the script doesn't quite work the way, which I think you intended in max 2014 (x64). In your video, it is clearly demonstrated that you are able to just shift the UVWs by element (the beginning of the vid). Sadly this functionality is missing for me (and I suspect others judging by their questions). I am only able to rotate UVWs by element. Random shift is not working :(
Is this something that you could look into, by any chance?
Thank you
Marek

Reply to marobaro
Alexander

no shift

Marek, I wrote this script to the real world map size approach.

marobaro

Very useful script Alexander.
Would it be possible to add option to shift (randomly) the UVWs rather than rotating them? Important if you want to break the continues pattern, but retain directionality (i.e. wood grain on panels, or parquet, etc.)
Thank you

Reply to marobaro
Alexander

Very useful script

Marobaro, if you disable rotation, you'll got that you want.

oncire

nice script

very usefull indeed... you can just use one texture and make it look like many textures are use (e.g. tile patterns)

Yog

Useful!

Thanks.It is useful script for me.Is it possible also add Randomize UV by Polygons?

Reply to Yog
Alexander

Yes it's possible, but if you can persuade me, that it is so important, I'll recommend you to use split commad for all edges of an object instead.

Federico Ciavarella

Perfect

works perfect for me in max 2014. Thanks

Roberval

Please

Max 2011 and 2013 randomize UV by Element, randomize UV by object not run.