Author Topic: Terrain Editor Bug  (Read 376 times)

Offline Baumer

  • Silver Member
  • ****
  • Posts: 1739
      • 332nd Flying Mongrels
Terrain Editor Bug
« on: September 07, 2010, 10:34:38 PM »
I was working on some custom textures and ran across an interesting issue. I was working on correctly scaled textures, and noticed that when you transition from dry to wet the textures are not square under water.

So I made a custom texture to illustrate the problem, this is an indexed 1024 bitmap. It is edged in a single pixel of pink with a blue cross in the center (to delineate 1 mile boxes).

http://332nd.org/dogs/baumer/TerrStuff/ntt0002.bmp

On land everything looks fine but when this is panted under water it gets compressed in the North-South direction.



I'm not 100% sure this is a bug (thought it might have to do with how the water works) but I wanted to pass it along.

<S> Baumer
HTC Please show the blue planes some love!
F4F-4, FM2, SBD-5, TBM-3

Offline MachNix

  • Nickel Member
  • ***
  • Posts: 644
Re: Terrain Editor Bug
« Reply #1 on: September 08, 2010, 03:52:37 PM »
The water tile is not compressed but offset by 50 px in the vertical.

If using Photoshop, go Filter > Other > Offset and select:

Horizontal: 0
Vertical: -50
Check Wrap Around

And the water tile will then line up with the land tile.

It still could be a bug though.

Offline Baumer

  • Silver Member
  • ****
  • Posts: 1739
      • 332nd Flying Mongrels
Re: Terrain Editor Bug
« Reply #2 on: September 09, 2010, 07:50:03 AM »
Thanks MachNix, I found a similar function in GIMP to do the offset.
HTC Please show the blue planes some love!
F4F-4, FM2, SBD-5, TBM-3