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

Description of UV Generation parameters #46

Closed
JustAndreww opened this issue Feb 4, 2020 · 4 comments
Closed

Description of UV Generation parameters #46

JustAndreww opened this issue Feb 4, 2020 · 4 comments

Comments

@JustAndreww
Copy link

JustAndreww commented Feb 4, 2020

Is there any description available for these options in menu?
image

Is it safe to change these options or should I mostly leave them unchanged?

@jpcy
Copy link
Owner

jpcy commented Feb 4, 2020

There's some documentation in xatlas.h.

The weights, max threshold and max iterations are used by the chart growing algorithm. You would need to understand how it works and it isn't simple to explain. Even then, tweaking the values doesn't radically improve the resulting charts - the defaults are fine.

Mostly the options are there for completeness / testing and shouldn't be changed.

@JustAndreww
Copy link
Author

OK, thanks for the information! That's indeed the hard task to explain how this work :)

@malytomas
Copy link

If I may jump in here, I would like to ask if the max boundary length and max chart area are in pixels or model space? Thanks

@jpcy
Copy link
Owner

jpcy commented Feb 5, 2020

Model space, since they're chart options. PackOptions::maxChartSize is the pixel equivalent of "Max chart area" (except it's a dimension, not an area).

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

3 participants