-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Surface normals image reference frame #2813
Comments
I plugged together a small test scene (with 9 axis aligned cubes and a camera looking down the positive x-axis) as I was about to report an issue with surface normals having a small bias applied when routed through AirSim. But I can take the very same image to answer your question: When observing the color on top of the cube (127,127,255) and route them through the usual normal unpacking (color value / 255 * 2.0 - 1.0) you get (0,0,1) as a normal. That's a hint for ENU. If surface normals would have been in NED space the normal's z-value would be negative. |
Thanks a lot for your hints @LSBOSS. |
Yes, that's the one. Thanks for commenting on my opened issue #2815 :D |
#2845 closes this |
Hello everyone,
I have a question about the surface normals image:
what is the reference frame the normals are in? I would expect NED (world frame), although from
SceneTexture:WorldNormal
node I would expect ENU (as per UE convention).Does someone know better?
Thank you
The text was updated successfully, but these errors were encountered: