Revision: 15675 http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=15675 Author: unclezeiv Date: 2008-07-21 18:59:46 +0200 (Mon, 21 Jul 2008)
Log Message: ----------- Added requested error rate to console stats. Modified Paths: -------------- branches/soc-2008-unclezeiv/source/blender/render/intern/source/lightcuts.c Modified: branches/soc-2008-unclezeiv/source/blender/render/intern/source/lightcuts.c =================================================================== --- branches/soc-2008-unclezeiv/source/blender/render/intern/source/lightcuts.c 2008-07-21 16:40:32 UTC (rev 15674) +++ branches/soc-2008-unclezeiv/source/blender/render/intern/source/lightcuts.c 2008-07-21 16:59:46 UTC (rev 15675) @@ -1422,19 +1422,20 @@ BLI_heap_free(cut, 0); } -/* TODO SUN: more complete stats */ static void lightcuts_print_stats(LightcutsData *lcd) { printf("Lightcuts stats\n" "---------------\n" "Computed samples: %d\n" "Number of (point) lights: %d (%dl + %ds + %do)\n" + "Requested error rate: %.3f\n" "Max cut: %d\n" "Average cut size: %.2f\n" "Shadow rays: %.2f (%.2f%%)\n" "---------------\n", lcd->stat_samples, lcd->light_counter, lcd->trees[TREE_LOCAL].counter, lcd->trees[TREE_SUN].counter, lcd->trees[TREE_SPOT].counter, + lcd->error_rate, lcd->max_cut, (float)lcd->stat_cut_size / (float)lcd->stat_samples, (float)lcd->stat_rays_shot / (float)lcd->stat_samples, _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org http://lists.blender.org/mailman/listinfo/bf-blender-cvs