Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Runtime texture loader implementation #5

Open
elect-gombe opened this issue Mar 14, 2019 · 1 comment
Open

Runtime texture loader implementation #5

elect-gombe opened this issue Mar 14, 2019 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@elect-gombe
Copy link
Owner

elect-gombe commented Mar 14, 2019

Part of #4

Implement texture loader.

Considering image file format

  • bmp (without alpha channel, transparent color?)
  • png (Complessed)
    • without alpha channel
    • with alpha channel and implement alpha test.

Alpha channel support needs implementation of png or bmp with transparent color, and alpha test for no conflict with other polygons.

Algorithm

  1. Test z value, whether the pixel is beyond this model?
  2. Test texture alpha channel whether if it is transparent or not?
  3. then, write back the z value.
@elect-gombe elect-gombe added enhancement New feature or request help wanted Extra attention is needed labels Mar 14, 2019
elect-gombe added a commit that referenced this issue Mar 14, 2019
support bmp files
@elect-gombe
Copy link
Owner Author

solved. it was bit field problem.

elect-gombe added a commit that referenced this issue Mar 15, 2019
elect-gombe added a commit that referenced this issue Mar 15, 2019
elect-gombe added a commit that referenced this issue Mar 18, 2019
fix minor errors
 - fix knee detector
 - fix vmd loader

change file io functions to easy to fit FatFs

make model and motion file flexibly loadable.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant