Periphery (Camera)
Capture Normals Image
Changed onRetrieves 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.
get/periphery/cameras/capture/normals
Request
- The document declares no server URL.
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
result_type'json' | 'rgb_png' | 'jpeg' required
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.
camera_prim_pathstring nullable
Path of camera prim. Leave it out to capture through the active viewport camera.
widthinteger
Image width in px
heightinteger
Image height in px
Response
Successfully fetched normals data
Changes
- info
the
queryrequest parametercamera_prim_pathbecame optional - info
added the new enum value
jpegto thequeryrequest parameterresult_type - info
queryrequest parametercamera_prim_pathlist-of-types was widened by adding typesnull - info
for the
queryrequest parametercamera_prim_path, the type was generalized fromstringto no type - info
added the media type
image/jpegfor the response with the status
- info