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

question on camera position #33

Open
ericlormul opened this issue Nov 19, 2021 · 1 comment
Open

question on camera position #33

ericlormul opened this issue Nov 19, 2021 · 1 comment

Comments

@ericlormul
Copy link

ericlormul commented Nov 19, 2021

Thanks for open source this great repo!

In my situation, I sample camera positions on the surface of a unit sphere which is centered at the world origin. Sample cameras are distributed along x-axis and looking at the world origin. Object/scene are supposed to be around the world origin. Then, with these camera positions, I use look-at rule to to calculate camera2world transform matrices. My question is that will this camera setting be compatible with the requirements of nerf++, because I noticed that "Opencv camera coordinate system is adopted, i.e., x--->right, y--->down, z--->scene. "? Here's an example of 32 sampled camera positions in x, y, z format.

[[ 0. , 0. , 1. ],
[-0.011, 0. , 1. ],
[-0.016, 0. , 1. ],
[ 0.02 , 0. , 1. ],
[ 0.023, 0. , 1. ],
[ 0.025, 0. , 1. ],
[ 0.028, 0. , 1. ],
[-0.03 , 0. , 1. ],
[-0.032, 0. , 0.999],
[ 0.034, 0. , 0.999],
[-0.036, 0. , 0.999],
[ 0.038, 0. , 0.999],
[-0.039, 0. , 0.999],
[-0.041, 0. , 0.999],
[-0.042, 0. , 0.999],
[ 0.044, 0. , 0.999],
[-0.045, 0. , 0.999],
[ 0.047, 0. , 0.999],
[-0.048, 0. , 0.999],
[ 0.049, 0. , 0.999],
[ 0.051, 0. , 0.999],
[ 0.052, 0. , 0.999],
[ 0.053, 0. , 0.999],
[ 0.054, 0. , 0.999],
[-0.056, 0. , 0.998],
[ 0.057, 0. , 0.998],
[ 0.058, 0. , 0.998],
[ 0.059, 0. , 0.998],
[-0.06 , 0. , 0.998],
[-0.061, 0. , 0.998],
[ 0.062, 0. , 0.998],
[ 0.063, 0. , 0.998]]

Thank you so much!

@Kai-46
Copy link
Owner

Kai-46 commented Dec 8, 2021

What is your camera coordinate convention?

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