From 93db1923951b165f398eab020ffa4b60d5f9a02b Mon Sep 17 00:00:00 2001 From: "Gregory J. Ward" Date: Thu, 21 Jan 2021 21:36:28 +0000 Subject: [PATCH] perf: changed default setting of ambient value --- src/util/rad.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/util/rad.c b/src/util/rad.c index 13615805c..ca3aeba6a 100644 --- a/src/util/rad.c +++ b/src/util/rad.c @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: rad.c,v 2.127 2020/04/07 00:49:09 greg Exp $"; +static const char RCSid[] = "$Id: rad.c,v 2.128 2021/01/21 21:36:28 greg Exp $"; #endif /* * Executive program for oconv, rpict and pfilt @@ -790,8 +790,8 @@ ambval(void) /* compute ambient value */ { if (vdef(EXPOSURE)) { if (vval(EXPOSURE)[0] == '+' || vval(EXPOSURE)[0] == '-') - return(.5/pow(2.,vflt(EXPOSURE))); - return(.5/vflt(EXPOSURE)); + return(.18/pow(2.,vflt(EXPOSURE))); + return(.18/vflt(EXPOSURE)); } if (vlet(ZONE) == 'E') return(10.);