Skip to content

Create a toy example for SfMPerspectiveCameras #222

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
IDSPAGET opened this issue Jun 4, 2020 · 5 comments
Closed

Create a toy example for SfMPerspectiveCameras #222

IDSPAGET opened this issue Jun 4, 2020 · 5 comments
Assignees
Labels
question Further information is requested

Comments

@IDSPAGET
Copy link

IDSPAGET commented Jun 4, 2020

🚀 Feature

Add a small toy example of rendering with SfMPerspectiveCameras .

Motivation

A lot of users seem to have issues with making SfMPerspectiveCameras work (#154,#148,#146, #18, #184 ...).
Maybe a toy example would bring more non-computer graphics users to use the API.

Pitch

A simple script that load a mesh, an image and a calibration in a simple intrinsic/extrinsic format and render the corresponding RGB frame.
Scannet could be used for instance.

@gkioxari
Copy link
Contributor

gkioxari commented Jun 4, 2020

Hi @IDSPAGET
Indeed, users seem confused regarding cameras defined in screen or ndc space. We are in the process of fixing it and we will make sure to add examples.

@gkioxari gkioxari self-assigned this Jun 4, 2020
@gkioxari gkioxari added the question Further information is requested label Jun 4, 2020
@BostonLobster
Copy link

@gkioxari @IDSPAGET Hi, may I ask what is the current progress of this toy example. I try to render a RGB image using point cloud from ScanNet, but failed with an empty frame. Hope you could release the example ASAP🙏

@gkioxari
Copy link
Contributor

Hi @BostonLobster @IDSPAGET
We have updated the docs for cameras here

https://github.com/facebookresearch/pytorch3d/blob/master/docs/notes/cameras.md

and you can read more in our codebase regarding the details of the camera parameters. Let us know if that is useful!

@nikhilaravi
Copy link
Contributor

We will close this issue. Feel free to reopen it if you have more questions.

@BostonLobster
Copy link

@IDSPAGET Have you successfully rendered a ScanNet scene? I still stuck on weird or empty result for rendering a ScanNet point cloud.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants