advanced texture rotation/stretch

advanced texture rotation/stretch

Re: advanced texture rotation/stretch Posted by Haze on Fri Dec 1st 2006 at 12:36am
Haze
118 posts
Posted 2006-12-01 12:36am
Haze
member
118 posts 42 snarkmarks Registered: Jan 24th 2005 Occupation: Game Designer Location: Frozen Wolf Limited
Hi,
I have a problem with my textures,
I am creating an air duct shaft like on this screen shot:
http://www.hazesdomain.com/screenshots/vent_1.jpg
When I try to rotate the texture it gives me this:
http://www.hazesdomain.com/screenshots/vent_2.jpg
How can I make it so it shifts the texture like:
http://www.hazesdomain.com/screenshots/vent_3.jpg
instead of just rotating it, so that the seams are the same.
Re: advanced texture rotation/stretch Posted by Orpheus on Fri Dec 1st 2006 at 1:56am
Orpheus
13860 posts
Posted 2006-12-01 1:56am
Orpheus
member
13860 posts 2024 snarkmarks Registered: Aug 26th 2001 Occupation: Long Haul Trucking Location: Long Oklahoma - USA
First, that is a unique texture. It has many straight lines, so aligning it may prove impossible.
However, you could cheat by putting a threshold of some type in that space. Put a metal band, or another cross duct texture.
Because of the lines, you're always gonna end up with it out of sync.
Sorry, but thats my best guess answer.
(ps: don't use yellow, its reserved for links )
User posted image
User posted image
User posted image

The best things in life, aren't things.
Re: advanced texture rotation/stretch Posted by Haze on Fri Dec 1st 2006 at 12:07pm
Haze
118 posts
Posted 2006-12-01 12:07pm
Haze
member
118 posts 42 snarkmarks Registered: Jan 24th 2005 Occupation: Game Designer Location: Frozen Wolf Limited
Ahh, I changed the text color, been a while since I used the forums.
And thanks for the help, they should add a feature that lets you do things like that, I always have problems with this sort of thing.
Re: advanced texture rotation/stretch Posted by reaper47 on Fri Dec 1st 2006 at 4:11pm
reaper47
2827 posts
Posted 2006-12-01 4:11pm
reaper47
member
2827 posts 1921 snarkmarks Registered: Feb 16th 2005 Location: Austria
I'm not a 100% sure if I know what you mean (rhombus or trapezoid texture stretching isn't really supported by Hammer and looks odd anyway - if it's that what you mean).

One thing you could try is using the "FIT" helper button in the texture properties window. It stretches the texture to the borders, that way the seam line cannot be directly seen. Not very clean or exact but try it.

Personally, I'd use version 2. Probably shifting the texture a little to the left so the Y/V shape isn't as obvious. Besides drawing your own, distorted version of the texture this is the most exact you can go in Hammer.
Why snark works.
Re: advanced texture rotation/stretch Posted by Captain P on Fri Dec 1st 2006 at 5:57pm
Captain P
1370 posts
Posted 2006-12-01 5:57pm
1370 posts 1995 snarkmarks Registered: Nov 6th 2003 Occupation: Game-programmer Location: Netherlands
I'd argue that it's not too important to get it 100% fitting. I mean, it's not like ducts always look that perfect in reality... having that said, Orpheus' second screenshot probably comes closest to reality - although not every duct looks the same, of course. :smile:

Oh, and you do know about the Alt trick for texture applying, right? :smile:
Create-ivity - a game development blog
Re: advanced texture rotation/stretch Posted by Orpheus on Sat Dec 2nd 2006 at 2:28am
Orpheus
13860 posts
Posted 2006-12-02 2:28am
Orpheus
member
13860 posts 2024 snarkmarks Registered: Aug 26th 2001 Occupation: Long Haul Trucking Location: Long Oklahoma - USA
whispers

the screens are his. I just posted them so everyone could see them at a glance.

Copy/pasting links sucks ass.

My solution is in text, not in screens.

The best things in life, aren't things.
Re: advanced texture rotation/stretch Posted by Campaignjunkie on Sat Dec 2nd 2006 at 4:31am
Campaignjunkie
1309 posts
Posted 2006-12-02 4:31am
1309 posts 329 snarkmarks Registered: Feb 12th 2002 Occupation: Student Location: West Coast, USA
My two cents: It's a vent. The player isn't going to care or remember it. Just leave it misaligned and move on to more important things.
Re: advanced texture rotation/stretch Posted by Nickelplate on Sat Dec 2nd 2006 at 7:02am
Nickelplate
2770 posts
Posted 2006-12-02 7:02am
2770 posts 346 snarkmarks Registered: Nov 23rd 2004 Occupation: Prince of Pleasure Location: US
it our four cents now. Align it the way it is supposed to go. Line it up so that the vertical lines look like this:

| |/
. . . . . /

Just leave a little wedge and it'll look perfectly fine.
I tried sniffing coke, but the ice cubes kept getting stuck in my nose.
http://www.dimebowl.com
Re: advanced texture rotation/stretch Posted by Orpheus on Sat Dec 2nd 2006 at 11:58am
Orpheus
13860 posts
Posted 2006-12-02 11:58am
Orpheus
member
13860 posts 2024 snarkmarks Registered: Aug 26th 2001 Occupation: Long Haul Trucking Location: Long Oklahoma - USA
If I were gonna do it, I'd do it like Nickel said, then forget it like CJ said.

The best things in life, aren't things.