From a2558210f5792001c90d4bcb8e5e0920b1c1c550 Mon Sep 17 00:00:00 2001 From: Erik Reckase Date: Tue, 28 Sep 2010 01:43:49 +0000 Subject: earlyclip mode now uses fuse=100, compatibility mode uses fuse=15 git-svn-id: https://flam3.googlecode.com/svn/trunk@18 77852712-ef1d-11de-8684-7d64432d61a3 --- src/rect.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/rect.c b/src/rect.c index 06e5656..562ebf8 100644 --- a/src/rect.c +++ b/src/rect.c @@ -33,7 +33,8 @@ /* allow this many iterations for settling into attractor */ -#define FUSE 100 +#define FUSE_27 15 +#define FUSE_28 100 #define WHITE_LEVEL 255 @@ -256,6 +257,9 @@ static void iter_thread(void *fth) { flam3_iter_constants *ficp = fthp->fic; struct timespec pauset; int SBS = ficp->spec->sub_batch_size; + int fuse; + + fuse = (ficp->spec->earlyclip) ? FUSE_28 : FUSE_27; double eta = 0.0; @@ -391,7 +395,7 @@ static void iter_thread(void *fth) { fthp->iter_storage[3] = flam3_random_isaac_01(&(fthp->rc)); /* Execute iterations */ - badcount = flam3_iterate(&(fthp->cp), sub_batch_size, FUSE, fthp->iter_storage, ficp->xform_distrib, &(fthp->rc)); + badcount = flam3_iterate(&(fthp->cp), sub_batch_size, fuse, fthp->iter_storage, ficp->xform_distrib, &(fthp->rc)); #if defined(HAVE_LIBPTHREAD) && defined(USE_LOCKS) /* Lock mutex for access to accumulator */ -- cgit v1.2.3