Terrain Texture Transitions

Ask about mapping, UDMF, using DoomBuilder/editor of choice, etc, here!
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

Terrain Texture Transitions

Postby RockstarRaccoon » Sat May 19, 2018 2:47 pm

So I've been working on some large outdoor areas with custom-made terrain textures, and I'm trying to figure out what the best way to do transitions between them will be. So far it looks like I'm doing a mix of grass, dirt, mud, and rock. I've seen people use a method involving drawing the transitions themselves, but I don't know if that will work well for what I'm doing.

Does anyone have any thoughts or ideas on this?
User avatar
RockstarRaccoon
Totally Babies
 
Joined: 31 Jul 2016

Re: Terrain Texture Transitions

Postby Cherno » Sat May 19, 2018 4:00 pm

Create transition textures or keep it simple and go for Doom's original style, which just had hard sector borders between terrain types. You can always make sector lines more wavy and uneven, or even create alternate patches like a dithering effect.
User avatar
Cherno
 
Joined: 06 Dec 2016

Re: Terrain Texture Transitions

Postby RockstarRaccoon » Sun May 20, 2018 1:51 am

I want to push the boundaries of this a little, see if I can get something that looks kind of realistic going. Right now I'm using patched textures a transition between terrain types. Still not clear on the how well I can make this work...
User avatar
RockstarRaccoon
Totally Babies
 
Joined: 31 Jul 2016

Re: Terrain Texture Transitions

Postby R4L » Wed May 23, 2018 9:48 am

Could use a prefab .obj made in terrain generator or blender even with your own texturing.
User avatar
R4L
Ordinary Vanity
 
Joined: 03 Mar 2017
Discord: R4L#4655

Re: Terrain Texture Transitions

Postby Rip and Tear » Wed May 23, 2018 2:03 pm

You could use Things to smooth the transition; for example, having bushes bleed over slightly from a grassy area to a sandy one.
User avatar
Rip and Tear
 
Joined: 02 May 2017

Re: Terrain Texture Transitions

Postby RockstarRaccoon » Wed May 23, 2018 3:29 pm

Good suggestions. I've never used the .obj terrain feature before... Things was something I've already implemented, so good call there too...

I wonder if I could do something with flat sprites or decals to cover up the lines between grass and mud...
User avatar
RockstarRaccoon
Totally Babies
 
Joined: 31 Jul 2016

Re: Terrain Texture Transitions

Postby R4L » Wed May 23, 2018 7:59 pm

Terrain Generator is handy for that. Besides being an easy to use height map editor, it also let's you paint textures for easy blending. Could save you a ton of work.

Also, you might want to watch this:



EDIT: just realized I linked the wrong video, but they both are good to learn from:
User avatar
R4L
Ordinary Vanity
 
Joined: 03 Mar 2017
Discord: R4L#4655

Re: Terrain Texture Transitions

Postby RockstarRaccoon » Fri May 25, 2018 10:40 am

I've seen both of them. They're pretty basic. I don't want to use the technique where you draw the terrain as a megatexture because there's a huge map and I'm worried that it'll blow the system requirements up or something...
User avatar
RockstarRaccoon
Totally Babies
 
Joined: 31 Jul 2016

Re: Terrain Texture Transitions

Postby Caligari87 » Fri May 25, 2018 10:59 am

The only other real option is to have a set of generic transition zone flats and plan those areas out. Like:

  • Horizontal east-west snow-to-grass transition
  • Vertical north-south grass-to-dirt transition
  • Vertical north-south dirt-to-grass transition
  • Diagonal NW-SE snow-to-grass transiton
  • Diagonal SE into vertical north grass-to-snow transition
Etc. It's a lot of work but probably the only way to make truly generic transitions without "megatexturing."

That said, I'm pretty sure there's been a few people some megatexture-like work with GZDoom and it's not as horrible as it seems. At worst just chunk your "megatextures" into reasonable sections like 1024x1024 and then you only have to worry about the transitions between those.

8-)
User avatar
Caligari87
I'm just here for the community
User Accounts Assistant
 
Joined: 26 Feb 2004
Location: Salt Lake City, Utah, USA
Discord: Caligari87#3089

Re: Terrain Texture Transitions

Postby RockstarRaccoon » Fri May 25, 2018 10:16 pm

Hmmm, you know, maybe I am looking at this wrong. I'm realizing that this engine have some quirks which makes certain geometry work far better than in a typical 3D engine. A good example is stuff like how you can just have a pit that goes straight down a few inches, and that's basically where your grass becomes a mud hole. Maybe I should actually try more of that. That said, I suppose there is no truly perfect way to do this, but I will keep looking into it, probably use a combination of all these methods, and we'll see what I come up with. I also suppose that I did say I wanted really different geometry from other games, so maybe this is how I'm going to do it.
User avatar
RockstarRaccoon
Totally Babies
 
Joined: 31 Jul 2016


Return to Mapping

Who is online

Users browsing this forum: No registered users and 1 guest