Hi,
Recently, I’ve updated the OptiX version from 5.0.1 to 5.1.
The programs compile and run, but the problem is that all rays land in the “miss” program. I didn’t change anything in the old code which was working before. So my question is if anyone has any intel on breaking changes that happened during the transition of the OptiX versions. I have read the release notes and didn’t find anything that would cause such a behavior.
I’ve checked then launch_index in the camera program, also implemented the new setUsageReportCallback function to get all the info from OptiX and everything looks fine - no warnings or errors. Geometry is present and rays are being shot.
Also, might be interesting:
OS: OpenSuse 42.3 Linux
GPU: Nvidia M5000M (8GB)
Driver: 396.24
CUDA: 9.0.176.4
Edit: Messages printed with rtPrintf are reaching only from the ray_generation program. The rtPrintf calls inside mesh_bounds and mesh_intersect never show up! I renamed only the functions in the Cuda file and OptiX crashed accordingly, then I’ve set the new name in the Program creation and it was found again - so I suppose they are called but rtPrintf doesn’t work :/…
The setUsageReportCallback reports:
Level: 2, Tag: INFO, Message: Program cache HIT : mesh_intersect
Level: 2, Tag: INFO, Message: Program cache HIT : mesh_bounds
So if anyone has an idea what might cause this problem I would be grateful for such information.