Fixing look_at_view_transform documentation, azim angle definition was incorrect (#251)

Summary:
…between the projection on the y=0 plane and reference vector (0,0,1).

Fixes https://github.com/facebookresearch/pytorch3d/issues/229

Pull Request resolved: https://github.com/facebookresearch/pytorch3d/pull/251

Reviewed By: gkioxari

Differential Revision: D23967073

Pulled By: nikhilaravi

fbshipit-source-id: fb6f10d4b7f5e319d17e28b4316837205b637f5e
This commit is contained in:
Eduardo Henrique Arnold 2020-09-29 09:45:48 -07:00 committed by Facebook GitHub Bot
parent d902a96ca2
commit 4f8a2f1979

View File

@ -1260,7 +1260,7 @@ def look_at_view_transform(
azim: angle in degrees or radians. The vector from the object to azim: angle in degrees or radians. The vector from the object to
the camera is projected onto a horizontal plane y = 0. the camera is projected onto a horizontal plane y = 0.
azim is the angle between the projected vector and a azim is the angle between the projected vector and a
reference vector at (1, 0, 0) on the reference plane (the horizontal plane). reference vector at (0, 0, 1) on the reference plane (the horizontal plane).
dist, elem and azim can be of shape (1), (N). dist, elem and azim can be of shape (1), (N).
degrees: boolean flag to indicate if the elevation and azimuth degrees: boolean flag to indicate if the elevation and azimuth
angles are specified in degrees or radians. angles are specified in degrees or radians.