plotly figure for visualizing a mesh

Summary:
Visualize a mesh in a plotly figure.
- customize lighting and light position
- customizable axis arguments (x, y, z)
- customizable height and width of plotly figure
- render batches of meshes in subplots or in a singular plot

Reviewed By: nikhilaravi

Differential Revision: D22611960

fbshipit-source-id: 5dc5c55e599d5b0d9c38f22e156c662654099e11
This commit is contained in:
Amitav Baruah
2020-10-01 16:47:41 -07:00
committed by Facebook GitHub Bot
parent 8219a52ccc
commit 8b6310359f
3 changed files with 207 additions and 1 deletions

View File

@@ -34,12 +34,13 @@ For developing on top of PyTorch3D or contributing, you will need to run the lin
- tdqm
- jupyter
- imageio
- plotly
These can be installed by running:
```
# Demos
conda install jupyter
pip install scikit-image matplotlib imageio
pip install scikit-image matplotlib imageio plotly
# Tests/Linting
pip install black 'isort<5' flake8 flake8-bugbear flake8-comprehensions