I am beginning to study Optix. I have downloaded all the latest resources and documentation. I have started looking over some of the tutorials and examples and I am finding the learning curve rather steep.
I am looking for a simple example that would show how to use Optix to intersect a very simple triangle mesh with a ray. For example, say a flat sheet plate of 2 or more triangles in the z = 0 plane with a ray launched from a given beg point and direction looking into the triangle scene. Such an example would be isolated from glut displays, pin hole cameras, phong materials, opengl rendering, etc … I don’t understand why all the samples and tutorials need be so complicated with all these other aspects of ray tracing. I am suggesting at least one simple example showing nothing but bare minimal Optix usage and computations on tracing ray hits over a mesh of triangles (and keep the mesh simple). The application I have in mind doesn’t need all those other peripheral pieces. I just need to know what triangle was hit, where the ray hit on the triangle (u,v) coordinates, and perhaps the ray length from beginning of ray to hit point.
As a comparison, I just finished studying Embree and I was up and running ray tracing on simple meshes in roughly 4 hours from download time. I am seeing a much longer delay for Optix. I do realize GPU computing is far more complicated than CPU computing but I still think there is an opportunity for demonstrating examples on an aspect of ray tracing similar to what I described above.
If anyone would like to share such an example I would be grateful.