Terrain Texture Transitions

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.

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: Terrain Texture Transitions

Re: Terrain Texture Transitions

by RockstarRaccoon » Fri May 25, 2018 9: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.

Re: Terrain Texture Transitions

by Caligari87 » Fri May 25, 2018 9: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-)

Re: Terrain Texture Transitions

by RockstarRaccoon » Fri May 25, 2018 9: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...

Re: Terrain Texture Transitions

by R4L » Wed May 23, 2018 6: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:

Re: Terrain Texture Transitions

by RockstarRaccoon » Wed May 23, 2018 2: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...

Re: Terrain Texture Transitions

by Rip and Tear » Wed May 23, 2018 1: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.

Re: Terrain Texture Transitions

by R4L » Wed May 23, 2018 8:48 am

Could use a prefab .obj made in terrain generator or blender even with your own texturing.

Re: Terrain Texture Transitions

by RockstarRaccoon » Sun May 20, 2018 12: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...

Re: Terrain Texture Transitions

by Cherno » Sat May 19, 2018 3: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.

Terrain Texture Transitions

by RockstarRaccoon » Sat May 19, 2018 1: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?

Top