Giter Site home page Giter Site logo

Comments (6)

Tyulis avatar Tyulis commented on June 14, 2024 1

Yep, poor kitty. Another problem in BFLIMs. That's at least the fourth like that. I'll try to determine what it is. And for the first bug, it should be fixed in my next commit. Another time, thanks for help!

from 3dskit.

Tyulis avatar Tyulis commented on June 14, 2024

Problem found! Unlike the Kirby's one, the cat's frame has not a multiple of 8 width, so the last 8x8 tile of each line is not properly processed. Now, it only remains to find where the problem comes from...

from 3dskit.

Tyulis avatar Tyulis commented on June 14, 2024

I lazily avoided the problem by adding a few pixels to the image to get a multiple of 8 pixels widths. Now it should work better. This cat is saved!

from 3dskit.

hlixed avatar hlixed commented on June 14, 2024

Ha, I had just discovered that this produces a glitchy mess only when either the width or height of the input image isn't a multiple of 8, and came here to report it. Glad to see you found it first! It might be worth printing a message such as "Texture dimensions not a multiple of 8, padding to nearest multiple" just to inform the users what's going on.
Thanks for saving the cat!

from 3dskit.

hlixed avatar hlixed commented on June 14, 2024

I'm not sure this really solves the problem, though, because there are bflims in USUM that contain non-multiple-of-8 sizes, such as 180x300. They extract fine, so clearly they're valid, and they had to have been created somehow. It probably works for now, but it's still worth figuring out how the standard works for non-8-multiple images IMO.

from 3dskit.

Tyulis avatar Tyulis commented on June 14, 2024

I have not fixed the problem, it's an hacky workaround - if I really find the problem someday, I'll try to fix it, but i searched 2 hours long and i didn't find the bug.

from 3dskit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.