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

Format of JSON Files #33

Open
fatbringer opened this issue Feb 16, 2024 · 3 comments
Open

Format of JSON Files #33

fatbringer opened this issue Feb 16, 2024 · 3 comments

Comments

@fatbringer
Copy link

fatbringer commented Feb 16, 2024

hello! I have a question regarding the format of the JSON files

"camera": {"location": [-1429.03, -969.06, 32.7857], "rotation": [-19.942, 1.10123e-05, 92.217], "fov": 40.0}}

1536409531

for the camera location, does it represent X, Y and Z value?
Is the Z value the height in terms of metres?

For the FOV value, is that the pitch angle down from the horizontal view?
Or is the rotation value, which of them is the pitch angle?

Thanks!

@Elin24
Copy link
Collaborator

Elin24 commented Apr 12, 2024

Sorry for latter reply, location is the world coordinate of the camera; rotation represents Pitch, yaw, and roll, and fov is the filed of view ranged from 1.0 to 130.0.

@fatbringer
Copy link
Author

@Elin24 I see. Does the location correlate with real world equivalent height? Like is 100 in Z coordinate = 1m approximately to real life size?

@Elin24
Copy link
Collaborator

Elin24 commented Apr 22, 2024

Sorry, I'm not sure about this.

You can suppose it is 1m. if it is not right there will be just a scale factor for correction because the coordinate is linear to the physical world.

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