Need to know how to Skew a texture..

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Search this Thread Display Modes
Old 02 February 2013   #1
Need to know how to Skew a texture..

Hi everyone,

I've been using MAX for about a year but I've recently come up against a wall by some stairs that I want to 'slant' or 'skew' a texture for so that it follows a pathway up some stairs. However, in both the 'UVW map' and 'UVW unwrap' modifiers I can only seem to rotate the texture, not skew it.

Is there any way to do this? Below is an example of the effect I am trying to achieve:

Regards, Asa.
Old 02 February 2013   #2
you could slide/skew the texture around using unwrap UVW. So you'd need to drag your polygon edges around in the Edit UVW window and scew them.

Make sure this is in a new UV channel if you have a concrete texture like the example photo otherwise you'll screw this up.
Old 02 February 2013   #3
Hi MisterS, thanks very much for your reply.

Below is a screenshot of my current workspace. Forgive me for being amateur, but how would one go about doing what you suggested in the scenario shown below?

Regards, Asa.
Old 02 February 2013   #4
Well if you think about it, skewing that texture would be wrong.

It looks like wallpaper and if I was papering that hall I wouldn't be able to skew the wallpaper to fit it up the stairs. I would either keep the strips running vertically and trim them at an angle when you got to the stairs, or, if you just rolling the paper out along the skirting board just rotate it up the stairs.

Unless you've got some new high tech elastic wallpaper of course
Old 02 February 2013   #5
That is a good point! Guess you could try and skew a black/white solid gradient and use as a mask to blend between plaster and paper.
Old 02 February 2013   #6
You can convert your mapping coordinates into geometry using the Channel info utility, skew the desired part and convert it back into mapping coordinates(using Channel Infos again).
Old 02 February 2013   #7
Or try spline mapping. It should handle it for you.

"The Evil Monkey hiding in your closet."
Old 02 February 2013   #8
Yeah this is the sort of thing that sounds simple but is actually really difficult to achieve with UVUnwrap. The best way to do it IMO is to have a plane that goes behind the stairs, not cut out around them. Then you'll only have a vertex at the top and bottom. Then it's easy to grab the end and drag it up and or down to line the texture up to the slope.

Or have it as a straight plane, map that and snap the verts to the top and bottom step after.

Then if you need to cut out round the stairs, do it after.

What Scrimski says is really the only way to do skews on UVs, but it's a lot of messing about.

Spline mapping probably won't work in this case. It'll rotate the UVs, not skew them I think. Could be wrong about that though. I've not had much success with spline mapping. You might be able to rotate the cross sections to align with the wall. Not sure if they rotate in that axis. Worth a go.
Old 02 February 2013   #9
If done right spline mapping will do exactly what he needs. Create a spline matching the top wall or one of the vertical edges. After Picking the spline, just scale and rotate the controls to match one of the linear walls and it should get you the majority of the way there.

"The Evil Monkey hiding in your closet."
Old 02 February 2013   #10
If it does, that's good.

I've not had much success with it. It's always a gigantic mess of huge gizmos all over the place. But that's probably because we use metres and it might be assuming inches like a LOT of Max. It can be wrestled into the right shape, but it's a lot of messing about. Easier to do it another way in the cases I've tried.
Old 02 February 2013   #11
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

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
Society of Digital Artists

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

All times are GMT. The time now is 08:46 PM.

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