Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: Lets a K=1 textures atlas be viewed in plotly. Fixes #916 . Test: Now get colored faces in ``` import torch from pytorch3d.utils import ico_sphere from pytorch3d.vis.plotly_vis import plot_batch_individually from pytorch3d.renderer import TexturesAtlas b = ico_sphere() face_colors = torch.rand(b.faces_padded().shape) tex = TexturesAtlas(face_colors[:,:,None,None]) b.textures=tex plot_batch_individually(b) ``` Reviewed By: gkioxari Differential Revision: D32190470 fbshipit-source-id: 258d30b7e9d79751a79db44684b5540657a2eff5
- Loading branch information