-
Notifications
You must be signed in to change notification settings - Fork 147
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
Gutter usage #46
Comments
See the wiki:
|
I saw the wiki, but I wrote here as that is not enough. So now it is clear this is an issue and not a misunderstanding. How is anybody able to add any extra pixels around the charts (for bilinear interpolation, etc) if they extend to the image limits??? The gutter should be between charts but ALSO between charts and the image limits! the only option now is to give you a smaller image resolution, and after your lib to shift all texture coordinates!!! Possible, but not too smart, right? |
And after looking into the code trying to fix it myself, it turns out even the documentation is wrong, 2 mistakes:
|
Great library, it works as I was hopping, thank you.
I am not sure if it's an issue or simply I do not know how to use it: I expect by setting the
gutter
parameter for ex to 2, that the atlas packing reserves an extra border of 2 pixels thickness around each chart. However when I draw the texture using the computeduv
coordinates the charts are using the entire space (touche the limits of the image) without letting any space for me to fill in with the border pixels.I feel I am missing something fundamental here, pls help.
The text was updated successfully, but these errors were encountered: