PDA

View Full Version : Advanced texture filtering....



EvilOne
04-14-2009, 11:34 AM
I'm currently writing some terrain editing and texturing tools. While researching, I've found this interesting paper on the net:

http://wwwcg.in.tum.de/Research/data/Publications/vmv06.pdf

In paragraph 4.2 (Page 5 and 6) they have an idea that solves texturing issues by calculating the mipmaps in a special way. This seems to solve the repetition pattern that is often observable when using texture splatting. To be true, I don't understand much of what they say there... maybe someone can enlighten me?

Thanks in advance.

Jackis
04-15-2009, 05:08 AM
As I understand article's authors, they don't try to beat repeating pattern, but they simply fade total mip-map color to an average one. So, texture on far mip-levels looks like having one solid color.
I don't think, that this might be a general advice. Using their scheme in fractal terrains is quite good, and the details are achieved due to shading and sufficient tesselation.
But for general terrains, where texture information is often necessary at far distances, this solution is bad, IMO.

Brolingstanz
04-15-2009, 05:36 AM
Put some Wang in your tiles. Wang Tiles can help you to beat the repeat.

EvilOne
04-17-2009, 03:53 AM
Sorry, for the delay...

My main problem is finding a good texturing algorithm for terrain, without going for a full virtual texture implementation. What I can think of is using splatting at near distances and fading to some blurry texture stretched over the whole terrain at the distance.

And yes, adding Wang would be nice. But doing a texture to wang tile processor is far beyond my skills.

The main idea is, to make level editing and texturing for designers as easy as possible and have a fairly moderate download size for final levels. So splatting is the way to go, I think. Virtual textures are nice on paper, but they place to much burden on the designers...