thygate / stable-diffusion-webui-depthmap-script

High Resolution Depth Maps for Stable Diffusion WebUI
MIT License
1.72k stars 159 forks source link

Normals completely wrong when importing PLY into Blender #317

Open albozes opened 1 year ago

albozes commented 1 year ago

image

The normals that come with the generated inpainted mesh go in all directions....This can mostly be mitigated by recalculating, but unfortunate not completely.

thygate commented 1 year ago

no normals are exported with the mesh. For the inpainted mesh all normals should point to camera origin (0,0,0 when imported).