View Single Post
  #847  
Old October 14th, 2004, 02:10 AM
LintMan's Avatar

LintMan LintMan is offline
Sergeant
 
Join Date: Oct 2000
Posts: 295
Thanks: 0
Thanked 0 Times in 0 Posts
LintMan is on a distinguished road
Default Map display glitches

There seems to be a glitch in the way maps are being displayed, in which certain rows and columns of pixels that are part of the map's .tga file, are not being displayed by Dom2. It seems to be 1-2 pixels thick line is not being drawn. I have spotted this in both random generated maps (it's pretty easy to spot there, since they have a lot of detail), and in hand-done maps, including Aran, Cradle, Orania and Parganos.

The easiest way I found to spot this is while running in windowed mode (not full-screen), start zooming out. You will then start to see some very thin black lines in some places forming a (partial) grid. The lines are not always visible, and might flicker in/out as you zoom, but they are part of the map, and move with the map, if you move the map around. They are also constant in the same spots for the same map, whether in full screen or window, or resize the window, or exit the game and then restart/reload.

Next, pick a spot where one of those lines crosses a detailed map background element (ie: a mountain range drawn on the map), and start zooming in on that exact spot. Once you've zoomed in the maximum amount, the disjoint where the missing pixels were should be visible.

If you open the map's .tga files in GIMP or Photoshop and examine the same locations, you will see that there is no disjoint and that the map as displayed by Dom2 is missing a few pixels.

To illustrate the problem, I have created a screen capture from my game on Cradle showing the disjoint, and cropped a similar area from the actual cradle.tga file and enlarged it to similar size for comparison. I will try to upload the pictures here but have had problems with uploads so we'll see if this works.

I tried turning off the filtering in the video settings, but it did not fix the problem. I would suspect it's something with my video card driver, but I actually originally discovered this problem because Gandalf sent me a random map that he thought was slightly broken because the missing pixel column(s) deleted part of a province border, and he thought it was a DomMap problem. (But the border was fine viewing the .tga in GIMP or Photoshop) Further, we both saw the missing line of pixels in essentially the same spot.

I can provide further examples or duplication info if it will help...
Attached Images
File Type: jpg 302985-Dom2mapglitch.jpg (270.6 KB, 266 views)
Reply With Quote