Intel® Embree Ray Tracing Kernels
Discussion forum on the open source ray tracing kernels for fast photo-realistic rendering on Intel® CPUs.
265 Discussions

Clarification on RTC_GEOMETRY_TYPE_FLAT_LINEAR_CURVE "u" value.

AndrewC
New Contributor II
445 Views

The documentation says "The intersection with the curve segment stores the parametric hit location
along the curve segment as u-coordinate (range 0 to +1)."

As linear curves are represented as cylindrical segments, then a ray will intersect the cylinder in two places. Is the point represented by "u"  the closest point of the "ray" to the line? Or is the projection of the 'first' intersection of the ray with the cylinder onto the line?

0 Kudos
1 Solution
SvenW_Intel
Moderator
445 Views

It is the u-value of the closest point on the line to the ray.

View solution in original post

1 Reply
SvenW_Intel
Moderator
446 Views

It is the u-value of the closest point on the line to the ray.

Reply