Radek Brich <radek.brich@devl.cz> [Sat, 29 Dec 2007 13:53:33 +0100] rev 42
cleaned Texture interface
new C++ demo: textures
slightly adjusted SAH for kd-tree
slightly optimized kd-tree building -- moved termination cond. so it's tested before recursion
minor sphere intersection optimization
Radek Brich <radek.brich@devl.cz> [Tue, 18 Dec 2007 12:36:01 +0100] rev 41
fix possible division by zero in ccdemos/common_ply.h
don't use DEFS variable in makefiles, just add it to CCFLAGS
compile float version of libs with -fsingle-precision-constant
Radek Brich <radek.brich@devl.cz> [Mon, 17 Dec 2007 22:03:50 +0100] rev 40
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
Radek Brich <radek.brich@devl.cz> [Fri, 14 Dec 2007 16:51:22 +0100] rev 39
ccdemos: put the common code to header files, common_ply.h and common_sdl.h
move all ccdemos on octree and make them all realtime (-i argument)
Radek Brich <radek.brich@devl.cz> [Fri, 14 Dec 2007 10:34:31 +0100] rev 38
realtime_dragon demo: now fullsize model + octree
realtime_bunny demo: bigger resolution
Box, Sphere: implemented AABB intersection
new stop condition for octree building (when number of shapes in children >= 6x shapes in parent node)
fixes for octree traversal
Radek Brich <radek.brich@devl.cz> [Fri, 14 Dec 2007 00:05:54 +0100] rev 37
octree traversal rewritten to avoid recursion
reenabled -O3 optimizations (was accidentaly disabled, now it traces even faster! :-))
realtime_bunny: added FPS counter, fixed a bug in ply loader
min3 and max3 templates added to common.h
Radek Brich <radek.brich@devl.cz> [Thu, 13 Dec 2007 00:08:11 +0100] rev 36
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)