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

Rendered depth is inconsistent wrt visualized one #250

Open
mattpoggi opened this issue Jul 5, 2024 · 2 comments
Open

Rendered depth is inconsistent wrt visualized one #250

mattpoggi opened this issue Jul 5, 2024 · 2 comments

Comments

@mattpoggi
Copy link

  • Operating System: Ubuntu 22.04
  • UE4 Version: 4.27
  • UnrealCV Version: 4.27-stable
  • Client (python2, 3 or matlab): python 3
  • Problem Description:

Thanks for your great work! I'm trying to generate data from inside the editor.
The depth I render with "vget /camera/0/depth" is very different from what I see with "vset /viewmode depth".

This is what I get with "vget /camera/0/depth"
Screenshot 2024-07-05 alle 19 26 14

and here what I get by first switching the viewer into depth mode and then storing lit as:
"vset /viewmode depth
vget /camera/0/lit"
Screenshot 2024-07-05 alle 19 25 11

Any idea about what is happening there?

@zfw1226
Copy link
Member

zfw1226 commented Jul 8, 2024

@mattpoggi Can you try to spawn a new camera and get the depth, e.g., vset /cameras/spawn?

@mattpoggi
Copy link
Author

Same problem

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