Skip to content
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

Transformation matrix for rendering #152

Open
mazhelearn opened this issue Dec 26, 2023 · 2 comments
Open

Transformation matrix for rendering #152

mazhelearn opened this issue Dec 26, 2023 · 2 comments

Comments

@mazhelearn
Copy link

Hi!
Thanks for your great work!
I am trying to use this function in your code to render a view that is the same with a img from dataset.
I am wondering if the parameter "camera_mv_bx4x4" is consistent with the transformation matrix (defined here) of the rendered texture image?

@SteveJunGao
Copy link
Collaborator

Hi @mazhelearn,

Unfortunately, they're different matrices. The transformation matrix defined here was only used to make it compatible with NGP.

To use the code you mentioned, you need to use this line to obtain the camera matrix.

Let me know if you have any other questions!

@mazhelearn
Copy link
Author

mazhelearn commented Jan 2, 2024

i want to render a img that is the same with inputed img using the NeuralRender, but this line only generate a random camera matrix.
image
And in this function i find the details about geting "camera_mv_bx4x4". I wander what parameters is useful to get the "camera_mv_bx4x4". thank u very much.
Happy new year!!!

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

No branches or pull requests

2 participants