SRL Archive - Bugs

FloodFillTPA Doesn't Work?


TomTuff

2011-04-02 15:33:33

I don't think FloodFillTPA works properly.

Here's an image of the TPA of the black outline on a raw lobster:
http://i.imgur.com/nIt4y.png

And Here's an image of the ATPA after being ran through FloodFillTPA:
http://i.imgur.com/9OleP.png

Shouldn't it be 1 big lobster shaped block of green pixels?

PS: I used the functions in Debug.scar to get those images for those wondering.

Ogre

2011-04-02 16:09:20

No, I think that did what it's supposed to, it's like pressing fill with the paint bucket on ms paint.

This may be of interest to you.

Gu3st...

2011-04-02 18:33:42

If you want to fill the inside of the of the lobster (no nasty thoughs now…) you can turn the tpa into a bitmap and use FloodFillBitmap(); instead :)