From 8eec1bd5fd39b3991f660726cf41dc899347a81f Mon Sep 17 00:00:00 2001 From: Anthony LaTorre Date: Tue, 26 Jul 2011 21:10:10 -0400 Subject: added a camera class which is able to render using the simple ray tracer or 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. --- solids/sno_cone.txt | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 solids/sno_cone.txt (limited to 'solids/sno_cone.txt') diff --git a/solids/sno_cone.txt b/solids/sno_cone.txt new file mode 100644 index 0000000..bf666cc --- /dev/null +++ b/solids/sno_cone.txt @@ -0,0 +1,21 @@ +#DataThief /Users/stan/Downloads/./sno_pmt.png Tuesday 26-Jul-2011 3:33:52 PM +-133.6402, 130.0879 +-133.673, 123.0691 +-133.7058, 116.0503 +-133.0342, 109.7357 +-132.3659, 102.7194 +-131.6944, 96.4048 +-130.3251, 89.3909 +-128.2481, 83.7831 +-126.8788, 76.7691 +-124.8018, 71.1613 +-122.7282, 64.8516 +-119.9503, 59.2462 +-117.1756, 52.9388 +-114.3976, 47.3335 +-111.6197, 41.7281 +-108.1407, 36.1251 +-104.6617, 30.5222 +-100.4816, 24.9216 +-97.5145, 22.2998 + -- cgit