Houdini 21.0 Nodes APEX nodes

transform::ProjectOnSphere

Projects a point onto a sphere.

On this page
Since 21.0

Projects a point onto the surface of a sphere through a line that connects the point’s position to the sphere’s origin.

Inputs

point: Vector3

The point’s position.

xform: Matrix4

A world matrix representing the position and scale of the sphere. Defaults to the identity matrix, which represents a sphere of radius 1 centered on the origin.

Outputs

point: Vector3

The projected point position.

See also

APEX nodes