You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
. The default initialization for PerspectiveCameras uses a principal point of (0., 0.), which, according to the documentation is the xy coordinate of the principal point (and hence places it in the top left corner). Is that intended and shouldn't it be half of image size by default? Could it be that this definition changed during the last year at some point? In any case, the Pulsar unified interface is currently using this value incorrectly in
This commit addresses several braking changes to PyTorch3d camera conventions that made the unified system unusable at the moment (see facebookresearch#1352 and facebookresearch#1276). This commit fixes all these problems and tests using the test case from facebookresearch#1352. The results are equivalent for `FoVOrthographicCameras`, `OrthographicCameras`, `FoVPerspectiveCameras` and `PerspectiveCameras`.
We used to have a test case for the unified interface for Pulsar that compared the rendering results with some 'ground truth' images. This test seems to have been removed, thus leading to these breaking changes remaining undiscovered for a long time. Would be great if we could revive that test case!
🐛 Bugs / Unexpected behaviors
Hi team!
Someone just reached out to me concerning unexpected behavior of
PerspectiveCameras
in conjunction with Pulsar. I tracked this back to herepytorch3d/pytorch3d/renderer/cameras.py
Line 1266 in 1b0584f
PerspectiveCameras
uses a principal point of (0., 0.), which, according to the documentation is the xy coordinate of the principal point (and hence places it in the top left corner). Is that intended and shouldn't it be half of image size by default? Could it be that this definition changed during the last year at some point? In any case, the Pulsar unified interface is currently using this value incorrectly inpytorch3d/pytorch3d/renderer/points/pulsar/unified.py
Line 249 in 1b0584f
pytorch3d/pytorch3d/renderer/points/pulsar/unified.py
Line 323 in 1b0584f
The text was updated successfully, but these errors were encountered: