Capture Normals Image
Retrieves surface normal data from the camera's captured image.
- Pixels without geometry carry no normal and are returned as 0.0 in the json format, since JSON cannot represent the non-finite value the annotator puts there.
Query parameters
Format which will be used to represent the captured data. 'json' carries the measurements; 'rgb_png' and 'jpeg' are renderings to look at, and jpeg is lossy.
Format which will be used to represent the captured data. 'json' carries the measurements; 'rgb_png' and 'jpeg' are renderings to look at, and jpeg is lossy.
Path of camera prim. Leave it out to capture through the active viewport camera.
Path of camera prim. Leave it out to capture through the active viewport camera.
Image width in px
Image width in px
Image height in px
Image height in px
Response
Successfully fetched normals data
Changes
Changed in 1 of the 13 revisions of this API.5
- ○
the
queryrequest parametercamera_prim_pathbecame optionalrequest-parameter-became-optional
- ○
added the new enum value
jpegto thequeryrequest parameterresult_typerequest-parameter-enum-value-added
- ○
queryrequest parametercamera_prim_pathlist-of-types was widened by adding typesnullrequest-parameter-list-of-types-widened
- ○
for the
queryrequest parametercamera_prim_path, the type was generalized fromstringto no typerequest-parameter-type-generalized
- ○
added the media type
image/jpegfor the response with the statusresponse-media-type-added
- ○