a circle can be exactly represented as a rational quadratic b-spline curve.
in the curve raytracing example a simd_float3 type was used for control points.
a rational curve, however, requires an additional homogenious control point coordinate w.
is this supported?
the math is straightforward an it would open great opportunities to efficiently render solid primitives like torus and tube.
Post
Replies
Boosts
Views
Activity
is there a way to debug Metal raytracing intersection functions?
how is that done? i cannot see the intersection functions in the Xcode shader debugger.