Random UVW GizmoTM

5 votes
Version: 
v.1.0
Date Updated: 
06/02/2013
Author Name: 
Branko Živković

With this tool is very easy to control UVWMap modifier gizmo transform using
non - incremental randomization process. It means every position rotation or size
offset changes always start from geometry center but not from actual gizmo center.
This tool also use random values from user input but not ranges from one value to another.

Additional Info: 

How it works:
This tool works only with geometry objects.
Make some selection and use the options described below

Result after few clicks

Special thanks to miauuu and DenisT for sugesstions

Version Requirement: 
2010+
AttachmentSize
bga_random_uvw_gizmotm_v1.0.ms8.86 KB
test_scene_max2011.max1.82 MB

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
barigazy's picture

...

Hvala ti Nikola na komentaru :) Ovaj skript sam napisao bas iz tog razloga. Pogledaj ostale skripte, mozda naidjes na nesto zanimljivo
Na ovom sajtu znak "+" treba da se praktikuje :)
Pozdrav!

bga

ngluvakov's picture

This was great!

Thank you for this wonderful and simple tool. It was intuitive and I had to learn nothing. I just started it and done my job.

Svaka ti čast, stvarno si dobar!

zahid hasan's picture

thanks for your help. will

thanks for your help. will try it next time.

barigazy's picture

...

I saw your problem.
My tool works only at the object level (not sub-object). It's complicated to achive result that you posted because you need to assigne non uniform UVW gizmo.
Then you need to consider the following: object transform, size, form etc.
This tool is not designed for that.

So my suggestion is if you have many copy of window frames (not instances) with same size you can do next:
Select a frame (in this case call it "WinFrame001") and manually add and adjust UVWMap modifier (as in your picture).
Suppose that frame have more then one modifier and we need to copy 2nd modifier (in this case UVW map modifier) to other objects (frames)

Just select theses objects and run next code

fn transfer_UVWmod originalObj: modNo: = if selection.count != 0 do
(
	local modi = originalObj.modifiers[modNo]
	for o in selection where o != originalObj do addModifier o (copy modi)
)
-- as "originalObj" argument you need to add your main object which modifiers need to copy
-- as "modNo" argument add ordinal number of the modifier in modifier stuck
transfer_UVWmod originalObj:$WinFrame001 modNo:2

Now you can use my tool to adjust random position of UVW gizmo.
For rotation use angles 0 180 -180
Hope this can help
Cheers!

bga

zahid hasan's picture

sure.i attached a simple

sure.i attached a simple image.similarly for aligning wood texture on hundreds of window frames in different direction.depending on longest edge direction.

AttachmentSize
wood_texture.jpg 236.25 KB
barigazy's picture

...

Hey zahidhasan,
can you post some example and screenshoot what exactly want to achive.

bga

zahid hasan's picture

very useful script.as the

very useful script.as the script already deals with rotation, would you consider adding an option to rotate the uv depending on longest edge of that polygon. or rotate the gizmo for the whole element along tits longest poly .it will be quite helpful for texturing with bitmaps like wood .
thanks for your effort.

barigazy's picture

...

I'm glad that u find this useful for your workflow.
Cheers!

bga

Andriano's picture

Thanks man

I really need this script.

Thanks again!

barigazy's picture

:)

Thanks man. That's the reason why I wrote this tool.

bga

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.