You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am attempting to interpret the uv coordinates in order to generate an XYZRGB point cloud in python. I do not understand what is meant when V takes on both positive and negative values. I attempted to follow this guide:
The mapping of (u,v) to a color pixel is:
For {u/v} : [0-1] --> [0-{width-1/height-1}], Meaning that (0,0) is mapped to (0,0) (0,1) is mapped to (0,height-1) (1,0) is mapped to (width-1,0) (1,1) is mapped to (width-1,height-1)
We do not provide a function that takes texture (u, v) and returns RGB (r, g, b, a), mainly because mostly rendering libraries take texture parameters and will handle it on their own. But you can do the mapping yourself if you wish by converting texture to pixel using the above explanation.
Model: D405
I am attempting to interpret the uv coordinates in order to generate an XYZRGB point cloud in python. I do not understand what is meant when V takes on both positive and negative values. I attempted to follow this guide:
Originally posted by @zivsha in #1231 (comment)
To produce
Somtimes UV is [ 0.09909751 -0.05718123] and sometimes it is [0.39045626 0.36308518].
Also, it was necessary for me to clip U to 1.0 in this scheme.
The text was updated successfully, but these errors were encountered: