SimplyMaya Forums

Welcome to the forum, feel free to ask questions here.

Register FAQ Members List Calendar Mark Forums Read

New Thread
 
Thread Tools
Old 19-12-2006, 07:08 PM   #1
mrbozzo
Registered User
 
Join Date: Aug 2006
Location: Nesodden,Norway
Posts: 93
Thanks: 0
Thanked 0 Times in 0 Posts
Default WTF! uv problem

here is the uv's of a hand i made with the tutorial which comes with maya 6.0...
http://i11.tinypic.com/48m4hnd.png
but how the f*** shall i make a uv for the hand of this???
(sensured excpicit languige)
mrbozzo is offline   Reply With Quote
Old 19-12-2006, 07:14 PM   #2
gster123
Moderator
 
gster123's Avatar
 
Join Date: May 2005
Location: Manchester Uk
Posts: 6,300
Thanks: 1
Thanked 51 Times in 45 Posts
Default

Try looking into UV mapping in the help files, I'd use planar mapping Coupled with moving and sewing, but I guess you dont know what that really means
__________________
"No pressure, no diamonds" Thomas Carlyle
gster123 is offline   Reply With Quote
Old 19-12-2006, 07:33 PM   #3
mrbozzo
Registered User
 
Join Date: Aug 2006
Location: Nesodden,Norway
Posts: 93
Thanks: 0
Thanked 0 Times in 0 Posts
Default

no i'm a total noob to maya...
and i need to make uv's for a penguin before christmas...
mrbozzo is offline   Reply With Quote
Old 19-12-2006, 07:33 PM   #4
enhzflep
Subscriber
 
enhzflep's Avatar
 
Join Date: Oct 2006
Location: Melbourne
Posts: 313
Thanks: 0
Thanked 0 Times in 0 Posts
Default

If the stuff in the helpfiles doesn't er, help then you may like the tute that Mike has done on the topic. Check it out here: Mike's UV mapping tutorial

There's also a really good one on texturing a 3 legged stool, complete with the rungs that go from leg to leg.
You'll find it here: http://www.ramyhanna.com/texturing/p...utorial01.html

For what it's worth, I'd be inclined to cylindrical map each of the fingers one-by one before perhaps automatic mapping the palm itself. Just depends on the topology of the hand I guess.


Just this week on another forum we were discussing the lack of a couple of tools that would make some UV mapping operations much easier. Of notable concern was the inability to scale UVs by an exact, numerical figure. Long story short, after playing around capturing the commands echoed in the script editor and reviewing a text I've got on MEL, the following script was developed.

Code:
// Simple MEL script to provide a UI to some of the tools commonly used
//  during the UV editing process. The script provides a way to scala and
//  rotate by numerical amounts, rather than doing it interactively.
//  While a mechanism is provided for rotating, there is none for scaling
//  Date: 18 Dec 2006 Simon Beeching

// Title of pop-up window
window -title "UV Tools";

// variables used to retrieve the values of our sliders
float $RotVal;
float $ScaleVal;

// command string to be executed when the Rotate button is pressed
// (1) Query value of the rotation slider
// (2) Rotate by this amount around <0.5, 0.5>
string $RotCmd = "$RotVal = `floatSliderGrp -q -v RotSlideVal`; \
		     polyEditUV -pu 0.5 -pv 0.5 -a $RotVal ;";

// command string to be executed when the Scale button is pressed
// (1) Query value of the scale slider, AND divide by 100, since a scale value of 1 = 100%
// (2) Scale by this amount around <0.5, 0.5>
// NOTE: Negative values are allowed here. This has the effect of scaling, AND rotating by 180 degrees
string $ScaleCmd = "$ScaleVal = `floatSliderGrp -q -v ScaleSlideVal`/100.0; \
		     polyEditUV -pu 0.5 -pv 0.5 -su $ScaleVal -sv $ScaleVal;"; 

// the layout to be used for the window
columnLayout;

// Note the difference between the definition of the controls for scale and rotation
//  the fieldMinValue and fieldMaxValue fields define the min and max values of the field.
//  this means that you can specify a number that you can't select with the slider.
// After a value has been entered that is outside the default range for the slider, the slider's
// range changes. By default, you can scale from 0-100%. By entering a value in the box, you may
// scale between -100 and +500 %
// Define the slider and button to be used for Scaling
 	floatSliderButtonGrp  -field true		// ????
 		-buttonLabel "SCALE %"		  	// Text that is on button
		-buttonCommand $ScaleCmd		// what to do when button is pressed
		-minValue 0				// default min of slider
		-fieldMinValue -100			// min value that can be entered in numeric box
		-maxValue 100				// default max value of slider
		-fieldMaxValue 500			// max value that can be entered in numeric box
		-value 0				// value of slider at start-up
 		-columnWidth 1 40			// width of column1 = 40 pixels
		ScaleSlideVal;			// name of slider

// Define the slider and button to be used for Rotating
 	floatSliderButtonGrp -field true
 		-buttonLabel "ROTATE"
		-buttonCommand $RotCmd
              -minValue 0
              -maxValue 360
 		-columnWidth 1 40 
		RotSlideVal;
showWindow();
Don't worry there's hardly anything to it, it's nearly all comments. Here's a screen shot of it when loaded.

Simon
Attached Thumbnails
Click image for larger version

Name:	toolsimg.jpg
Views:	172
Size:	9.7 KB
ID:	31886  
enhzflep is offline   Reply With Quote
Old 20-12-2006, 04:35 AM   #5
mrbozzo
Registered User
 
Join Date: Aug 2006
Location: Nesodden,Norway
Posts: 93
Thanks: 0
Thanked 0 Times in 0 Posts
Default

i try the rihana tut after school, it looked very nice

, but i don't know how to add scripts in maya...
mrbozzo is offline   Reply With Quote
Old 20-12-2006, 09:09 AM   #6
enhzflep
Subscriber
 
enhzflep's Avatar
 
Join Date: Oct 2006
Location: Melbourne
Posts: 313
Thanks: 0
Thanked 0 Times in 0 Posts
Default

That's cool, it's very easy.

=======
a. Window->GeneralEditors->Script Editor
b) Select all the text of the script and hit Ctrl-Ins
c) Paste it into the bottom pane of the editor Shft-Ins
d) select all of the text then drag it up to the shelf with the middle button.

Notes:

1) The icon in the bottom right of the screen will do step (a).
2) You don't need to do step (d), You can just goto Script->Execute
3) Try Help->MayaHelp. Search for shelves. That should help you out a bit.

Simon
enhzflep is offline   Reply With Quote
Old 20-12-2006, 09:14 AM   #7
gster123
Moderator
 
gster123's Avatar
 
Join Date: May 2005
Location: Manchester Uk
Posts: 6,300
Thanks: 1
Thanked 51 Times in 45 Posts
Default

Nice little script there, very usefull.

Cheers!!
__________________
"No pressure, no diamonds" Thomas Carlyle
gster123 is offline   Reply With Quote
Old 21-12-2006, 10:20 AM   #8
erictacti
Registered User
 
Join Date: Sep 2006
Location: NY
Posts: 208
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Sweet! Thanks for the script, I'm gonna have to try that out soon.
__________________
Eric Tacti
3D Artist
erictacti is offline   Reply With Quote
Old 23-12-2006, 09:29 AM   #9
mrbozzo
Registered User
 
Join Date: Aug 2006
Location: Nesodden,Norway
Posts: 93
Thanks: 0
Thanked 0 Times in 0 Posts
Default

didn't understand...

Last edited by mrbozzo : 27-12-2006 at 06:48 AM.
mrbozzo is offline   Reply With Quote
Old 24-12-2006, 03:31 AM   #10
gster123
Moderator
 
gster123's Avatar
 
Join Date: May 2005
Location: Manchester Uk
Posts: 6,300
Thanks: 1
Thanked 51 Times in 45 Posts
Default

Quote:
Originally posted by mrbozzo
didn't understand...
The tutorial is pretty easy to get your head round, Just play about with a simple model
__________________
"No pressure, no diamonds" Thomas Carlyle
gster123 is offline   Reply With Quote
New Thread

« Previous Thread | Next Thread »

Thread Tools

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem solving many dynamic objects in a pile? rohiniduggal Dynamics & Special Effects 3 14-01-2011 06:26 PM
apache environment problem andrew_sorensen Simply Maya Tutorials 4 08-12-2010 02:48 PM
Strange Problem - Unable to change attributes for multiple objects anthonysw3 Technical Issues 4 04-12-2010 10:56 PM

1 Month

$34

Month-to-month billing
$34/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
 
 

3 months

$87

Billing every 3 months
$29/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
Save $5 per month or $15 in total compared to monthly billing with this package.

12 months

$288

Billing every 12 months
$24/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
Save $10 per month or $120 in total compared to monthly billing with this package.

Your plan will automatically renew. You can cancel at any time via your PayPal account to avoid being charged again.

You can view the FAQ on our video plans here. You can contact us directly here. By clicking one of the buttons above, you agree to our Terms and Privacy Policy.