Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-08-17 | move useful bits from view.py into camera.py and get rid of view.py | Anthony LaTorre | |
2011-08-17 | import chroma modules from subpackages with import chroma.module_name | Anthony LaTorre | |
2011-07-26 | added a camera class which is able to render using the simple ray tracer or ↵ | Anthony LaTorre | |
the hybrid monte carlo ray tracer in a separate thread. the camera object is initialized by passing a pycuda.driver.Context object and a threading.Lock object; you can then run kernels and copy arrays to and from the device in the same context as that used by the camera by acquiring the lock, calling context.push(), executing the kernel and/or copying arrays, calling context.pop(), and then releasing the lock. fixed mistakes in both build_rgb_lookup() and render() where I had accidently switched the green and blue photons. updated the lbne geometry with the latest specifications. added profiles for the sno pmt and concentrator. | |||
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 | |