From a83c0f95bcd90001ce0f5f611385377adccbd918 Mon Sep 17 00:00:00 2001 From: Person Date: Tue, 21 Mar 2017 19:02:31 -0700 Subject: [PATCH] --Bug fixes -Remove old flam3 opacity/vizadjusted code. It makes no sense and produces bad results. --- Source/Ember/Xform.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Source/Ember/Xform.h b/Source/Ember/Xform.h index 31e121b..fecbbca 100644 --- a/Source/Ember/Xform.h +++ b/Source/Ember/Xform.h @@ -1244,10 +1244,11 @@ private: /// The adjusted opacity static T AdjustOpacityPercentage(T in) { - if (in == 0) + return in; + /* if (in == 0) return 0; - else - return std::pow(T(10.0), -std::log(T(1.0) / T(in)) / std::log(T(2))); + else + return std::pow(T(10.0), -std::log(T(1.0) / T(in)) / std::log(T(2)));*/ } vector m_Xaos;//Xaos vector which affects the probability that this xform is chosen. Usually empty.