GraphiteThree icon indicating copy to clipboard operation
GraphiteThree copied to clipboard

Function usage method

Open qwerasdfzxcvqs opened this issue 1 year ago • 3 comments

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

qwerasdfzxcvqs avatar Apr 03 '24 06:04 qwerasdfzxcvqs

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

BrunoLevy avatar Apr 03 '24 15:04 BrunoLevy

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?

qwerasdfzxcvqs avatar Apr 07 '24 02:04 qwerasdfzxcvqs

  • 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.

BrunoLevy avatar Apr 07 '24 15:04 BrunoLevy