Incorrect rendering of terrain graphics (1.13.10)

Having trouble with the game? Report issues and get help here. Read this first!

Moderators: Forum Moderators, Developers

Forum rules
Before reporting issues in this section, you must read the following topic:

Incorrect rendering of terrain graphics (1.13.10)

Postby inferno8 » November 28th, 2017, 11:56 pm

Hello, I want to report graphical errors in BfW 1.13.10 (10.0.15063).

The game renders terrain images used in [terrain_graphics] tag incorrectly in some cases. I noticed this while porting my add-on to 1.13.x.
tlus01issue5.jpg

I have run some tests and it looks like this issue happens only for images without alpha channel and/or with indexed colors. Adding alpha channel and/or disabling indexed colors fixes all errors but I would like to know if this is intentional (so from now on only images with alpha channel are permitted for usage as terrain graphics) or if this is a bug. These glitches are present on both Windows and Linux machines.

To help others recreate this bug I have prepared a micro-add-on in form of a multiplayer scenario (with all necessary files). I am attaching it here for those who are interested:
Attachments
Multihex_Test.zip
(4.69 MiB) Downloaded 14 times
User avatar
inferno8
Art Contributor
 
Posts: 682
Joined: February 18th, 2008, 5:32 pm
Location: The Abyss

Re: Incorrect rendering of terrain graphics (1.13.10)

Postby Pentarctagon » November 29th, 2017, 12:07 am

Can you check which version of SDL you have? This looks fairly similar to this issue.

Edit - tested with the attached example, and the issue still occurs for me with SDL 2.0.5.
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
User avatar
Pentarctagon
Forum Administrator
 
Posts: 3140
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)


Return to Technical Support

Who is online

Users browsing this forum: Prof_Hari_Seldon and 7 guests