SimplyMaya Forums

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

Home / forum / Lounges / Maya Basics & Newbie Lounge / UV mapping a curved pipe
Register FAQ Members List Calendar Mark Forums Read

New Thread
 
Thread Tools
Old 07-11-2007, 01:13 PM   #1
danotronXX
Subscriber
 
danotronXX's Avatar
 
Join Date: Jun 2005
Location: cleveland ohio
Posts: 313
Thanks: 0
Thanked 3 Times in 3 Posts
Default UV mapping a curved pipe

know i've been asking a lot these days but don't know why so many things come up.

I'm trying to map this cylindrical pipe that looks like this:



the problem is that it's curved so when I do cylindrical mapping I get some strange texturing on the slanted regions. I'm wondering if there's a way to make the UV cylindrical map follow along the pipe. you guys know what I mean?

any help great thanks,
Dan
danotronXX is offline   Reply With Quote
Old 07-11-2007, 01:59 PM   #2
THX1138
14 Year Veteran
 
THX1138's Avatar
 
Join Date: Sep 2002
Location: U.S.A.
Posts: 2,138
Thanks: 0
Thanked 69 Times in 68 Posts
Default

Don't use cylindrical mapping. Use planar mapping instead. That gave me a very good layout of this example pipe model.
Attached Thumbnails
Click image for larger version

Name:	cylinder uvs.jpg
Views:	896
Size:	34.8 KB
ID:	37064  
THX1138 is offline   Reply With Quote
Old 07-11-2007, 02:02 PM   #3
THX1138
14 Year Veteran
 
THX1138's Avatar
 
Join Date: Sep 2002
Location: U.S.A.
Posts: 2,138
Thanks: 0
Thanked 69 Times in 68 Posts
Default

Forgot to show the model I made. Hope this helps out.
Attached Thumbnails
Click image for larger version

Name:	pipe model.jpg
Views:	894
Size:	25.7 KB
ID:	37065  
THX1138 is offline   Reply With Quote
Old 07-11-2007, 02:56 PM   #4
danotronXX
Subscriber
 
danotronXX's Avatar
 
Join Date: Jun 2005
Location: cleveland ohio
Posts: 313
Thanks: 0
Thanked 3 Times in 3 Posts
Default

thanks for the help THX but when I planar map the texture still goes in one direction instead of going along the pipe:


however, I think it's still a good idea I'll just have to manually move the uv sections like the second picture on the right.

Last edited by danotronXX : 07-11-2007 at 03:00 PM.
danotronXX is offline   Reply With Quote
Old 07-11-2007, 03:40 PM   #5
THX1138
14 Year Veteran
 
THX1138's Avatar
 
Join Date: Sep 2002
Location: U.S.A.
Posts: 2,138
Thanks: 0
Thanked 69 Times in 68 Posts
Default

Don't planar project in perspective view; instead, planar project from the orthographic top view, in the "y" direction. Try it and see what happens.

Edit: forgot to mention to project in sections and sew everything together in the UV editor so that your texture will follow the curve when you map it to the uv's. Hope i'm not comming of too confusing.

Last edited by THX1138 : 07-11-2007 at 03:44 PM.
THX1138 is offline   Reply With Quote
Old 09-11-2007, 04:16 AM   #6
THX1138
14 Year Veteran
 
THX1138's Avatar
 
Join Date: Sep 2002
Location: U.S.A.
Posts: 2,138
Thanks: 0
Thanked 69 Times in 68 Posts
Default

Everything come out ok? Any problems? Use another method that worked out better?
THX1138 is offline   Reply With Quote
Old 09-11-2007, 08:39 AM   #7
danotronXX
Subscriber
 
danotronXX's Avatar
 
Join Date: Jun 2005
Location: cleveland ohio
Posts: 313
Thanks: 0
Thanked 3 Times in 3 Posts
Default

thanks for your help THX.
I ended up just doing the planar mapping from the y-direction and just manually moving the UV sections one by one. I got it to look descent in the end as far as following the map but I'm getting stretched texturing on the side views instead of the all-round smooth from cylindrical mapping.





I really thought there was an easier and much quicker way of letting the clyindrical UV tube go along the path but maybe not. thanks again though,

Dan
danotronXX is offline   Reply With Quote
Old 09-11-2007, 03:22 PM   #8
Weyu
Registered User
 
Weyu's Avatar
 
Join Date: Nov 2006
Location: Sweden
Posts: 482
Thanks: 0
Thanked 2 Times in 3 Posts
Default

It looks like some of the uv's are lined on the same position, try moving the uv's by hand to reduce the stretching.
Weyu is offline   Reply With Quote
Old 09-11-2007, 04:06 PM   #9
THX1138
14 Year Veteran
 
THX1138's Avatar
 
Join Date: Sep 2002
Location: U.S.A.
Posts: 2,138
Thanks: 0
Thanked 69 Times in 68 Posts
Default

Yeah, your UV's look like they are stretched a bit in some areas.
THX1138 is offline   Reply With Quote
Old 09-11-2007, 09:58 PM   #10
mtmckinley
The Maya Mountain
 
mtmckinley's Avatar
 
Join Date: Aug 2002
Location: Seattle, WA
Posts: 8,245
Thanks: 1
Thanked 25 Times in 25 Posts
Default

make the pipe straight. texture it. THEN bend it.
__________________
-Mike
www.mtmckinley.net
The Maya Toolbelt
mtmckinley is offline   Reply With Quote
Old 10-11-2007, 12:18 AM   #11
danotronXX
Subscriber
 
danotronXX's Avatar
 
Join Date: Jun 2005
Location: cleveland ohio
Posts: 313
Thanks: 0
Thanked 3 Times in 3 Posts
Default

btw thanks for all the help.

Quote:
Originally posted by mtmckinley
make the pipe straight. texture it. THEN bend it.
yea good point I thought about that too but the problem is that I have to have the pipe geometry follow exactly with the curved path so my only option left is to do an extrude edge causing it to recreate the polygons and UVs. the reason it has to exactly follow the path is because circular rings of vehicles will be following the same path and if the pipe is off just by a bit, the vehicles will look like they are hovering off and on the pipe. Even if I used nonlinear bending methods and tried to do the bending as close as possible to the path it would still look off.

but I guess since the camera and vehicles will be moving so fast most of the pipe texturing will be blurred away from the speed but it would of been nice anyways.

Last edited by danotronXX : 10-11-2007 at 05:32 AM.
danotronXX 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

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.