| View previous topic :: View next topic |
| Author |
Message |
Drog Black Tooth Guest
|
Posted: Fri Oct 24, 2008 4:23 pm Post subject: High Quality Townmaps |
|
|
Another big improvement!
I've always felt that townmaps (maps for local areas) were poorly done. Indeed, they were downscaled with nearest neighbor type resampling, the most primitive technique, thus they looked jagged and pixelated.
Finally, I devised a more complex way of generating townmaps, and I've regenerated them all using bilinear resampling (probably the best resampling method that doesn't cause any artifacts).
Here's a side-by-side comparison of old and new townmaps, just three examples.
Now they look much better!
Townmaps take a plenty of space, so this won't be included in the UAP, but will be a separate download. And it's already available!
DOWNLOAD (112 Mb):
Mirror 1 (courtesy of Terra-Arcanum.com)
Mirror 2 (courtesy of ComputerGames.ro)
Mirror 3 (courtesy of Patches-Scrolls.de)
Mirror 4 (Megaupload)
P.S. Since it's just a graphics change, it won't cause any incompatibility issues. It also fixes the missing "K'na Tha 2" townmap and many other inconsistencies (they never bothered to update some townmaps, so they had old graphics/objects/layout/etc). All in all, there's absolutely no reason to not use this pack.
Last edited by Drog Black Tooth on Thu Jul 02, 2009 12:14 pm; edited 3 times in total |
|
| Back to top |
|
 |
Dark Elf Darkest of them all

Joined: 06 Feb 2002 Posts: 7652 Location: Where people wave giant inflatable dildos at hockey games
|
Posted: Fri Oct 24, 2008 4:48 pm Post subject: |
|
|
Why did Troika hire a whole team, when all they would have needed was one Drog? _________________ If you can't be a good example, strive to be a horrible warning. |
|
| Back to top |
|
 |
Frigo Never in doubt

Joined: 21 Jan 2006 Posts: 1827 Location: European Union
|
Posted: Fri Oct 24, 2008 5:43 pm Post subject: |
|
|
On a side note, I have implemented a general kernel-based filtering class, and several filter kernels (bell, box, cubic /including cubic b-spline and catmull-rom/, gaussian, hermite, lanczos, linear, sinc and sink), as well as 2x1D resampling, radial resampling and bilateral filtering. I can help if mathematically precise resampling is needed. _________________ http://www.thereligionofpeace.com/
http://www.unwatch.org/site/apps/nl/content2.asp?c=bdKKISNqEmG&b=1313923&ct=3698367
" It is better to die with a sword in your hands, than a chain over your wings. "
"Our many problems with Islam cannot be explained by poverty, repression or the European colonial past, as the Left claims. Nor does it have anything to do with Palestinians or American troops in Iraq. The problem is Islam itself."
"Individual Moslems may show splendid qualities, but the influence of the religion paralyzes the social development of those who follow it. No stronger retrograde force exists in the world." -- Sir Winston Churchill |
|
| Back to top |
|
 |
Dirtman Lord

Joined: 24 Dec 2007 Posts: 305 Location: me was going Bwackroooot
|
Posted: Fri Oct 24, 2008 6:38 pm Post subject: |
|
|
Wow! I'm speechless. _________________ and when I reach the other side
I'll find a place to rest my spirit if I can
perhaps I may become a highwayman again
or I may simply be a single drop of rain
but I will remain |
|
| Back to top |
|
 |
The_Deathsangel Master

Joined: 03 Aug 2008 Posts: 106 Location: The Netherlands
|
Posted: Fri Oct 24, 2008 7:59 pm Post subject: |
|
|
| ... how in the heck did you manage that? |
|
| Back to top |
|
 |
frosted ambassador Expert
Joined: 16 Apr 2008 Posts: 74
|
Posted: Fri Oct 24, 2008 8:10 pm Post subject: |
|
|
I'm incredibly impressed.
Perhaps you could inform us as to how you went about doing this? |
|
| Back to top |
|
 |
Dark Elf Darkest of them all

Joined: 06 Feb 2002 Posts: 7652 Location: Where people wave giant inflatable dildos at hockey games
|
Posted: Fri Oct 24, 2008 8:12 pm Post subject: |
|
|
Are there any noticeable differences in performance? Not that I expect there to be any, but for the poor people out there on low-end machines... _________________ If you can't be a good example, strive to be a horrible warning. |
|
| Back to top |
|
 |
rroyo Alchemistę Metallum Magnus

Joined: 13 Oct 2006 Posts: 2863
|
Posted: Sat Oct 25, 2008 12:00 am Post subject: |
|
|
What the four posters above me said.
Nice work! _________________ If you can't go through a problem, go over it, under it, or around it. |
|
| Back to top |
|
 |
Hans Maulwurf Journeyman

Joined: 08 Jan 2008 Posts: 37
|
Posted: Sat Oct 25, 2008 8:19 pm Post subject: |
|
|
| Looks absolutely amazing. |
|
| Back to top |
|
 |
Arthgon Vault Survivor

Joined: 30 Dec 2007 Posts: 1100 Location: Fryslan
|
Posted: Sun Oct 26, 2008 3:03 pm Post subject: |
|
|
Wow...very good work. _________________ Ash: [talking to mirror] I'm fine... I'm fine...
[Mirror Ash jumps out of the mirror and grabs Ash]
Mirror Ash: I don't think so. We just cut up our girlfriend with a chainsaw. Does that sound "fine"?
| Quote: | | "Me Grimlock no bozo! Me KING!" |
 |
|
| Back to top |
|
 |
GrimmHatter Vault Survivor

Joined: 27 Dec 2006 Posts: 1117 Location: Down by the campfire light with the ghost of old Tom Joad
|
Posted: Mon Oct 27, 2008 7:42 am Post subject: |
|
|
It does give them a nice, polished look, especially the sprites of light sources in dark environments.
[Offtopic] I just noticed...is Drog's avatar the bartender from Bloodlines?[/Offtopic] _________________
...being a robot is great and all, but we don't have any emotions and sometimes that makes me very sad. |
|
| Back to top |
|
 |
FourHorsemen Water Merchant

Joined: 12 Jan 2004 Posts: 561
|
Posted: Mon Oct 27, 2008 1:57 pm Post subject: |
|
|
| One word: DAMM! |
|
| Back to top |
|
 |
magikot Water Merchant

Joined: 29 Aug 2003 Posts: 602
|
Posted: Mon Oct 27, 2008 4:10 pm Post subject: |
|
|
| GrimmHatter wrote: |
[Offtopic] I just noticed...is Drog's avatar the bartender from Bloodlines?[/Offtopic] |
I've always thought so. |
|
| Back to top |
|
 |
Dark Elf Darkest of them all

Joined: 06 Feb 2002 Posts: 7652 Location: Where people wave giant inflatable dildos at hockey games
|
Posted: Mon Oct 27, 2008 5:20 pm Post subject: |
|
|
Yup, that's the fat, ugly vampire at the Asylum. _________________ If you can't be a good example, strive to be a horrible warning. |
|
| Back to top |
|
 |
Dirtman Lord

Joined: 24 Dec 2007 Posts: 305 Location: me was going Bwackroooot
|
Posted: Mon Oct 27, 2008 5:54 pm Post subject: |
|
|
Damned Bloodlines and their bugs. It never worked properly for me. Laggy 'n' shit! _________________ and when I reach the other side
I'll find a place to rest my spirit if I can
perhaps I may become a highwayman again
or I may simply be a single drop of rain
but I will remain |
|
| Back to top |
|
 |
Dark Elf Darkest of them all

Joined: 06 Feb 2002 Posts: 7652 Location: Where people wave giant inflatable dildos at hockey games
|
Posted: Mon Oct 27, 2008 5:59 pm Post subject: |
|
|
The only problem I've ever had with Bloodlines is the ridiculous black screen you get if you're above 60 hz. Have you installed the patch? _________________ If you can't be a good example, strive to be a horrible warning. |
|
| Back to top |
|
 |
Dirtman Lord

Joined: 24 Dec 2007 Posts: 305 Location: me was going Bwackroooot
|
Posted: Mon Oct 27, 2008 6:31 pm Post subject: |
|
|
| Dark Elf wrote: | | The only problem I've ever had with Bloodlines is the ridiculous black screen you get if you're above 60 hz. Have you installed the patch? |
Never got the black screen. I've installed the patch. I've even installed the unofficial patches. I never got very far, since it was even worse on my old PC, which I had a couple of years ago when I bought the game. And even that one exceeded some of the requirements.
Trying every tweak and advice posted on the internet, I've managed to reduce the lag, but it still annoys the shit out of me.
I'm planning on buying a new PC this winter, maybe ridiculously new technology like Quad core processors will be able to handle it, but I doubt it.
A question for all of you native English speakers... Is the phrase planning on buying a correct and existing phrase in the language? I've written it a few sentences back, but since my English is degenerating rapidly from not speaking it, I'm generally insecure in my knowledge of English grammar. _________________ and when I reach the other side
I'll find a place to rest my spirit if I can
perhaps I may become a highwayman again
or I may simply be a single drop of rain
but I will remain |
|
| Back to top |
|
 |
Drog Black Tooth Guest
|
Posted: Mon Oct 27, 2008 6:34 pm Post subject: |
|
|
| Please stay on topic. |
|
| Back to top |
|
 |
Dirtman Lord

Joined: 24 Dec 2007 Posts: 305 Location: me was going Bwackroooot
|
Posted: Tue Oct 28, 2008 8:58 am Post subject: |
|
|
Sorry, got carried away.  _________________ and when I reach the other side
I'll find a place to rest my spirit if I can
perhaps I may become a highwayman again
or I may simply be a single drop of rain
but I will remain |
|
| Back to top |
|
 |
Peter Quincy Death Claw

Joined: 12 Dec 2002 Posts: 825 Location: A cold, high place.
|
Posted: Wed Oct 29, 2008 1:54 am Post subject: |
|
|
Thanks for the continuing improvements, Mr Black Tooth. Am I the only one who thinks the new townmaps now look like the sims 1's neighborhood veiw? _________________ Does the walker choose the path, or the path the walker? |
|
| Back to top |
|
 |
krille Journeyman

Joined: 01 Oct 2008 Posts: 29
|
Posted: Wed Oct 29, 2008 3:27 pm Post subject: |
|
|
Thanks for spoiling Bloodlines for me guys. Appreciated.
These textures, while much less intense (which means so much easier on the eyes and the brain), the bilinear filtering looks really blurry and dull, almost sterile. Hmm... have you tried trilinear filtering, using the as original map as the second mip map? Might make it appear slightly sharper (worth a try at least). Or maybe not. In fact, unless you're into graphics yourself, Drog, I think you should pick up Frigo on his offer. Maybe he's got suggestions on a sharper and better filtering method? Don't you, Frigo?
Still, splendid work as usual Drog! Were you in any way affiliated with Troika or the (official) development of Arcanum at any time?
Frigo, I can nothing but agree with your avatar. These are worrying times, the future even more. |
|
| Back to top |
|
 |
Frigo Never in doubt

Joined: 21 Jan 2006 Posts: 1827 Location: European Union
|
Posted: Thu Oct 30, 2008 7:52 pm Post subject: |
|
|
I don't know what program Drog used, but most of them are bugged in some way or other, so I think those artifacts were the result of these bugs, not the properties of the filters themselves.
Irfanview, for example, has a COMPLETELY bugged Lanczos downsampling algorithm that's more like nearest neighbor filtering. Especially visible with sharp, small-scale contrasts (I've noticed it at the clothes of the "barbara" image). Probably the result of the miscalculation of the filter radius or the inverse projected boundaries.
Photofiltre shrinks and darkens resized images, probably the result of faulty coordinate calculations, and neglecting the division by the sum of the sampled values of the filter.
Xnview was doing fine as far as I've tested it.
Paint Shop Pro is also bugged as I hear, taking random noise from outside of the boundaries of the image.
I usually use Lanczos, and "sink", my own FFT-derived filter, with a filter radius of 3.0. They're general use, medium speed, sharp, and their artifacts are noticable only in extreme conditions, like in the case of long filter radius, high upsampling ratio, or excessive edges.
If Drog provides me an example image he had trouble with (preferably in 24 bit PNG), I can show the results of the various resizing filters, and give him a simple resizer program he can use. _________________ http://www.thereligionofpeace.com/
http://www.unwatch.org/site/apps/nl/content2.asp?c=bdKKISNqEmG&b=1313923&ct=3698367
" It is better to die with a sword in your hands, than a chain over your wings. "
"Our many problems with Islam cannot be explained by poverty, repression or the European colonial past, as the Left claims. Nor does it have anything to do with Palestinians or American troops in Iraq. The problem is Islam itself."
"Individual Moslems may show splendid qualities, but the influence of the religion paralyzes the social development of those who follow it. No stronger retrograde force exists in the world." -- Sir Winston Churchill |
|
| Back to top |
|
 |
Drog Black Tooth Guest
|
Posted: Thu Oct 30, 2008 9:24 pm Post subject: |
|
|
Townmaps are generated by WorldEd. It takes screenshots of a map in small chunks, each being 256x128 pixels. Each chunk is downscaled to 64x32 with nearest neighbor resampling and saved. 8 bit bitmaps are used. That's what the game uses, 64x32 sized 8 bit bitmaps.
To generate high quality townmaps, I made a hacked version of WorldEd that outputs full size pixel perfect (1:1) townmap images, each chunk being 256x128.
This way, all images can be processed with a 3rd party program. These new townmaps were batch converted by Photoshop. Basically, you have to convert each image from indexed to RGB color, then downscale it to 64x32 and convert it back to indexed.
Bilinear was used since it doesn't cause artifacts, e.g. bicubic produces a light outline on an image, and since townmaps consist of small tiles, it would be very noticeable.
I don't really think you can produce much better results than this pack, since sharpening will just distort the original images. But feel free to try. Here's a full size townmap for Qintarra, you can try processing it with your filters. When done, create a 'townmap' folder in your "modules\arcanum" folder and put it there to check the results in-game. |
|
| Back to top |
|
 |
Frigo Never in doubt

Joined: 21 Jan 2006 Posts: 1827 Location: European Union
|
Posted: Thu Oct 30, 2008 10:15 pm Post subject: |
|
|
The 8-bit causes some inconvenience, but I'll give it a try. _________________ http://www.thereligionofpeace.com/
http://www.unwatch.org/site/apps/nl/content2.asp?c=bdKKISNqEmG&b=1313923&ct=3698367
" It is better to die with a sword in your hands, than a chain over your wings. "
"Our many problems with Islam cannot be explained by poverty, repression or the European colonial past, as the Left claims. Nor does it have anything to do with Palestinians or American troops in Iraq. The problem is Islam itself."
"Individual Moslems may show splendid qualities, but the influence of the religion paralyzes the social development of those who follow it. No stronger retrograde force exists in the world." -- Sir Winston Churchill |
|
| Back to top |
|
 |
stylex Expert

Joined: 16 Jul 2008 Posts: 89 Location: Lithuania
|
Posted: Sat Nov 01, 2008 9:59 pm Post subject: |
|
|
Umm...I...WOW!! _________________ What are you looking for here? |
|
| Back to top |
|
 |
|