1. 07 Oct, 2021 1 commit
    • Jeremy Reizenstein's avatar
      test tolerance loosenings · b26f4bc3
      Jeremy Reizenstein authored
      Summary: Increase some test tolerances so that they pass in more situations, and re-enable two tests.
      
      Reviewed By: nikhilaravi
      
      Differential Revision: D31379717
      
      fbshipit-source-id: 06a25470cc7b6d71cd639d9fd7df500d4b84c079
      b26f4bc3
  2. 22 Jun, 2021 1 commit
    • Patrick Labatut's avatar
      License lint codebase · af93f348
      Patrick Labatut authored
      Summary: License lint codebase
      
      Reviewed By: theschnitz
      
      Differential Revision: D29001799
      
      fbshipit-source-id: 5c59869911785b0181b1663bbf430bc8b7fb2909
      af93f348
  3. 13 Apr, 2021 1 commit
    • Jeremy Reizenstein's avatar
      lint fixes · c18ee9d4
      Jeremy Reizenstein authored
      Summary: Lint after recent changes.
      
      Reviewed By: nikhilaravi
      
      Differential Revision: D27682328
      
      fbshipit-source-id: 285d159010d886e4e97902995adbdff875fd3c19
      c18ee9d4
  4. 09 Apr, 2021 2 commits
    • 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
    • Rong Rong (AI Infra)'s avatar
      Extract finding directories for test data · 1216b576
      Rong Rong (AI Infra) authored
      Summary: Make common functions for finding directories where test data is found, instead of lots of tests using their own `__file__`  while trying to get ./tests/data and the tutorials data.
      
      Reviewed By: nikhilaravi
      
      Differential Revision: D27633701
      
      fbshipit-source-id: 1467bb6018cea16eba3cab097d713116d51071e9
      1216b576
  5. 24 Feb, 2021 1 commit
    • Nikhila Ravi's avatar
      Bug fix for case where aspect ratio is a float · 13429640
      Nikhila Ravi authored
      Summary:
      - Fix the calculation of the non square NDC range when the H and W are not integer multiples.
      - Add test for this case
      
      Reviewed By: gkioxari
      
      Differential Revision: D26613213
      
      fbshipit-source-id: df6763cac602e9f1d516b41b432c4d2cfbaa356d
      13429640
  6. 15 Dec, 2020 1 commit
    • Nikhila Ravi's avatar
      Non Square image rasterization for pointclouds · 3d769a66
      Nikhila Ravi authored
      Summary:
      Similar to non square image rasterization for meshes, apply the same updates to the pointcloud rasterizer.
      
      Main API Change:
      - PointRasterizationSettings now accepts a tuple/list of (H, W) for the image size.
      
      Reviewed By: jcjohnson
      
      Differential Revision: D25465206
      
      fbshipit-source-id: 7370d83c431af1b972158cecae19d82364623380
      3d769a66
  7. 09 Dec, 2020 1 commit
    • Nikhila Ravi's avatar
      Non square image rasterization for meshes · d07307a4
      Nikhila Ravi authored
      Summary:
      There are a couple of options for supporting non square images:
      1) NDC stays at [-1, 1] in both directions with the distance calculations all modified by (W/H). There are a lot of distance based calculations (e.g. triangle areas for barycentric coordinates etc) so this requires changes in many places.
      2) NDC is scaled by (W/H) so the smallest side has [-1, 1]. In this case none of the distance calculations need to be updated and only the pixel to NDC calculation needs to be modified.
      
      I decided to go with option 2 after trying option 1!
      
      API Changes:
      - Image size can now be specified optionally as a tuple
      
      TODO:
      - add a benchmark test for the non square case.
      
      Reviewed By: jcjohnson
      
      Differential Revision: D24404975
      
      fbshipit-source-id: 545efb67c822d748ec35999b35762bce58db2cf4
      d07307a4