Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-07-20 | pulled a lot of the photon propagation code out of src/kernel.cu into ↵ | Anthony LaTorre | |
src/photon.h so that photon propagation by propagate() in kernel.cu and the hybrid monte carlo ray tracing use the same code. instead of a single state, photons now carry the history of the processes they've undergone. this history is stored as a bitmask; see src/photon.h. start_node and first_node of the mesh are now stored as global variables in mesh.h instead of being passed to kernel functions. |