Valid Texturing method?

Valid Texturing method?

Discuss maps & map creation - from concept to execution to the ever elusive release.

Moderator: Moderators

Post Reply
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Valid Texturing method?

Post by Forboding Angel »

I used a couple different programs to achieve this effect.

Not that I think small divide is great as a desert, that kinda isn't the point. I'm talking about the texturing itself. I'm thinking with a little more detail here and there it just might work out.


Image Image Image
Image Image

http://evolutionrts.info/maps/SmallDivi ... rt-v01.sd7

http://evolutionrts.info/maps/SmallDivi ... rt-v01.sd7

Whaddya think?
Last edited by Forboding Angel on 11 Jul 2008, 18:38, edited 1 time in total.
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Re: Valid Texturing method?

Post by Argh »

First off, I like that you're using the same subject to study technique. Can I have the heightmap? I'll give it a go if I can dig up some time after I come back from vacation.

That main cracked-sand texture is tiling too much, imo- it needs some work on the main tiling texture to make it less obvious. I know that's hard, at some point you just have to do a lot of airbrush and pattern-stamp.

The mountains are interesting, but they don't feel natural to me. It needs subtleties added that need to be done by hand.

Doing a big rocky surface and having it feel right has got to be a real pain- I haven't tried it, and I don't know if I'd even do it half that well, so that's pretty much all I can say. It just doesn't feel correct yet.
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Re: Valid Texturing method?

Post by Beherith »

Hmm, I like the basic theme, but have to agree that the flat desert texture is not varied enough, try adding some perlin noise to the alpha channel upon blending it with the other texture.

Also, I have found a very interesting way of greatly reducing the tiling of a texture:
Make a fast fourier transform of the image, and remove the low frequency components (these are the ones that cause the visual tiling effect), but dont remove the center dot (as that is what gives the base color), if its tiling strongly in only one direction, you only have to remove the frequency components of that direction.
Inverse FFT the image to get back the one with much less tiling. The results hardly modify the image, but the greaty reduce ugly tiling.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: Valid Texturing method?

Post by AF »

This version should replace the current version. It far outstrips your own remake and its orders of magnitude better than the one SJ made.
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Re: Valid Texturing method?

Post by Beherith »

BTW, same cracked earth texture as parched mesa?
Argh wrote:First off, I like that you're using the same subject to study technique. Can I have the heightmap? I'll give it a go if I can dig up some time after I come back from vacation.


Uploaded the heightmap exporter widget to JJ.
Image

Also, an example of FFT tiling correction:

Original:
Image

Corrected:
Image

The difference might not be noticable at this scale, but if you view the images after each other, the results are clear, the low frequency components are gone.

If you dont have FFT tools, post me the texture, and Ill have a go at fixing it.

Sorry about the massive images :(
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Valid Texturing method?

Post by Forboding Angel »

Yar same tex, I've only used it twice I think, parched mesa and whakamatunga riri.

The obvious tiling is obvious. I was kinda more interested in whether the way it was textured could be considered valid or even viable...

Reason being, I was able to texture this stuff in 5 minutes using a combo of l3dt and cs3. Which asks the question, is it a valid way of doing things (assuming your tiling isn't omgwtfobvious?)?

It's kind of a rhetorical question, but one i would like an answer to in terms of opinions.
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Re: Valid Texturing method?

Post by Argh »

I think that if you got that far in 5 minutes, great- automation is cool! Too bad it requires CS3, I only have 7, and I can't afford to upgrade it any time soon :P

Oh, and I'd like to hear more about the FFT stuff. Where can we get tools to do that with? I'm accustomed to just doing this stuff the hard way, so anything that could speed up that part, which I personally find a total drag, could be useful.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Valid Texturing method?

Post by smoth »

I would love it if you added some mountains encircling the area(make the map a bit larger then add mountains. The cut off is harsh for screenshots. Other then that I wish that this and your other remake of this map were included with spring they are very nice.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Valid Texturing method?

Post by Forboding Angel »

Argh, you could easily do it with 7.

Here's the deal. L3dt renders things by use of various maps. The 2 important ones here are the attributes map and the terrain normals map.

With the attributes map you get a basic color of what texture will get laid where. This is important because you can just do color range selections in photoshop and apply patterns on different layers. It also means that because you are using blending options to display the pattern, you can scale your map to whatever size you want. Like small divide here I could easily make into a 28x28 simply by resizing it without losing detail.

The normals are important because you can bake them as an overlay, and you can even tell l3dt to do the light based bumpmapping directly on the terrain normals (in this exercise I didn't do that, so I'm curious to see what will happen when I try it). This way you get the natural variations which breaks up the terrain in a nice way.

Small divide's heightmap isn't anything to get excited about honestly, but in this example it was a good familiar reference. As a 1 man dev team (except all the lua that lurker has done for me), I have a gold of 20 maps just for evolution that will be included with the game. As a result, I have to barter time and cpu resources. This way I could prolly do a 20x20 map in a matter of minutes.

THink about it. You can import the attribute map at 512x512, layer the hell out of it, the resize and save as bmp, meaning that you can do almost all of the technical details with a small image and therefore quickly. Use features for metal spots (if needed) like what I used on riverglade, and all of a sudden the hardest and most time consuming processes of mapmaking just became easy as all get out.

Now, does this replace texture generation? In my mind no. However, using this method you could pump out maps with quality just as good (assuming you took the time to set up your textures correctly like behe was talking about) quality, and even save a bit on filesize. Hell even doing strata would be easy using an overlay texture.

However, the only reason this method works is because of l3dt. Without that you're essentially up shit creek, because you NEED the attributes maps. However you can render the attributes maps at a fairly low detail (2048x2048 should be enough).

This could be a saving grace for me, cause I have been frustrated about it for some time now.

I still think we need an sm3 sort of mapping thing, but until then, this might just save my bacon, because I simply do not have the time required for texture generated mapping.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Valid Texturing method?

Post by Forboding Angel »

unfortunately, I have to mark this method as not realisticly viable :-/ Sucks, but unfortunately that's about the size of it.
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Re: Valid Texturing method?

Post by Beherith »

Argh wrote: Oh, and I'd like to hear more about the FFT stuff. Where can we get tools to do that with? I'm accustomed to just doing this stuff the hard way, so anything that could speed up that part, which I personally find a total drag, could be useful.
Here is a useful example of using the FFT filter: http://retouchpro.com/tutorials/?m=show&id=185

In the tutorial they remove a higher frequency texture from the photo.

But what I was doing here, was removing the low frequency components, those are the ones that are closest to the center star. (like 1-2 pixels close)

Sorry about the off topic, forb, just say so and well split this into another thread.
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Re: Valid Texturing method?

Post by rattle »

small divide is great as a desert
This isn't really a desert but a barren world.

I don't really like how you are reusing the very same textures over and over again.
User avatar
Das Bruce
Posts: 3544
Joined: 23 Nov 2005, 06:16

Re: Valid Texturing method?

Post by Das Bruce »

Forboding Angel wrote:unfortunately, I have to mark this method as not realisticly viable :-/ Sucks, but unfortunately that's about the size of it.
Why?
User avatar
Pxtl
Posts: 6112
Joined: 23 Oct 2004, 01:43

Re: Valid Texturing method?

Post by Pxtl »

Personally, I think the best effect for flat terrain is obtained by making a set of interchangeable tiles and randomly selecting - then you get tile compression without a repeating pattern.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Valid Texturing method?

Post by smoth »

smt doesn't work that way pxtl.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Valid Texturing method?

Post by Forboding Angel »

smoth wrote:smt doesn't work that way pxtl.
heh, I'll say.

Before blurting out "LOLTILE" I wish you guys (the people that blurt out "LOLTILE") would actually do some research.

If it doesn't repeat, it doesn't compress. Capice?
User avatar
Pxtl
Posts: 6112
Joined: 23 Oct 2004, 01:43

Re: Valid Texturing method?

Post by Pxtl »

Forboding Angel wrote:
smoth wrote:smt doesn't work that way pxtl.
heh, I'll say.

Before blurting out "LOLTILE" I wish you guys (the people that blurt out "LOLTILE") would actually do some research.

If it doesn't repeat, it doesn't compress. Capice?
Can't it? I thought that was the point - if you have a tile that is a repeat of another tile in the map - even one that isn't adjacent - then it would compress it.

Damn it, I'm a few hours into a tool to make tiled maps easy, for nothing?
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Valid Texturing method?

Post by Forboding Angel »

Sorry to burst the bubble, but that's about the size of it. The compressor is really really bad. Also, if you make maps obviously tiling, then they pale in comparison to "Real" maps.

This test was an excellent example. It works, but it doesn't work well. The only way to really break it up would be to use a massive bumpmap over the entire map so that the terrain break up, but guess what? That breaks the compression as well.

Besides, almost all of us compile with compression off because it makes maps look terrible even on .1

It's not like the compiler automagically knows the size of repeating texture you use anyway, so it does a really crappy comparison, and fails miserably at it.
Post Reply

Return to “Map Creation”