nexus icon indicating copy to clipboard operation
nexus copied to clipboard

Loss of texture quality after converting .ply + texture to .nxs on large mesh

Open jdcast opened this issue 1 year ago • 1 comments

I'm using a mesh with ~0.5M vertices and ~1M faces. Its texture is ~250MB in size and located in the same directory as the mesh file.

In meshlab I see this: image

Where as in 3DHOP I see this when viewing the .nxs formatted mesh (using nxsbuild tool): image

I would have expected the color chart card and April tag to be more similar between the two views. I assume this difference is due to a loss in texture quality/representation after using the nxsbuild tool. However, I'm not sure where in the pipeline this issue stemming from. Is the resulting .nxs mesh not representing the texture and instead only storing vertex colors perhaps? I've tried fiddling with options in nxsbuild tool to no avail. The command ran for this conversion is: nexus/bin/nxsbuild mesh.ply -o mesh.nxs -c -q 100

jdcast avatar Aug 15 '23 23:08 jdcast

Hi, the most probable cause is parametrization fragmentation. At the moment I am not computing a reparametrization during simplification, so unable to simplify across seams simplification quality and texture quality suffers. You might try to apply the meshlab defragmentation plugin, for better results.If you could send me the meshes (or any pair of meshes with the same.

Reparametrization sooner or later will be implemented.

In the meanwhile if you can share the mesh, I will have a look at it and better investigate the issue.

On Wed, Aug 16, 2023 at 1:22 AM John Cast @.***> wrote:

I'm using a mesh with ~0.5M vertices and ~1M faces. Its texture is ~250MB in size and located in the same directory as the mesh file.

In meshlab I see this: [image: image] https://user-images.githubusercontent.com/2231240/260861867-dfee8372-a31f-473f-abad-e04c04998206.png

Where as in 3DHOP I see this when viewing the .nxs formatted mesh (using nxsbuild tool): [image: image] https://user-images.githubusercontent.com/2231240/260862794-104614bc-f834-4e4d-b061-e36a96d5e617.png

I would have expected the color chart card and April tag to be more similar between the two views. I assume this difference is due to a loss in texture quality/representation after using the nxsbuild tool. However, I'm not sure where in the pipeline this issue stemming from. Is the resulting .nxs mesh not representing the texture and instead only storing vertex colors perhaps? I've tried fiddling with options in nxsbuild tool to no avail. The command ran for this conversion is: nexus/bin/nxsbuild mesh.ply -o mesh.nxs -c -q 100

— Reply to this email directly, view it on GitHub https://github.com/cnr-isti-vclab/nexus/issues/159, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAUDV25LNOHDXQCCQCFMP6LXVQAC3ANCNFSM6AAAAAA3RWUQTQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

ponchio avatar Aug 16 '23 10:08 ponchio