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. | |||
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 | |
2011-06-24 | speedup mesh intersection by skipping directly to the child node of nodes ↵ | Anthony LaTorre | |
with only one child. | |||
2011-06-23 | move photon initialization to the gpu. it's unclear if this is a speed ↵ | Anthony LaTorre | |
improvement. | |||
2011-06-22 | Switch from float4 to float3 for vertices. | Stan Seibert | |
2011-06-22 | Fix accidental reuse of absorption_length when computing scattering length. | Stan Seibert | |
2011-06-21 | Switch vertex list on GPU from a texture to a standard device array. | Stan Seibert | |
This avoids the texture size limitation. | |||
2011-06-20 | pack material and surface indices into the fourth byte of the triangle array ↵ | Anthony LaTorre | |
on the GPU. you can now take a screenshot of an image rendered with view.py() by pressing the f12 key. | |||
2011-06-19 | reverse the face orientation on all triangles in the stl files exported from ↵ | Anthony LaTorre | |
sketchup. | |||
2011-06-18 | change curandstate array length to 100,000. gputhread.run() now correctly ↵ | Anthony LaTorre | |
initializes ALL of the states. | |||
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-07 | Switch triangle texture to device array, use int32 and float32 | Stan Seibert | |
datatypes everywhere, and build final mesh without concatenation of lists. This allows for very large detectors, like full size LBNE. | |||
2011-06-03 | load material/surface index lookup arrays to the gpu and bind them to ↵ | Anthony LaTorre | |
textures. also, forgot to include the gpu code for material/surface structures | |||
2011-06-03 | load materials/surfaces onto the gpu | Anthony LaTorre | |
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-02 | triangle mesh is now stored everywhere as a split list of vertices and triangles | Anthony LaTorre | |
2011-05-27 | kernel ran off the end of the ray array | Anthony LaTorre | |
2011-05-20 | faster bounding volume hierarchy construction | Anthony LaTorre | |
2011-05-18 | added test likelihood | Anthony LaTorre | |
2011-05-18 | added some more documentation and a more accurate miniature version of lbne | Anthony LaTorre | |
2011-05-17 | added documentation | Anthony LaTorre | |
2011-05-16 | added stl mesh viewer | Anthony LaTorre | |
2011-05-15 | cleanup. fixed tests | Anthony LaTorre | |
2011-05-15 | new geometry class. beginning to implement physics by defining a material ↵ | Anthony LaTorre | |
class; each triangle will have a material linked to both of its sides |