-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Rasterizer and add end2end fisheye integration test
Summary: 1) Update rasterizer/point rasterizer to accommodate fisheyecamera. Specifically, transform_points is in placement of explicit transform compositions. 2) In rasterizer unittests, update corresponding tests for rasterizer and point_rasterizer. Address comments to test fisheye against perspective camera when distortions are turned off. 3) Address comments to add end2end test for fisheyecameras. In test_render_meshes, fisheyecameras are added to camera enuerations whenever possible. 4) Test renderings with fisheyecameras of different params on cow mesh. 5) Use compositions for linear cameras whenever possible. Reviewed By: kjchalup Differential Revision: D38932736 fbshipit-source-id: 5b7074fc001f2390f4cf43c7267a8b37fd987547
- Loading branch information
1 parent
b0515e1
commit d19e624
Showing
63 changed files
with
566 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+15.1 KB
...data/test_cow_mesh_FishEyeCameras_radial_False_tangential_False_prism_False.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+16.1 KB
.../data/test_cow_mesh_FishEyeCameras_radial_False_tangential_False_prism_True.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+18.3 KB
.../data/test_cow_mesh_FishEyeCameras_radial_False_tangential_True_prism_False.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+19.1 KB
...s/data/test_cow_mesh_FishEyeCameras_radial_False_tangential_True_prism_True.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+13.2 KB
.../data/test_cow_mesh_FishEyeCameras_radial_True_tangential_False_prism_False.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+14.1 KB
...s/data/test_cow_mesh_FishEyeCameras_radial_True_tangential_False_prism_True.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+16.3 KB
...s/data/test_cow_mesh_FishEyeCameras_radial_True_tangential_True_prism_False.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+16.9 KB
tests/data/test_cow_mesh_FishEyeCameras_radial_True_tangential_True_prism_True.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.87 KB
tests/data/test_simple_sphere_dark_radial_tangential_prism_FishEyeCameras.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.09 KB
tests/data/test_simple_sphere_dark_tangential_prism_FishEyeCameras.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+8.5 KB
tests/data/test_simple_sphere_light_flat_elevated_none_FishEyeCameras.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file added
BIN
+5.81 KB
tests/data/test_simple_sphere_light_gouraud_elevated_none_FishEyeCameras.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file added
BIN
+8.56 KB
tests/data/test_simple_sphere_light_hard_flat_elevated_FishEyeCameras.png
Oops, something went wrong.
Binary file added
BIN
+12.7 KB
tests/data/test_simple_sphere_light_hard_flat_prism_FishEyeCameras.png
Oops, something went wrong.
Binary file added
BIN
+10.1 KB
tests/data/test_simple_sphere_light_hard_flat_radial_FishEyeCameras.png
Oops, something went wrong.
Binary file added
BIN
+10.6 KB
...a/test_simple_sphere_light_hard_flat_radial_tangential_prism_FishEyeCameras.png
Oops, something went wrong.
Binary file added
BIN
+13.9 KB
tests/data/test_simple_sphere_light_hard_flat_tangential_FishEyeCameras.png
Oops, something went wrong.
Binary file added
BIN
+13.9 KB
tests/data/test_simple_sphere_light_hard_flat_tangential_prism_FishEyeCameras.png
Oops, something went wrong.
Oops, something went wrong.
Binary file added
BIN
+6 KB
tests/data/test_simple_sphere_light_hard_gouraud_elevated_FishEyeCameras.png
Oops, something went wrong.
Binary file added
BIN
+8.8 KB
tests/data/test_simple_sphere_light_hard_gouraud_prism_FishEyeCameras.png
Oops, something went wrong.
Binary file added
BIN
+7.16 KB
tests/data/test_simple_sphere_light_hard_gouraud_radial_FishEyeCameras.png
Oops, something went wrong.
Binary file added
BIN
+7.94 KB
...est_simple_sphere_light_hard_gouraud_radial_tangential_prism_FishEyeCameras.png
Oops, something went wrong.
Binary file added
BIN
+9.66 KB
tests/data/test_simple_sphere_light_hard_gouraud_tangential_FishEyeCameras.png
Oops, something went wrong.
Binary file added
BIN
+10.3 KB
.../data/test_simple_sphere_light_hard_gouraud_tangential_prism_FishEyeCameras.png
Oops, something went wrong.
Oops, something went wrong.
Binary file added
BIN
+5.93 KB
tests/data/test_simple_sphere_light_hard_phong_elevated_FishEyeCameras.png
Oops, something went wrong.
Binary file added
BIN
+5.93 KB
...ple_sphere_light_hard_phong_elevated_radial_tangential_prism_FishEyeCameras.png
Oops, something went wrong.
Binary file added
BIN
+7.96 KB
tests/data/test_simple_sphere_light_hard_phong_none_FishEyeCameras.png
Oops, something went wrong.
Binary file added
BIN
+8.72 KB
tests/data/test_simple_sphere_light_hard_phong_prism_FishEyeCameras.png
Oops, something went wrong.
Binary file added
BIN
+7.21 KB
tests/data/test_simple_sphere_light_hard_phong_radial_FishEyeCameras.png
Oops, something went wrong.
Binary file added
BIN
+7.96 KB
.../test_simple_sphere_light_hard_phong_radial_tangential_prism_FishEyeCameras.png
Oops, something went wrong.
Binary file added
BIN
+9.64 KB
tests/data/test_simple_sphere_light_hard_phong_tangential_FishEyeCameras.png
Oops, something went wrong.
Binary file added
BIN
+10.3 KB
tests/data/test_simple_sphere_light_hard_phong_tangential_prism_FishEyeCameras.png
Oops, something went wrong.
Oops, something went wrong.
Binary file added
BIN
+5.93 KB
tests/data/test_simple_sphere_light_phong_elevated_FishEyeCameras.png
Oops, something went wrong.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.