ProjectScreenPoints
Only in Wrap4D
The node projects screen points onto a mesh surface through a camera. It can be used to project tracked markers from Track back into 3D space to be used in wrapping.
Since ScreenPoints store points in a normalized (-1 to 1) format, the node requires to specify a resolution to perform projection. In fact, the node only needs uses the resolution to compute the aspect ratio.
Attention
The node only works with undistorted screen points and an undistorted camera. Use the UndistortCamera and UndistortScreenPoints nodes for the conversion.
Editor
ProjectScreenPoints node has a visual editor with two viewports. The left viewport displays the result of the projection of the screen points onto the mesh. The right viewport displays the same result through the camera view.
Inputs
- Geometry
Geometry
Geometry to project points to- ScreenPoints
ScreenPoints
Screen points to be projected- Camera
Camera
Camera to project through
Output
NamedPointsOnTriangle
Array of named points on triangle
Parameters
- Use Camera Resolution:
is set, the camera resolution will be
- Camera Resolution:
image width and height to perform projection. In case of tracking points in Track, it should be the same resolution that was used for tracking. In fact, the width and height are only used to compute the aspect ratio
- Show Point labels:
if set, points names will be visible in the editor
- Fail On Mistrace:
if set, the node returns an error if any of the points can’t be projected onto the mesh