viser icon indicating copy to clipboard operation
viser copied to clipboard

the mesh in viser was dark in some places.

Open Ice-Tear opened this issue 1 year ago • 1 comments

Thanks for the great library. I loaded a mesh model into viser, but it was dark in some places, which prevented me from seeing the geometric details. In viser: QQ截图20240311141015 In meshlab: image How should I fix this.

Ice-Tear avatar Mar 11 '24 06:03 Ice-Tear

Hi, thanks for filing this issue!

Unfortunately lighting control is very limited right now.

Some possible short-term fixes:

  • Re-orienting your model could help!
  • Something like server.set_up_direction("+y") can also help; it'll reorient the global scene lights.
  • You could modify the code directly to add more lights, for example: https://github.com/nerfstudio-project/viser/commit/8655441442a0b0a16f627ad91018948a7a0f7ab7

brentyi avatar Mar 11 '24 16:03 brentyi

Closing in favor of #264

brentyi avatar Aug 14 '24 22:08 brentyi