*introduced new method for packing/optimizing trees after building

(this is a generalization of some of the experimental stuff i tried during SoC,
 but only had time to improve a few days ago)
 - it should yield slightly better results
 - the cost model can somehow be tweaked to optimize for diferent trees.

*cleaned up some code
*added counters for number of SIMD BB tests
*added GPL license block on missing files
This commit is contained in:
2009-09-06 19:14:06 +00:00
parent ea18c6ef0a
commit 64af3a2618
15 changed files with 465 additions and 155 deletions

View File

@@ -53,7 +53,7 @@ struct RayCounter
{
unsigned long long test, hit;
} faces, bb, raycast, raytrace_hint, rayshadow_last_hit;
} faces, bb, simd_bb, raycast, raytrace_hint, rayshadow_last_hit;
};
/* #define RE_RC_INIT(isec, shi) (isec).count = re_rc_counter+(shi).thread */