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

Warning when whitespace stripping with meshes #7

Closed
NathanSweet opened this issue May 30, 2016 · 4 comments
Closed

Warning when whitespace stripping with meshes #7

NathanSweet opened this issue May 30, 2016 · 4 comments

Comments

@NathanSweet
Copy link
Member

No description provided.

@pharan
Copy link

pharan commented Aug 18, 2016

@pharan
Copy link

pharan commented Aug 18, 2016

Putting old ideas here:
SHOW A WARNING

  • Spine detects untrimmed images, regardless of them being used as meshes. Show a warning. and/or...
  • Spine detects detect untrimmed images the moment they are used with meshes. Show a warning. and/or...
  • Spine detects untrimmed images among used images when the project is loaded. Show a warning as a toast. and/or...
  • The detection has a sensitivity. 40px default?

or?

SPINE GENERATES CROPPING RECTANGLES

  • Spine generates cropping rectangles equivalent to how the images would end up if whitespace-stripped.
  • The cropping rectangles account for mesh UVs. Always keep the rectangles big enough so the UVs fit in them.
  • Allow the Texture Packer to receive and use these cropping rectangles as information for it to pack the images as atlas regions.

@pharan
Copy link

pharan commented Jan 14, 2017

@NathanSweet
Copy link
Member Author

3.6.01-beta has a warning when using Create atlas with data export and the project has a mesh. Nothing can be done if running the texture packer on an arbitrary folder of images.

In the future we should allow polygons to be packed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants