The input consists of two files. The first file is a sequence of triangles in the triangle file format. The triangles need have 3 dimensional coordinates. The second file is a sequence of 3 dimensional rays in the ray file format. The source of each ray needs to be outside the axis align bounding box for the triangles. The output needs to be in the sequence file format and must contain for each input ray the integer index of the first triangle it intersects (0 based).
addRays <triangelFile> <raylFile>This generates a number of rays equal to the number of triangles. All three inputs are weighted equally. The input files are:
This project has been funded by the following sources:
Intel Labs Academic Research Office for the Parallel Algorithms for Non-Numeric Computing Program,
National Science Foundation, and
IBM Research.