open all | close all

Trace Ray

Preview 预览Basic 基础Inputs 投入Outputs 产出Context 背景

Trace Ray

The Trace Ray Node requires a point of Origin and a Direction to generate a ray. If the ray hits an object’s surface, information such as the position and surface normals at the hit point are computed and output. 跟踪光线节点需要一个起点和一个方向来生成一条光线。如果射线击中物体的表面,则计算并输出诸如击中点的位置和表面法线等信息

This Node can trace a ray from a user-defined Origin. If the sample hits an object surface, the distance to the collision point, its position and its surface Normals can be output, for example

此节点可以从用户定义的 Origin 跟踪一个射线。例如,如果样本撞击一个物体表面,则可以输出到碰撞点的距离、碰撞点的位置以及碰撞点的表面法线