Barringer, R.Andersson, M.Akenine‐Möller, T.Chen, Min and Zhang, Hao (Richard)2018-01-102018-01-1020171467-8659https://doi.org/10.1111/cgf.13071https://diglib.eg.org:443/handle/10.1111/cgf13071We present a hybrid ray tracing system, where the work is divided between the CPU cores and the GPU in an integrated chip, and communication occurs via shared memory. Rays are organized in large packets that can be distributed among the two units as needed. Testing visibility between rays and the scene is mostly performed using an optimized kernel on the GPU, but the CPU can help as necessary. The CPU cores typically handle most or all shading, which makes it easy to support complex appearances. For efficiency, the CPU cores shade whole batches of rays by sorting them on material and shading each material using a vectorized kernel. In addition, we introduce a method to support light paths with arbitrary recursion, such as multiple recursive Whitted‐style ray tracing and adaptive sampling where the result of a ray is examined before sending the next, while still batching up rays for the benefit of GPU‐accelerated traversal and vectorized shading. This allows our system to achieve high rendering performance while maintaining the flexibility to accommodate different rendering algorithms.We present a hybrid ray tracing system, where the work is divided between the CPU cores and the GPU in an integrated chip, and communication occurs via shared memory. Rays are organized in large packets that can be distributed among the two units as needed. Testing visibility between rays and the scene is mostly performed using an optimized kernel on the GPU, but the CPU can help as necessary. The CPU cores typically handle most or all shading, which makes it easy to support complex appearances. For efficiency, the CPU cores shade whole batches of rays by sorting them on material and shading each material using a vectorized kernel.ray tracingrenderingrendering systemsgraphics hardwarehardwareI.3.7 [Computer Graphics]: Three‐Dimensional Graphics and Realism–Ray tracingI.3.2 [Computer Graphics]: Graphics Systems–Ray Accelerator: Efficient and Flexible Ray Tracing on a Heterogeneous Architecture10.1111/cgf.13071166-177