Tools icon indicating copy to clipboard operation
Tools copied to clipboard

LMU2PNG: Panorama background is scaled improperly

Open jsp4cter opened this issue 1 month ago • 1 comments

The parallax background on generated images is erroneously scaled instead of tiled. This bug was not present in the older, commandline-only version.

320x240 map with 640x480 panorama

Image

Old version behavior, properly cropped

Image

New version behavior, scaled downwards to fit

Image

This issue is particularly egregious on larger maps.

If this functionality is intentional, I suggest making it toggleable.

jsp4cter avatar Nov 02 '25 00:11 jsp4cter

Yeah, needs to be toggleable. The reason I introduced is that in other cases it looks bad when tiling. (e.g. a big sky gradient panorama that was only intend to tile horizontally will show the bright part at bottom again).

At that time I was not sure what other options make sense, scale horizontally/tile vertically checkbox or a select field. For the cli this would IMO need 2 new options.

carstene1ns avatar Nov 02 '25 10:11 carstene1ns