Animated terrains are flipped

Bug #1532019 reported by kaputtnik
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
widelands
Fix Released
Low
Unassigned

Bug Description

With the last changes animated terrains are flipped. F.e water in old versions roll from left bottom to top right. Now they are rolling from left top to bottom right.

Not a real problem, but the images in terrain menu shows the old angle and the particular images of water have also the old angle.

Attached is a screen shot showing desert water and desert reef (not yet implemented).

Related branches

Revision history for this message
kaputtnik (franku) wrote :
Revision history for this message
kaputtnik (franku) wrote :

Now i found that all terrains are displayed vertically flipped on the map.

Attached is a composition of images, colored areas shows pattern size of 64x64px:

1. Part of a map showing desert mountain4, marked is the area of 64x64px (brown and blue borders)
2. Added the original pattern from file mountain4.png above
3. Added the original pattern, but flipped vertically, on the right

If you look at the red circles in each area (enlarge the image), you will notice an angle of black pixels you could compare.

I don't know if this will cause any confusion to map makers, but for terrain designers it could be confusing.

Revision history for this message
GunChleoc (gunchleoc) wrote :

The recent changes for the texture atlas include a function to convert gl coordinated to map coordinates; my best guess is that the bug is in the conversions functions.

Revision history for this message
SirVer (sirver) wrote :

I think the coordinate conversion is correct, it is more likely a bug in the terrain programs. I'll look into it eventually, but it has a low priority.

Changed in widelands:
assignee: nobody → SirVer (sirver)
status: New → Confirmed
importance: Undecided → Low
milestone: none → build19-rc1
SirVer (sirver)
Changed in widelands:
status: Confirmed → In Progress
SirVer (sirver)
Changed in widelands:
assignee: SirVer (sirver) → nobody
status: In Progress → Fix Committed
GunChleoc (gunchleoc)
Changed in widelands:
status: Fix Committed → Fix Released
Revision history for this message
GunChleoc (gunchleoc) wrote :

Fixed in build19-rc1.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.