diff options
author | Erik Reckase <e.reckase@gmail.com> | 2010-09-28 01:43:49 +0000 |
---|---|---|
committer | Scott Draves <spot@draves.org> | 2015-02-15 12:20:13 -0500 |
commit | a2558210f5792001c90d4bcb8e5e0920b1c1c550 (patch) | |
tree | c2e2cda7960faaff17e2ea612951ff1c79bd2162 /src | |
parent | 22a1b64c8a26b4a33f37a64149520a351f323693 (diff) | |
download | pucket-a2558210f5792001c90d4bcb8e5e0920b1c1c550.tar.gz pucket-a2558210f5792001c90d4bcb8e5e0920b1c1c550.tar.bz2 pucket-a2558210f5792001c90d4bcb8e5e0920b1c1c550.zip |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/rect.c | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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 */ |