vt-vl-lab / 3d-photo-inpainting

[CVPR 2020] 3D Photography using Context-aware Layered Depth Inpainting
https://shihmengli.github.io/3D-Photo-Inpainting/
Other
6.91k stars 1.11k forks source link

2D Texture instead of Vertex Colours? #77

Open albrrt opened 4 years ago

albrrt commented 4 years ago

Hi, thanks for sharing this amazing work!

Is there a way to bake a 2D texture instead of writing vertex colours in the mesh?

I am trying to visualise 3D photos on mobile devices and I'd like to optimise the mesh because it's often very dense and heavy (~200 MB).

I am thinking that it would be nice to decimate the mesh and UV wrap the 2D texture as it would keep the photographic details whilst reducing the polygon count. Particularly background areas that could be flattened.

I've tried converting vertex colours to 2D texture using MeshLab without success (I have iMac i7 3.5 GHz, 32G RAM, GTX 775M).

Is there a way to implement this at the source, within the program? Or do you have better insights for reducing the polycount?

Thank you for your help