Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-07-21 | hybrid monte carlo render now distinguishes between the two different sides ↵ | Anthony LaTorre | |
of each triangle. reduced the number of runs to average when propagating photons from each pixel in render.py from 5 to 1; the speed improvement outweighs any small improvement in the quality of the rendered image. | |||
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. | |||
2011-07-19 | removed STL pmt models; pmt models are now built by calling rotate_extrude() ↵ | Anthony LaTorre | |
on a profile of the PMT model (see build_pmt() in solids/pmts.py). triangle intersection now allows one of the two coefficients multiplying the vectors which span the triangle to float slightly negative (up to -EPSILON; EPSILON is defined in src/intersect.h) in order to eliminate rays passing through the line between two triangles. cleaned up a lot of unused code. pulled duplicate code in view() and render() into functions in view.py. in order to allow view.py and render.py to search pre-defined geometries, solids, meshes, etc. without requiring them to be pre-built, pre-defined geometries, solids, meshes, etc. should be returned by a function tagged by the decorator @buildable(identifier) defined in view.py, where identifier is a string used to identify the object as an argument to either view.py or render.py. optical materials and surfaces are now defined in optics.py. added an image directory to save cool screenshots. | |||
2011-07-10 | added a hybrid monte carlo ray tracing rendering algorithm | Anthony LaTorre | |