I am new at OptiX and had a question. I’ve been using this course as a guide:
This code displays images and textures using ray tracing, but I wanted to incorporate getting depth into it. Does anyone have any recommendations on what approach I should take to calculate a depth map? Thank you in advance!
The OptiX SDK has a sample that renders a depth (+normal) map: optixRaycasting. The OptiX launch collects the depth map, then does a separate CUDA kernel for shading. You could do something similar and pass your depth map to another render launch instead.