From 897e550a72d545f5f10b14e83bb559425d17b633 Mon Sep 17 00:00:00 2001 From: Erik Reckase Date: Wed, 29 Dec 2010 20:49:22 +0000 Subject: now multiplies the count by the opacity to allow xform opacity to affect DE filter width git-svn-id: https://flam3.googlecode.com/svn/trunk@148 77852712-ef1d-11de-8684-7d64432d61a3 --- src/rect.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rect.c b/src/rect.c index ef6dfa6..4704f48 100644 --- a/src/rect.c +++ b/src/rect.c @@ -461,7 +461,7 @@ static void iter_thread(void *fth) { bump_no_overflow(b[0][1], logvis*ficp->dmap[color_index0].color[1]); bump_no_overflow(b[0][2], logvis*ficp->dmap[color_index0].color[2]); bump_no_overflow(b[0][3], logvis*ficp->dmap[color_index0].color[3]); - bump_no_overflow(b[0][4], 255.0); + bump_no_overflow(b[0][4], logvis*255.0); #else dbl_index0 = p[2] * CMAP_SIZE; color_index0 = (int) (dbl_index0); @@ -506,7 +506,7 @@ static void iter_thread(void *fth) { bump_no_overflow(b[0][1], logvis*interpcolor[1]); bump_no_overflow(b[0][2], logvis*interpcolor[2]); bump_no_overflow(b[0][3], logvis*interpcolor[3]); - bump_no_overflow(b[0][4], 255.0); + bump_no_overflow(b[0][4], logvis*255.0); } #endif -- cgit v1.2.3