Intel® Embree Ray Tracing Kernels
Discussion forum on the open source ray tracing kernels for fast photo-realistic rendering on Intel® CPU(s)
Announcements
For support on Altera products please visit the Altera Community Forums.
288 Discussions

Clarification on RTC_GEOMETRY_TYPE_FLAT_LINEAR_CURVE "u" value.

AndrewC
New Contributor III
1,716 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
1,716 Views

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

View solution in original post

0 Kudos
1 Reply
SvenW_Intel
Moderator
1,717 Views

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

0 Kudos
Reply