Commit 4f8a2f19 authored by Eduardo Henrique Arnold's avatar Eduardo Henrique Arnold Committed by Facebook GitHub Bot
Browse files

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
parent d902a96c
...@@ -1260,7 +1260,7 @@ def look_at_view_transform( ...@@ -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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment