From f5a328b72ebb643b51cae41a991c934da712f0e5 Mon Sep 17 00:00:00 2001 From: Anthony LaTorre Date: Tue, 19 Jul 2011 15:09:50 -0400 Subject: removed STL pmt models; pmt models are now built by calling rotate_extrude() 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. --- images/checkerboard_scene1.png | Bin 0 -> 72185 bytes images/lbne_liberty1.png | Bin 0 -> 370321 bytes images/lbne_liberty2.png | Bin 0 -> 942198 bytes images/lbne_liberty3.png | Bin 0 -> 370198 bytes 4 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 images/checkerboard_scene1.png create mode 100644 images/lbne_liberty1.png create mode 100644 images/lbne_liberty2.png create mode 100644 images/lbne_liberty3.png (limited to 'images') diff --git a/images/checkerboard_scene1.png b/images/checkerboard_scene1.png new file mode 100644 index 0000000..daac11c Binary files /dev/null and b/images/checkerboard_scene1.png differ diff --git a/images/lbne_liberty1.png b/images/lbne_liberty1.png new file mode 100644 index 0000000..6e230b0 Binary files /dev/null and b/images/lbne_liberty1.png differ diff --git a/images/lbne_liberty2.png b/images/lbne_liberty2.png new file mode 100644 index 0000000..cd7b618 Binary files /dev/null and b/images/lbne_liberty2.png differ diff --git a/images/lbne_liberty3.png b/images/lbne_liberty3.png new file mode 100644 index 0000000..7442e37 Binary files /dev/null and b/images/lbne_liberty3.png differ -- cgit