new virtual Shape::intersect_bbox
implementation of triangle-AABB intersection
octree building updated and simplified with help of this new method
octree made default for Python, it's currently much faster than kd-tree (both building and traversal)
ifndef $(ROOT)
ROOT=$(shell pwd)/..
endif
all: models
models: bunny happy dragon
bunny:
wget ftp://graphics.stanford.edu/pub/3Dscanrep/bunny.tar.gz
tar xzf bunny.tar.gz
rm bunny.tar.gz
rm -rf bunny/data
mv bunny/reconstruction/* bunny
rmdir bunny/reconstruction
happy:
wget ftp://graphics.stanford.edu/pub/3Dscanrep/happy/happy_recon.tar.gz
tar xzf happy_recon.tar.gz
rm happy_recon.tar.gz
mv happy_recon happy
dragon:
wget ftp://graphics.stanford.edu/pub/3Dscanrep/dragon/dragon_recon.tar.gz
tar xzf dragon_recon.tar.gz
rm dragon_recon.tar.gz
mv dragon_recon dragon
clean: ;
distclean:
rm -rf bunny
rm -rf happy
rm -rf dragon