facebookresearch / pytorch3d

PyTorch3D is FAIR's library of reusable components for deep learning with 3D data
https://pytorch3d.org/
Other
8.81k stars 1.32k forks source link

How to continuous control of the camera based on the R_init and T_init. #1791

Closed aruiplex closed 3 months ago

aruiplex commented 6 months ago

❓ Questions on how to use PyTorch3D to continuous control of the camera.

Based on the initial Camera R, T, I want to use the r, elev, and azim to control the camera around the object.

I make my question to the figure, making it more easy to understand.

Frame 1 (1)

bottler commented 6 months ago

The camera_to_eye_at_up function and its docstring should explain enough: see https://github.com/facebookresearch/pytorch3d/blob/main/pytorch3d/renderer/camera_utils.py#L17 .