Maya 2020 fundamentals - modelling the real world
Get halfway through a model and find it's an unworkable mess? Can't add edge loops where you need them? Can't subdivide a mesh properly? If any of this sounds familiar check this course out.
# 1 07-11-2007 , 02:13 PM
danotronXX's Avatar
Subscriber
Join Date: Jun 2005
Location: cleveland ohio
Posts: 313

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:
user added image


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

# 2 07-11-2007 , 02:59 PM
THX1138's Avatar
19 year Veteran
Join Date: Sep 2002
Location: U.S.A.
Posts: 2,140
Don't use cylindrical mapping. Use planar mapping instead. That gave me a very good layout of this example pipe model.

Attached Images
# 3 07-11-2007 , 03:02 PM
THX1138's Avatar
19 year Veteran
Join Date: Sep 2002
Location: U.S.A.
Posts: 2,140
Forgot to show the model I made. Hope this helps out.user added image

Attached Images
# 4 07-11-2007 , 03:56 PM
danotronXX's Avatar
Subscriber
Join Date: Jun 2005
Location: cleveland ohio
Posts: 313
thanks for the help THX but when I planar map the texture still goes in one direction instead of going along the pipe:
user added image

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.
# 5 07-11-2007 , 04:40 PM
THX1138's Avatar
19 year Veteran
Join Date: Sep 2002
Location: U.S.A.
Posts: 2,140
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.
# 6 09-11-2007 , 05:16 AM
THX1138's Avatar
19 year Veteran
Join Date: Sep 2002
Location: U.S.A.
Posts: 2,140
Everything come out ok? Any problems? Use another method that worked out better?

# 7 09-11-2007 , 09:39 AM
danotronXX's Avatar
Subscriber
Join Date: Jun 2005
Location: cleveland ohio
Posts: 313
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.


user added image


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

# 8 09-11-2007 , 04:22 PM
Weyu's Avatar
Registered User
Join Date: Nov 2006
Location: Sweden
Posts: 482
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.

# 9 09-11-2007 , 05:06 PM
THX1138's Avatar
19 year Veteran
Join Date: Sep 2002
Location: U.S.A.
Posts: 2,140
Yeah, your UV's look like they are stretched a bit in some areas.

# 10 09-11-2007 , 10:58 PM
mtmckinley's Avatar
The Maya Mountain
Join Date: Aug 2002
Location: Seattle, WA
Posts: 8,245
make the pipe straight. texture it. THEN bend it.

# 11 10-11-2007 , 01:18 AM
danotronXX's Avatar
Subscriber
Join Date: Jun 2005
Location: cleveland ohio
Posts: 313
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.
Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads