clray

diff src/scene.cc @ 44:e7f79c6ad246

added maximum node face limit by default
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 28 Aug 2010 21:50:17 +0100
parents 4bcf78e572d6
children 54a96b738afe
line diff
     1.1 --- a/src/scene.cc	Sat Aug 28 09:38:49 2010 +0100
     1.2 +++ b/src/scene.cc	Sat Aug 28 21:50:17 2010 +0100
     1.3 @@ -24,8 +24,8 @@
     1.4  
     1.5  
     1.6  static int accel_param[NUM_ACCEL_PARAMS] = {
     1.7 -	40,	// max tree depth
     1.8 -	0,	// max items per node (0 means ignore limit)
     1.9 +	64,	// max tree depth
    1.10 +	MAX_NODE_FACES,	// max items per node (0 means ignore limit)
    1.11  	5,	// estimated traversal cost
    1.12  	15	// estimated interseciton cost
    1.13  };