News:

Simutrans Sites
Know our official sites. Find tools and resources for Simutrans.

double height textures bug at 192 size

Started by Leartin, May 17, 2014, 06:41:56 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Leartin

I tried to implement double heights in pak192.comic. Everything worked fine, except that slopes which are two levels high use the wrong climate texture at the top (left side of the attached image).
The wrong climate is always that which is one step lower (eg. for sand, it's water, for tropical it's sand - unless one of these climates are not used upon map generation, in that case they are just skipped)

Because the old climate textures had a 32px broad stripe of background color in the top, I figured that would be the reason and tried to use new climate texture (removed that stripe, so each square is full of texture). The result, however, is really strange, because now the same wrong climate texture appears at the bottom of each tile (right side of attached image)

Because the water is a unidentifieable pixel-garbage (and there is no texture lower then water), it looks like an "overflow error", as if there is just too little texture available and whatever is saved next is used, so it might be because of the high 192px size.

Sources of what I tried to use. The used makeobj was 55.3 for windows, Version r7191 and the RC (windows, GDI) both showed the same bug.

Leartin

I played around a bit:
It works perfectly fine with half heights if the climate image stays the same (with the transparent stripe on the top), but not if it is changed.

Dwachs

Parsley, sage, rosemary, and maggikraut.