Fit Texture To Line

Moderator: Graf Zahl

User avatar
Tormentor667
Stronghold Team
Posts: 3555
Joined: Sun Nov 13, 2005 23:15
Location: Germany

Fit Texture To Line

Post by Tormentor667 »

Well, in Duke3D and other Build games, it was possible to automatically scale a texture to a certain size by just defining the size of the line (wall) itself (depending on sector height) or the floor (sector size).

Let's say, I have a wall with the length of 128 and the height of 128 and a texture that's just 64x64 (or 256x256, or even nonsymetrical like 96x1024) and I want this texture automatically be stretched or squashed so that it fits on the 128x128 wall.

Is something like this possible in Doom? I'd have a lot of places where to use that!
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany

Post by Graf Zahl »

It shouldn't be too hard to add but obviously it wastes the line's action special.
User avatar
Shinjanji
Posts: 198
Joined: Sun Nov 06, 2005 16:45
Location: Pennsylvania, USA

Post by Shinjanji »

I still would like to see texture shearing (perhaps even offsets for each induvidual texture corner coordinate?) It would make texturing the sides of slopes oh-so-much better.
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany

Post by Graf Zahl »

These features are really nice to have (and both are not that hard to implement) but I'd really like to create an enhanced map format first. Although both can be done with hacks it's not what I'd like to do.

On the other hand, if I do a new map format I fear that the editors will take too much time to upgrade. Deep is strongly opposed to anything new so I don't expect anything there, WadAuthor is pretty much dead and doesn't even support all of ZDoom's current features well and DoomBuilder hadn't updated for far too long either - which leaves us with SLADE. SLADE is a nice and promising editor for sure but right now it is still a little too unstable for my tastes.
SlayeR
Posts: 120
Joined: Wed Aug 31, 2005 6:23
Location: Somewhere

Post by SlayeR »

And you haven't posted any bug reports? I thought you of all people would know how annoying it is when you get 'it's unstable' and no corresponding bug reports :P
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany

Post by Graf Zahl »

I thought you were rewriting it again so I didn't bother. It crashed for me several times when accidentally attempting to load a Hexen format map with a Doom format config. Maybe you could add a feature that assigns a corresponding config in the other format so the editor can auto-switch and load the map with correct settings.
User avatar
Tormentor667
Stronghold Team
Posts: 3555
Joined: Sun Nov 13, 2005 23:15
Location: Germany

Post by Tormentor667 »

Graf Zahl wrote:It shouldn't be too hard to add but obviously it wastes the line's action special.
Well, if you do that with LINE_IDENTIFICATION and apply some ACS scripting to it, it shouldnt be that hard. But as I said, it is something very useful!
User avatar
BetaSword
Posts: 132
Joined: Thu Sep 01, 2005 0:01

Post by BetaSword »

I heartily agree with Torm. This is a function that I'd definitely find plenty of uses for as well, along with shearing. And yeah, it could possibly be implemented through using LINE_IDENTIFICATION and ACS rather effectively.

Return to “Closed Feature Suggestions”