--Bug fixes

-Remove old flam3 opacity/vizadjusted code. It makes no sense and produces bad results.
This commit is contained in:
Person 2017-03-21 19:02:31 -07:00
parent dc8271b39a
commit a83c0f95bc

View File

@ -1244,10 +1244,11 @@ private:
/// <returns>The adjusted opacity</returns>
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<T> m_Xaos;//Xaos vector which affects the probability that this xform is chosen. Usually empty.