raytracing circular curves

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.

raytracing circular curves
 
 
Q