Sloped Textures

Moderator: GZDoom Developers

User avatar
Kirby
Posts: 2697
Joined: Thu Aug 26, 2004 1:23 pm

Post by Kirby »

*BUMP*
Moo? (Randy!)
User avatar
HotWax
Posts: 10002
Joined: Fri Jul 18, 2003 6:18 pm
Location: Idaho Falls, ID

Post by HotWax »

I wholly support this idea.

Wouldn't this be as simple as the renderer incrementing the Y-offset for each column based on the slope of the underlying floor/ceiling? A little simple math ought to do it.
User avatar
David Ferstat
Posts: 1113
Joined: Wed Jul 16, 2003 8:53 am
Location: Perth, Western Australia
Contact:

Post by David Ferstat »

Kirby wrote:*BUMP*
Alert the randy police!
:shock:
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49230
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

Well, I'd like to have this feature but I can't code it into the software renderer... :(
User avatar
edward850
Posts: 5886
Joined: Tue Jul 19, 2005 9:06 pm
Location: New Zealand
Contact:

Post by edward850 »

Well randy hasn’t said anything yet. He normally knows about this kinda stuff, I'm worried
User avatar
Kirby
Posts: 2697
Joined: Thu Aug 26, 2004 1:23 pm

Post by Kirby »

edward850 wrote:Well randy hasn’t said anything yet. He normally knows about this kinda stuff, I'm worried
I know, especially since this is the only thing he has said in this thread:
randy wrote:
Caligari_87 wrote:[slaps randy w/ dead fish]
Argh!
guitar man
Posts: 74
Joined: Thu Jun 23, 2005 5:41 pm

Post by guitar man »

But... If this were done, would the entire linedef be sloped, or just the texture? As such that if you made it impassible, you would be able to use it as a ramp? I would ultimately be in favor of this, as opposed to just a sloped texture.
User avatar
Kirby
Posts: 2697
Joined: Thu Aug 26, 2004 1:23 pm

Post by Kirby »

guitar man wrote:But... If this were done, would the entire linedef be sloped, or just the texture?
As I see it, just the linedef. No need to define a texture if you are simply going to use it in some areas (unless this would be easier?)
As such that if you made it impassible, you would be able to use it as a ramp?
Huh? Not at all. It would still be a normal line. If you wanted to make it walkable, you'd have to give it bridge things and leave it so it's passable to make the player think you can walk on it.
User avatar
HotWax
Posts: 10002
Joined: Fri Jul 18, 2003 6:18 pm
Location: Idaho Falls, ID

Post by HotWax »

All that this would do is draw each column of the texture with an offset so that a horizontal line drawn across the texture would stay the same distance from the floor at any point along the slope. If you're still confused, see my diagram in the other thread linked to in the first post.

There is no rotation done and no geometry is affected. If this is placed on a solid wall, the wall will still be solid from top to bottom. You can also do what Graf suggested with it and make a railing the slopes with the floor to achieve the effect guitar man is asking for.
Gez
 
 
Posts: 17943
Joined: Fri Jul 06, 2007 3:22 pm

Re: Sloped Textures

Post by Gez »

Bumping this to suggest making it as a sidedef property in UDMF instead of some initialization special.

It could possibly also allow for sloping 3D mid textures.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49230
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Sloped Textures

Post by Graf Zahl »

If Randy does it, fine. I have no idea how to implement it in the software renderer.
User avatar
cq75
Posts: 1212
Joined: Sun Dec 27, 2009 9:28 pm
Graphics Processor: nVidia with Vulkan support
Location: Just beyond the line horizon

Re: Sloped Textures

Post by cq75 »

Did you put it in GzDoom?

(I don't remember seeing it, but I might've missed it)

even if it won't work with the software renderer, I'd like to have it in opengl :)
User avatar
cq75
Posts: 1212
Joined: Sun Dec 27, 2009 9:28 pm
Graphics Processor: nVidia with Vulkan support
Location: Just beyond the line horizon

Re: Sloped Textures

Post by cq75 »

So... is this going to be in GzDoom, even if it's not in zdoom? :?:

Even if it's restricted to OpenGL mode, it's better than not having it
User avatar
Nightfall
Posts: 555
Joined: Thu Aug 06, 2009 4:00 am
Location: Finland

Re: Sloped Textures

Post by Nightfall »

Gez wrote:Bumping this to suggest making it as a sidedef property in UDMF instead of some initialization special..
Instead of? But what about us SLADE2 users who are stuck with the Hexen format?! :(
cq75 wrote:Even if it's restricted to OpenGL mode, it's better than not having it
Agreed there.
Gez
 
 
Posts: 17943
Joined: Fri Jul 06, 2007 3:22 pm

Re: Sloped Textures

Post by Gez »

Wait for SLADE3. :p
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”