Maya Training

Introduction to Hard Surface Modeling

Maya Training

Interiors and Furniture Vol 1 & 2 - Modeling & Cloth

Maya Training

Shading, Lighting and Rendering the Bedroom in MR

Maya Training

Robot volume one - Modeling with animation in mind

Maya Training

Spach-Alspaugh House the complete courseware

Maya Training

Burt The Cartoon Dinosaur Vol 01 - Modeling

New Maya Training

Robot Volume 02 - Hybrid Rigging
You are here > Home > SimplyMaya Community Forums
Loading

Welcome to Simply Maya

Please Sign in or Sign up for an account

Member Login

Lost your password?

Not a member yet? Sign Up!

Old 07-11-2007, 02: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, 02:59 PM   #2
THX1138
14 Year Veteran
 
THX1138's Avatar
 
Join Date: Sep 2002
Location: U.S.A.
Posts: 2,135
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
 
THX1138 is offline   Reply With Quote
Old 07-11-2007, 03:02 PM   #3
THX1138
14 Year Veteran
 
THX1138's Avatar
 
Join Date: Sep 2002
Location: U.S.A.
Posts: 2,135
Thanks: 0
Thanked 69 Times in 68 Posts
Default

Forgot to show the model I made. Hope this helps out.
Attached Thumbnails
 
THX1138 is offline   Reply With Quote
Old 07-11-2007, 03: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 04:00 PM.
danotronXX is offline   Reply With Quote
Old 07-11-2007, 04:40 PM   #5
THX1138
14 Year Veteran
 
THX1138's Avatar
 
Join Date: Sep 2002
Location: U.S.A.
Posts: 2,135
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 04:44 PM.
THX1138 is offline   Reply With Quote
Old 09-11-2007, 05:16 AM   #6
THX1138
14 Year Veteran
 
THX1138's Avatar
 
Join Date: Sep 2002
Location: U.S.A.
Posts: 2,135
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, 09: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, 04: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, 05:06 PM   #9
THX1138
14 Year Veteran
 
THX1138's Avatar
 
Join Date: Sep 2002
Location: U.S.A.
Posts: 2,135
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, 10: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, 01: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.

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 06:32 AM.
danotronXX is offline   Reply With Quote

A little bit about who we are
Links you might find useful
Catch up with SimplyMaya
SimplyMaya specialises in Maya tutorials. We offer over 1,000 individual Maya training videos, ranging from basic Maya tutorials through to intermediate Maya tutorials. Our tutorials are created by instructors with industry experience and are designed to get you up and running in Maya quickly without making it seem like hard work.

Copyright © 1999-2015 SimplyMaya - vBulletin® Copyright © 2000-2015, Jelsoft Enterprises Ltd.