Wrapping U and V checked by default

Discussions regarding Materials, Material-Compounds or Shaders, etc.
SreckoM
Posts: 187
Joined: 24 Jul 2010, 22:18
Skype: srecko.micic

Wrapping U and V checked by default

Post by SreckoM » 15 Mar 2011, 12:25

Is it possible to set somewhere that when applying projection, U, V and W wrapping is checked by default?
I am always forgetting to do this ....
- H -

SreckoM
Posts: 187
Joined: 24 Jul 2010, 22:18
Skype: srecko.micic

Re: Wrapping U and V checked by default

Post by SreckoM » 28 Apr 2011, 11:07

Is it possible, at least, somehow to select all texture projections (operators) in scene. Using scripting or any other way?

[EDIT] I figure it out, using Scene search helps a lot!
- H -

User avatar
myara
Posts: 406
Joined: 28 Sep 2011, 08:33

Re: Wrapping U and V checked by default

Post by myara » 15 Feb 2012, 15:33

A little late but, just in case a Toggle UV Wrap script:

Code: Select all

var FindText = FindObjects("","{C27897E0-1B97-11D4-AE61-00A0C96E63E1}")
if(FindText.count>0){
	var value = (FindText(0).wrap_u.value==1) ? 0 : 1;
	var logValue = (value==1) ? "ON" : "OFF";
	for ( var i=0, a = FindText.Count; i<a ; i++ ) {
		FindText(i).wrap_u.value = value
		FindText(i).wrap_v.value = value
	}
	LogMessage ("UV Wrap "+logValue)
}
M.Yara
Character Modeler | Softimage Generalist (sort of)