diff options
author | Anthony LaTorre <tlatorre9@gmail.com> | 2011-07-20 17:48:32 -0400 |
---|---|---|
committer | Anthony LaTorre <tlatorre9@gmail.com> | 2011-07-20 17:48:32 -0400 |
commit | 46011a8e4ffa31f4b057b20b84e5b45b447902b7 (patch) | |
tree | cde666bfb4b568c74923dff4a1de99505ff89ed1 /tools.py | |
parent | f5a328b72ebb643b51cae41a991c934da712f0e5 (diff) | |
download | chroma-46011a8e4ffa31f4b057b20b84e5b45b447902b7.tar.gz chroma-46011a8e4ffa31f4b057b20b84e5b45b447902b7.tar.bz2 chroma-46011a8e4ffa31f4b057b20b84e5b45b447902b7.zip |
pulled a lot of the photon propagation code out of src/kernel.cu into 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.
Diffstat (limited to 'tools.py')
0 files changed, 0 insertions, 0 deletions