summaryrefslogtreecommitdiff
path: root/geometry.py
AgeCommit message (Collapse)Author
2011-06-21Switch vertex list on GPU from a texture to a standard device array.Stan Seibert
This avoids the texture size limitation.
2011-06-20pack 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-18moved class definitions for Solid, Mesh, Material, and Surface into ↵Anthony LaTorre
geometry.py and moved instances of these classes into separate folders. the Solid object no longer contains a rotation, displacement, or id variable; instead, they are passed to a geometry object when calling add_solid().
2011-06-17visually 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-12added some fun models; added some untested code to implement absorption, ↵Anthony LaTorre
scattering, reflection, and refraction
2011-06-07Switch triangle texture to device array, use int32 and float32Stan Seibert
datatypes everywhere, and build final mesh without concatenation of lists. This allows for very large detectors, like full size LBNE.
2011-06-03load 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-03load materials/surfaces onto the gpuAnthony LaTorre
2011-06-02oops; corrected material/surface code packing into fourth byte of triangle ↵Anthony LaTorre
data in Geometry.build()
2011-06-02material/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-02triangle mesh is now stored everywhere as a split list of vertices and trianglesAnthony LaTorre
2011-06-01first step towards moving to a new mesh/solid/geometry structureAnthony LaTorre
2011-05-20faster bounding volume hierarchy constructionAnthony LaTorre
2011-05-18added test likelihoodAnthony LaTorre
2011-05-18added some more documentation and a more accurate miniature version of lbneAnthony LaTorre
2011-05-17added documentationAnthony LaTorre
2011-05-16typoAnthony LaTorre
2011-05-16interleave the zvalue bits all at once; big speed improvement in building ↵Anthony LaTorre
the bounding volume hierarchy
2011-05-15cleanup. fixed testsAnthony LaTorre
2011-05-15new 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