Closed nibeh closed 4 years ago
Hi nibeh,
The documentation is fine, but the code has the m_rtBuilder.updateBlas(2);
in the wrong function. It should be at the end of HelloVulkan::animationObject()
instead of HelloVulkan::animationInstances()
Thanks for reporting, this should be corrected soon.
Thanks for the nice tutorial codes! According to the documentation (https://nvpro-samples.github.io/vk_raytracing_tutorial_KHR/vkrt_tuto_animation.md.htm) we need to update the BLAS at the end of void HelloVulkan::animationObject(float time), however I cannot find the reference in the code. As animationInstances (which updates the blas(?)) is called before, we have a delay of one frame in the animation of the sphere - am I correct?