CGTalk > Software Specific Forums > Autodesk Maya > Maya Programming
Login register
Thread Closed share thread « Previous Thread | Next Thread »  
 
Thread Tools Search this Thread Display Modes
Old 09-30-2010, 03:20 PM   #1
SUNCHIRP
Digital Illustration
 
SUNCHIRP's Avatar
portfolio
SUNCHIRP
United Kingdom
 
Join Date: Jan 2007
Posts: 160
Average UVs ?

Any one point me in the direction of what I may need to do script wise to Average UVs, kind of like how averaging vertices works, but for UVs instead ?

EDIT :

Ideally, I want to average on either U or V ( or both ) I will create a script that will let you choose which.

Last edited by SUNCHIRP : 09-30-2010 at 04:10 PM.
 
Old 09-30-2010, 05:09 PM   #2
Byterunner
Art Pipeline Overlord
portfolio
Andrew Kelts
Technical Artist
Disney Interactive Media Group
Los Angeles, USA
 
Join Date: Feb 2006
Posts: 25
Is there a reason that you're not using the Unfold or Relax UV tools? Using those always seem to get me a good averaging of UVs. You can even constrain horizontal or vertical.
 
Old 09-30-2010, 07:59 PM   #3
NaughtyNathan
HighEnd3D deserter
 
NaughtyNathan's Avatar
Naughty Nathan
Technical Artist
Sony SCEE Liverpool
Manchester, United Kingdom
 
Join Date: May 2008
Posts: 2,608
Andrew is right, Relax UVs is essentially analagous to average vertices. The MEL/py command for it is untangleUV.

:nathaN
 
Old 10-01-2010, 01:04 PM   #4
SUNCHIRP
Digital Illustration
 
SUNCHIRP's Avatar
portfolio
SUNCHIRP
United Kingdom
 
Join Date: Jan 2007
Posts: 160
Thanks, I'll look into that command further,

I did try relax ( and I don't know if it's because I'm still in maya 2008 ), but the relax was globally applied in both U and V for any selections, I wanted to specify either U 'or' V.

The script I'm writing deals with laying out geo. sections, and then using the actual 'unfold' mel command to 'pinch' uvs on either u or v, I then want to average on either u or v ( so the pinching isn't 'as' extreme ), but relax 'as is' didn't seem to do what I wanted, as it is uniformly applied rather than on either u or v. Looking at the command reference for untangleuv in 2008 docs, I can't find any reference to relaxing in either u or v only, unless I'm missing something obvious ?
 
Old 10-01-2010, 01:04 PM   #5
CGTalk Moderation
Lord of the posts
CGTalk Forum Leader
 
Join Date: Sep 2003
Posts: 1,066,481
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 10:17 AM.


Powered by vBulletin
Copyright ©2000 - 2016, Jelsoft Enterprises Ltd.