I have two questions regarding to curves in OptiX 7.4.0.
- Is there a reference implementation to compute a normal and a tangent vector of a strand from the curve parameter for the newly-added Catmull-Rom curves?
I know the code for linear segments, quadratic, cubic B-splines have been provided in
OptiX SDK 7.4.0/SDK/cuda/curve.h, but I couldn’t find the one for Catmull-Rom.
I want the one which is consistent with the build-in IS.
I implemented this by myself but the reference implementation is still helpful.
- The release notes say:
OptixBuiltinISOptionsnow has a
buildFlagsparameter that should match the ones supplied to
OptixAccelBuildOptionswhen building the AS containing the built-in primitives."
Do we need to be sure all the flags including:
“updatable or not”, “compactable or not”, “fast trace or fast build” matches in addition to the flag for random vertex access?