I have downloaded and installed Optix 8.0 locally. I have the following path for the PTX file for raytracing after building the “OptixRayCasting” module:
“C:\ProgramData\NVIDIA Corporation\OptiX SDK 8.0.0\SDK\bin\lib\ptx\Release\optixRaycasting_generated_optixRaycasting.cu.optixir”.
The following code snippit loads the details of the “optixRaycasting_generated_optixRaycasting.cu.optixir” file into a RayCastingState:
However, the path to the “optixRaycasting_generated_optixRaycasting.cu.optixir” obtained in sutil::getInputData is absolute to the installation directory.
Is there a way to define a relative path to this file (“optixRaycasting_generated_optixRaycasting.cu.optixir”) to if it was copied elsewhere?
@dhart , do you know if this is possible?