in my application (using OptiX 6.5 on CUDA 10.0 GTX 1050 2GB on Win10PRO 64bit v1809; driver 436.15) I use some animation for my geometry.
Running morphing (vertex-based motion blur) gives good results. Also combined with a transform node (additionally modifying the matrix) also runs fine.
On a very large geometry I encounter very slow updates, so I considered to use “refit”.
After adding the “refit” capability on the acceleration structure it works fine when either only a transform node (using a matrix) is applied or when morphing is applied. (I test it currently with a small geometry) But it fails (wrong rotation and/or missing intersection), when both (morphing and transform) are applied together and when then refit is used. Both together work fine without refit.
And also both together work fine, when the I simply destroy and rebuilt the acceleration struture (without changing anything else) on each frame; but that makes no sense for refit.
I ensured, that all the acceleration structures of the geometry groups are marked dirty on every frame…
As described here https://devtalk.nvidia.com/default/topic/1038703/optix/clarification-of-rtacceleration-properties/post/5277777/#5277777 I also checked the acceleration times; and indeed its faster when “refit” is used.
I also set “compact” to 0, cause the docs say, that using compact “1” cannot be used with “refit”.
What could be wrong ?