Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-06-24 | argument '-j' to threadtest.py now specifies a list of device ids to be ↵ | Anthony LaTorre | |
used. GPUThread objects now shallow copy the geometry so that threads are not writing to the same memory when the geometry is loaded onto the gpu. the model number for the 12" Hamamatsu PMT is R11708, not r7081 (which is the model for the 10" PMT); all references to the 12" PMT were changed accordingly. only allocate space for 20 materials and 20 surfaces on the gpu instead of 100 to save some space. started to modify track.py to build its own photons and module since the GPUThread object only copies photon hit times back from the gpu (not track information), but I am waiting to find out if pycuda GPUArrays can be used with vector types. | |||
2011-06-24 | speedup mesh intersection by skipping directly to the child node of nodes ↵ | Anthony LaTorre | |
with only one child. | |||
2011-06-22 | Switch from float4 to float3 for vertices. | Stan Seibert | |
2011-06-21 | speedup geometry.build() by using more iterators and keeping a list of ↵ | Anthony LaTorre | |
unique materials and surfaces in each solid. | |||
2011-06-21 | Merge speedup of build() | Stan Seibert | |
2011-06-21 | added rotate_extrude() and a number of functions to produce meshes of useful ↵ | Anthony LaTorre | |
solid shapes. tried to speed up geometry.build() by replacing some for loops with np.fromiter() and imap(). | |||
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-18 | moved 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-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 | oops; corrected material/surface code packing into fourth byte of triangle ↵ | Anthony LaTorre | |
data in Geometry.build() | |||
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-06-01 | first step towards moving to a new mesh/solid/geometry structure | 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 | typo | Anthony LaTorre | |
2011-05-16 | interleave the zvalue bits all at once; big speed improvement in building ↵ | Anthony LaTorre | |
the bounding volume hierarchy | |||
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 |