mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2025-12-21 14:50:36 +08:00
Updates to cameras and rasterizer to infer camera type correctly
Summary: Small update to the cameras and rasterizer to correctly infer the type of camera (perspective vs orthographic). Reviewed By: jcjohnson Differential Revision: D26267225 fbshipit-source-id: a58ed3bc2ab25553d2a4307c734204c1d41b5176
This commit is contained in:
committed by
Facebook GitHub Bot
parent
39f49c22cd
commit
838b73d3b6
@@ -242,7 +242,10 @@ class TestRenderImplicit(TestCaseMixin, unittest.TestCase):
|
||||
rasterizer=MeshRasterizer(
|
||||
cameras=cameras_randomized,
|
||||
raster_settings=RasterizationSettings(
|
||||
image_size=image_size, blur_radius=1e-3, faces_per_pixel=10
|
||||
image_size=image_size,
|
||||
blur_radius=1e-3,
|
||||
faces_per_pixel=10,
|
||||
perspective_correct=False,
|
||||
),
|
||||
),
|
||||
shader=SoftPhongShader(
|
||||
|
||||
Reference in New Issue
Block a user