1. 03 Aug, 2021 1 commit
    • Jeremy Reizenstein's avatar
      update tutorials for new prebuilt version · addbe49d
      Jeremy Reizenstein authored
      Summary: At the next release, the prebuilt PyTorch3D wheels will depend on PyTorch 1.9.0. Update the tutorials to expect this.
      
      Reviewed By: nikhilaravi
      
      Differential Revision: D29614450
      
      fbshipit-source-id: 39978a6a55b62fb7c7e62aaa8f138e47cadd631e
      addbe49d
  2. 18 Jun, 2021 1 commit
    • Nikhila Ravi's avatar
      Small fix to tutorial · a343cf53
      Nikhila Ravi authored
      Summary: Small fix to `fit_textured_mesh.ipynb` tutorial due to a recent change in numpy
      
      Reviewed By: bottler
      
      Differential Revision: D29219990
      
      fbshipit-source-id: f5feeef9eb952720ea7154d066795fbbe64ce7a1
      a343cf53
  3. 05 May, 2021 1 commit
    • Jeremy Reizenstein's avatar
      remove skimage import from most tutorials · d17b121d
      Jeremy Reizenstein authored
      Summary:
      Several tutorials were importing skimage and not using it (and it is not an official dependency of PyTorch3D).
      
      Also several had a bad call to plt.grid.
      
      Reviewed By: nikhilaravi
      
      Differential Revision: D28185822
      
      fbshipit-source-id: adabfd0d4d339e1081c26b7b28f5e3953b492f2e
      d17b121d
  4. 14 Apr, 2021 1 commit
  5. 09 Apr, 2021 1 commit
    • Jeremy Reizenstein's avatar
      spelling · 124bb5e3
      Jeremy Reizenstein authored
      Summary: Collection of spelling things, mostly in docs / tutorials.
      
      Reviewed By: gkioxari
      
      Differential Revision: D26101323
      
      fbshipit-source-id: 652f62bc9d71a4ff872efa21141225e43191353a
      124bb5e3
  6. 05 Feb, 2021 1 commit
    • Jeremy Reizenstein's avatar
      update notebooks for s3 wheels · db6fbfad
      Jeremy Reizenstein authored
      Summary: Prepare the tutorial notebooks to use wheels from S3 when run on colab.
      
      Reviewed By: nikhilaravi
      
      Differential Revision: D26226932
      
      fbshipit-source-id: 1f9366c3fb4ba195333a5d5dfa3f6876ea934508
      db6fbfad
  7. 22 Jan, 2021 1 commit
    • Jeremy Reizenstein's avatar
      Allow single offset in offset_verts · ddebdfbc
      Jeremy Reizenstein authored
      Summary:
      It is common when trying things out to want to move a whole mesh or point cloud by the same amount. Here we allow the offset functions to broadcast.
      
      Also add a sanity check to join_meshes_as_scene which it is easy to call wrongly.
      
      Reviewed By: nikhilaravi
      
      Differential Revision: D25980593
      
      fbshipit-source-id: cdf1568e1317e3b81ad94ed4e608ba7eef81290b
      ddebdfbc
  8. 11 Nov, 2020 1 commit
  9. 10 Nov, 2020 1 commit
    • Jeremy Reizenstein's avatar
      CUB when installing inside tutorials · de7af4a7
      Jeremy Reizenstein authored
      Summary:
      We now require CUB for building, here we make the tutorials include it.
      
      Also make the installation cell do nothing if it has already succeeded.
      
      I use curl not wget, and `os.environ` to set the variables not shell methods, because they are more likely to work on Windows.
      
      Reviewed By: nikhilaravi
      
      Differential Revision: D24860574
      
      fbshipit-source-id: 5be86af15e53f8db016ee0e96fb43153bd69adbc
      de7af4a7
  10. 26 Aug, 2020 1 commit
    • Jeremy Reizenstein's avatar
      tutorial fixes. validate #cameras · 9aeb88b4
      Jeremy Reizenstein authored
      Summary:
      Update the installation cells to import torch.
      Replace use of deprecated Textures in deform tutorial.
      Correct the deform tutorial's idea of its own name.
      Fix typo in batched part of render_textured_meshes which meant only one mesh was being rendered with a batch of cameras.
      Add an error check in the rasterizer to make the error friendly from such a mistake elsewhere.
      
      Reviewed By: gkioxari
      
      Differential Revision: D23345462
      
      fbshipit-source-id: 1d5bd25db052f7ef687b7168d7aee5cc4dce8952
      9aeb88b4
  11. 25 Aug, 2020 1 commit
    • Jeremy Reizenstein's avatar
      tutorial fixes from #336. Wheels with cuda10.1. · 32484500
      Jeremy Reizenstein authored
      Summary:
      Add a document to explain how to run the tutorials.
      Fix API of TexturesVertex in fit_textured_mesh.
      Prepare cuda 10.1 wheels (not 10.2) for linux to be available on pypi - this matches what colab has.
      Change the tutorials to use these new wheels.
      
      Reviewed By: gkioxari
      
      Differential Revision: D23324479
      
      fbshipit-source-id: 60e92a3f46a2d878f811b7703638f8d1dae143d9
      32484500
  12. 22 Aug, 2020 1 commit
    • Nikhila Ravi's avatar
      Tutorials textures updates and fix bug in extending meshes with uv textures · 90f6a005
      Nikhila Ravi authored
      Summary:
      Found a bug in extending textures with vertex uv coordinates. This was due to the padded -> list conversion of vertex uv coordinates i.e.                 The number of vertices in the mesh and in verts_uvs can differ
      e.g. if a vertex is shared between 3 faces, it can
      have up to 3 different uv coordinates. Therefore we cannot convert directly from padded to list using _num_verts_per_mesh
      
      Reviewed By: bottler
      
      Differential Revision: D23233595
      
      fbshipit-source-id: 0c66d15baae697ead0bdc384f74c27d4c6539fc9
      90f6a005
  13. 21 Aug, 2020 1 commit
    • Georgia Gkioxari's avatar
      camera refactoring · 57a22e73
      Georgia Gkioxari authored
      Summary:
      Refactor cameras
      * CamerasBase was enhanced with `transform_points_screen` that transforms projected points from NDC to screen space
      * OpenGLPerspective, OpenGLOrthographic -> FoVPerspective, FoVOrthographic
      * SfMPerspective, SfMOrthographic -> Perspective, Orthographic
      * PerspectiveCamera can optionally be constructred with screen space parameters
      * Note on Cameras and coordinate systems was added
      
      Reviewed By: nikhilaravi
      
      Differential Revision: D23168525
      
      fbshipit-source-id: dd138e2b2cc7e0e0d9f34c45b8251c01266a2063
      57a22e73
  14. 23 Jul, 2020 1 commit
    • Steve Branson's avatar
      Add tutorial for fitting textured mesh to multi-view images · 9a5341bd
      Steve Branson authored
      Summary: Tutorial showing how to create a synthetic dataset by rendering a cow from multiple views, fit a mesh using a differential silhouette renderer, then fit a mesh using an RGB renderer.
      
      Reviewed By: nikhilaravi
      
      Differential Revision: D22513859
      
      fbshipit-source-id: 24bdaac4ebec6dd01f98e2f5c702065f9335ff33
      9a5341bd