Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-06-19 | reverse the face orientation on all triangles in the stl files exported from ↵ | Anthony LaTorre | |
sketchup. | |||
2011-06-17 | visually tested optics code. added models of the inner and outer meshes for ↵ | Anthony LaTorre | |
the 12" hamamatsu and sno pmts. ratdb.py is able to parse ratdb files. chromaticity.py provides a function to map wavelength -> rgb color. lbne detector model now includes an outer black cylinder and pmts with a glass layer and photocathode/reflective surfaces. | |||
2011-06-12 | added some fun models; added some untested code to implement absorption, ↵ | Anthony LaTorre | |
scattering, reflection, and refraction | |||
2011-06-02 | material/surface codes or color are packed into the fourth byte of the ↵ | Anthony LaTorre | |
triangle data texture depending on the color keyword passed to Geometry.build() | |||
2011-06-01 | first step towards moving to a new mesh/solid/geometry structure | Anthony LaTorre | |
2011-05-18 | added some more documentation and a more accurate miniature version of lbne | Anthony LaTorre | |