Makefile: added help and distclean target, plus small fixes
ccdemos/common_sdl.h:
print fps to window caption instead of console
update and key callbacks
fixed segfault when resizing window
pressing c now causes print out of camera coordinates
ccdemos/spheres_shadow.cc: controlling position of a light and focal length of camera
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: clean
rm -rf bunny
rm -rf happy
rm -rf dragon