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

what does ‘packmesh’ mean? #4223

Open
1358361259 opened this issue Mar 1, 2025 · 2 comments
Open

what does ‘packmesh’ mean? #4223

1358361259 opened this issue Mar 1, 2025 · 2 comments
Assignees

Comments

@1358361259
Copy link

Hello everyone,

I came across the pack operation while working with meshes, but I'm not entirely sure what it does.
Could someone explain its purpose? How does it influence the final mesh generation?

I would really appreciate any examples or references.

Thanks in advance for your help! 🙏

Image

@1358361259 1358361259 changed the title what dose ‘packmesh’ mean? what does ‘packmesh’ mean? Mar 1, 2025
@Fedr
Copy link
Contributor

Fedr commented Mar 1, 2025

Hello,

Mesh contains array of edges, triangles and vertices. Some array elements may be unused (contain deleted items) after some operations like decimation/simplification and others. Mesh packing eliminates all unused elements and reduces the size of mesh in memory, but the IDs of existing elements are changed during packing, so it is not always desirable to do. That is why we have a option in remesh whether to perform packing or not.

@Fedr Fedr self-assigned this Mar 1, 2025
@1358361259
Copy link
Author

Thank you for your reply. I look forward to more detailed documentation for meshlib, as it is the fastest and most effective mesh processing library I have encountered.

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