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

Textured mesh not displaying texture #194

Open
jwingnut opened this issue Mar 24, 2017 · 6 comments
Open

Textured mesh not displaying texture #194

jwingnut opened this issue Mar 24, 2017 · 6 comments

Comments

@jwingnut
Copy link

Specifications like the version of the project, operating system, and hardware

I used the script to reconstruct a scene, openMVV and openMVS pipelines, but I cannot view the textured mesh. There seem to be some issues with the png.

Steps to reproduce the problem

I've included a link to the files:
https://drive.google.com/open?id=0Bwy27kjg_aw5SXVGMEN6ZlY1dUk

@cdcseacave
Copy link
Owner

What is the mysterious "issue" with the PNG? Can you describe it? The link does not work.

@pmoulon
Copy link
Contributor

pmoulon commented Mar 24, 2017

Perhaps the PNG is too big to be opened by your viewing software. You can try to resize it and save it to JPG. Or use the resolution-level option in TextureMesh in order to create a smaller texture.

@jwingnut
Copy link
Author

jwingnut commented Mar 24, 2017

I gave access to @pmoulon I did not see that @cdcseacave requested access.

Yes perhaps filesize is the issue, 650MB png. I tried with both CloudCompare and Mesh lab.

I will try as pmoulon suggests and reduce the size with TextureMesh and update on Monday.

Thank you both for your input.

@pmoulon
Copy link
Contributor

pmoulon commented Mar 24, 2017

You can also downsize the texture and see if it works (perhaps it will be a faster test).

@pmoulon
Copy link
Contributor

pmoulon commented Mar 24, 2017

I tried to downsize the texture and it works.
BTW, we clearly see that in this case the texture ATLAS size is not optimal, there is too much space that is empty. I clearly think that a ALTAS that is third of the size could be sufficient.
Smaller image (easier to be loaded by 3rd party softwares), still the same content ;-)

@cdcseacave
Copy link
Owner

Since I can not access the sample, I can only confirm what Pierre notices, the size of the texture might be a problem for certain rendering software (or even the GPU); there are many ways to deal with this, one is to downscale the PNG, an other is to optimize the texture atlas, but the best is to divide the texture in multiple sub-textures. This is easy to do, but unfortunately no time on my side for now.

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