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

Function usage method #16

Open
qwerasdfzxcvqs opened this issue Apr 3, 2024 · 3 comments
Open

Function usage method #16

qwerasdfzxcvqs opened this issue Apr 3, 2024 · 3 comments

Comments

@qwerasdfzxcvqs
Copy link

Can you tell me how to use Graphite to create such a texture arrangement?
ec10fb7265ff67f7c396f1865642de57

@BrunoLevy
Copy link
Owner

Sure ! An image is worth 1000 words (and an animation is worth 24000 words per second !):
GraphiteMakeAtlas

@qwerasdfzxcvqs
Copy link
Author

Ok,thank you very much.And I have another question, can the pixel size of the texture arrangement map generated by permutation be specified, or can it be set to be arranged on multiple maps?

@BrunoLevy
Copy link
Owner

  • there is no option to generate multiple textures from a single object. But you can separate your object into multiple parts, and generate a texture for each part, then merge the parts together.
  • all texture coordinates are between 0 and 1. There is no such a thing as 'pixel size' at this step of the process.
  • for now, all textures are supposed to be square. There may be some options in the xatlas library that I'm using for specifying rectangle textures.

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

No branches or pull requests

2 participants