mvs-texturing icon indicating copy to clipboard operation
mvs-texturing copied to clipboard

Is it possible create only one .jpg texture file?

Open cogitas3d opened this issue 5 years ago • 1 comments

Hey there!

I develop an Blender based addon to surgical planning and facial prosthesis modeling and the system use displacement map to create surface details to be printed in 3D.

I solve the problem of multiple jpeg files duplicating the mesh and project the texture on a new UV map. All worjs well when I use -s3 to reconstruct the mesh on fsrecon, but when I use raw (without -s) the mesh only project texture in strong computers with i9 processor and doesnt works on i7 processors on notebook, for example.

If MVS-Texture could create only one texture file this problem could be fixed. Is it possible?

Thank you!

cogitas3d avatar Jan 06 '21 01:01 cogitas3d

There is a heuristic that tries to minimize the total amount of pixels in all texture atlases, this heuristic can be modified to favor the creation of a single atlas even if there are more unused pixels. https://github.com/nmoehrle/mvs-texturing/blob/e471b115bf0da337a19bf0e36e1b8177de363515/libs/tex/generate_texture_atlases.cpp#L36.

nmoehrle avatar Jun 03 '21 08:06 nmoehrle