Is there a bilinear filtering bug in 0.10.0?

HymloeHymloe Member Posts: 1,653
edited October 2012 in Working with GS (Mac)
I'm getting a thin black line at the edges of my tile art.

Is this a bilinear filtering bug in Game Salad 0.10.0?

It looks like it to me.

I just upgraded, and what was working fine in 0.9.94 now has a thin black or grey line along the edge of my tiles when resizing the actor smaller or larger than it's actual pixel size.

Which often results from a bilinear filtering bug that samples off the edge of the image when resizing.

Anyone know a fix? Is this a known bug to be address in the next Game Salad?

- Murray

Comments

  • HymloeHymloe Member Posts: 1,653
    It's happening on the iOS Viewer, to clarify. Do other people get this?

    I think I might be scaling my tiles to be uneven numbers in width and height, perhaps that's causing the problem?
  • HymloeHymloe Member Posts: 1,653
    As I would zoom in and out of my tiles, the actor would be 128 pixels, then 61 pixels, then 31 pixels, for example.

    So I've made it so that they're always an even number, and the black line along the edge of the actors has gone away.
  • HymloeHymloe Member Posts: 1,653
    edited October 2012
    Woop, nope! Works OK on iPad 2. But on iPod Touch 3 and 4, there think black lines are still there, in abundance. Oh dear.

    Might have found a solution. I think if I floor() their PosX,Y coordinates, the black lines go away.
  • HymloeHymloe Member Posts: 1,653
    edited October 2012
    I've still got a few issues with the black lines. I seem to be able to minimise them by trying to make all tiles have an X,Y position than is an even number, even when divided by two, and the width and height of the tiles also to be an even number when divided by two.

    And by extended the size of the tiles so they overlap a lot. (I think the black lines are actually still there, I'm just covering them up with a series of rather annoying and un-optimal workarounds).

    I think there's a bilinear filtering bug behind it all that should be looked into.

  • HymloeHymloe Member Posts: 1,653
    On the Mac Viewer, it all looks great, all the time, with just a 1 pixel overlap for the tiles.

    On the iOS Viewer (on iPod Touch 3 and 4), I have to increase the overlap to 4 pixels (at which point the images are obscuring each other quite a bit). And there's still one black line I can't hide...

    PS: My project is not Resolution Independent.


  • HymloeHymloe Member Posts: 1,653
    I've sent in a bug about this through the official channel. And I believe this is the same problem that people are having over here... although they're experiencing it on the Mac Desktop platform there...

    http://forums.gamesalad.com/discussion/48825/really-bad-tiling-problem-with-mac-apps
Sign In or Register to comment.