Skip to content

Implemented filter Merge Textures#1635

Merged
alemuntoni merged 4 commits intocnr-isti-vclab:develfrom
Sallo97:devel
Feb 3, 2026
Merged

Implemented filter Merge Textures#1635
alemuntoni merged 4 commits intocnr-isti-vclab:develfrom
Sallo97:devel

Conversation

@Sallo97
Copy link

@Sallo97 Sallo97 commented Jan 23, 2026

I propose an implementation for a new simple filter called "Merge Textures": for a given mesh, the filter generates a new one having the original source textures packed into the requested number of destination images.

The user can only request the final number of merged textures in the new mesh, which must be minor or equal than the number of textures in the original model, otherwise the filter fails without doing nothing.

The concrete implementation of the filter is contained in the class 'TexturePacker', present inside the file "src/meshlabplugins/filter_texture/texture_packer.h".

Each instantiation of the class is strictly tied to the associated mesh and set of source textures, meaning each time we apply the filter, a new object must be created.

@alemuntoni alemuntoni merged commit 4ed565a into cnr-isti-vclab:devel Feb 3, 2026
10 checks passed
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

Successfully merging this pull request may close these issues.

2 participants