Weird hex optics

This is meant for reports dealing with issues only on the scenario/unit data and map data.

Moderator: Joel Billings

Post Reply
User avatar
Wiedrock
Posts: 2134
Joined: Tue Oct 11, 2022 7:44 pm
Location: Germany

Weird hex optics

Post by Wiedrock »

While taking screenshots for a new planning map I encountered some weird looking hex optics/looks, it's not gamebreaking but I guess it's somewhat still a "Map Issue". Maybe the colours have been done this way due to RL sea depths, who knows.
See the Screens for some examples.
Attachments
82-22_nor-sea.png
82-22_nor-sea.png (173.99 KiB) Viewed 1536 times
104_2xbaltic.png
104_2xbaltic.png (185.18 KiB) Viewed 1536 times
232-286.png
232-286.png (69.1 KiB) Viewed 1536 times
Denniss
Posts: 9324
Joined: Thu Jan 10, 2002 10:00 am
Location: Germany, Hannover (region)

Re: Weird hex optics

Post by Denniss »

it looks like they have their shades reversed, they would match if flipped
Denniss
Posts: 9324
Joined: Thu Jan 10, 2002 10:00 am
Location: Germany, Hannover (region)

Re: Weird hex optics

Post by Denniss »

Found more, working on it
User avatar
Wiedrock
Posts: 2134
Joined: Tue Oct 11, 2022 7:44 pm
Location: Germany

Re: Weird hex optics

Post by Wiedrock »

During Summer/turned off Ground weather it looks okay, but during snow it's little weird.
Attachments
hex_kiev.png
hex_kiev.png (240.65 KiB) Viewed 1377 times
Jace11
Posts: 106
Joined: Thu Aug 23, 2012 4:29 pm

Re: Weird hex optics

Post by Jace11 »

Wiedrock wrote: Sun Oct 22, 2023 9:55 am During Summer/turned off Ground weather it looks okay, but during snow it's little weird.
Have a looks at coastlines during those snow and winter conditions. I figured out what’s causing it, I even have a fix, but it means replacing every tile texture in the game. Basically the game is not reading the tiles correctly when it comes to weather effects. There is a misalignment by a pixel here and there, the normal map conditions are rendered correctly, but as you move through the various seasonal map tiles, a cumulative error occurs so on winter and snow tiles this becomes more noticeable and tiles are drawn several pixels out of alignment.

This creates all these artefacts. I wrote a photoshop script to batch fix it, but it’s better if they fix it in the code really.

At the bottom is the hex in your screenshot (nw of borodyanka): heavywoods 63 notice how the original snow tile (bottom row) is cut off at the edge when read in discreet 72 pixel chunks (marked by purple grid). The tiles are unfortunately in the wrong format 72 + 1 spacer pixel... so by the 5th tile you graphic is out of alignment by 4 pixels...
Untitled-1.jpg
Untitled-1.jpg (284.92 KiB) Viewed 1360 times
Attachments
Untitled-2.jpg
Untitled-2.jpg (576.86 KiB) Viewed 1347 times
Last edited by Jace11 on Sun Oct 22, 2023 11:39 am, edited 1 time in total.
Jace11
Posts: 106
Joined: Thu Aug 23, 2012 4:29 pm

Re: Weird hex optics

Post by Jace11 »

Here is a fix for this that I made a month or two ago,
https://www.mediafire.com/file/wr98q2lu ... x.rar/file
try it and see, back up your entire "tiles" folder in DAT/ART/
then copy it in.
note: contains a modded tile for german capital CUSTOM_201.tga, original is there also with _Alt suffix, just swap them.
User avatar
Wiedrock
Posts: 2134
Joined: Tue Oct 11, 2022 7:44 pm
Location: Germany

Re: Weird hex optics

Post by Wiedrock »

weird coastal "Heavy Snow" graphics.
Attachments
weird_hexes.png
weird_hexes.png (690.1 KiB) Viewed 1286 times
User avatar
Wiedrock
Posts: 2134
Joined: Tue Oct 11, 2022 7:44 pm
Location: Germany

Re: Weird hex optics

Post by Wiedrock »

Jace11 wrote: Sun Oct 22, 2023 10:48 am Have a looks at coastlines during those snow and winter conditions. I figured out what’s causing it, I even have a fix, but it means replacing every tile texture in the game. Basically the game is not reading the tiles correctly when it comes to weather effects. There is a misalignment by a pixel here and there, the normal map conditions are rendered correctly, but as you move through the various seasonal map tiles, a cumulative error occurs so on winter and snow tiles this becomes more noticeable and tiles are drawn several pixels out of alignment.

This creates all these artefacts. I wrote a photoshop script to batch fix it, but it’s better if they fix it in the code really.

At the bottom is the hex in your screenshot (nw of borodyanka): heavywoods 63 notice how the original snow tile (bottom row) is cut off at the edge when read in discreet 72 pixel chunks (marked by purple grid). The tiles are unfortunately in the wrong format 72 + 1 spacer pixel... so by the 5th tile you graphic is out of alignment by 4 pixels...
Yes you are totally right their images are just all shifted by several Pixels.
Jace11 wrote: Sun Oct 22, 2023 11:13 am Here is a fix for this that I made a month or two ago,
https://www.mediafire.com/file/wr98q2lu ... x.rar/file
try it and see, back up your entire "tiles" folder in DAT/ART/
then copy it in.
Thanks, you fixed also the new issue I've found. Added your mod to my "New Game Install copy-paste mod folder" great work! Did you finish your work there (reworked all graphics already) or shall I look out for more issues and report them to you?
Jace11 wrote: Sun Oct 22, 2023 11:13 am note: contains a modded tile for german capital CUSTOM_201.tga, original is there also with _Alt suffix, just swap them.
Heeeelp, my German eyes!!! I feel the urgent need to start marching all of the sudden!!! :mrgreen:
User avatar
thek3mu
Posts: 92
Joined: Fri Feb 14, 2025 5:53 am
Contact:

Re: Weird hex optics

Post by thek3mu »

Jace11 wrote: Sun Oct 22, 2023 11:13 am Here is a fix for this that I made a month or two ago,
https://www.mediafire.com/file/wr98q2lu ... x.rar/file
try it and see, back up your entire "tiles" folder in DAT/ART/
then copy it in.
note: contains a modded tile for german capital CUSTOM_201.tga, original is there also with _Alt suffix, just swap them.
this is gold ... for my old eyes. thanks a lot, man! :)
So muss man erst mal machen können.
-- complicated moves fanboy
Post Reply

Return to “Scenario Data / Map Issues”