mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-07-16 05:05:09 -04:00
--User changes
-Remove some warnings about interpolation type on first and last flames. --Code changes -Make DE block size always be 16x16, this should help stability on some Nvidia cards. No changes for AMD cards since they were that size already. -Since the block size is now so small, do not reduce it further when supersampling. -Clean up some variable names and documentation around OpenCL DE to be more clear.
This commit is contained in:
@ -344,16 +344,10 @@ public:
|
||||
if (emberSize > 0)
|
||||
{
|
||||
if (embers[0].m_Interp == eInterp::EMBER_INTERP_SMOOTH)
|
||||
{
|
||||
cout << "Warning: smooth interpolation cannot be used for first segment.\n switching to linear.\n";
|
||||
embers[0].m_Interp = eInterp::EMBER_INTERP_LINEAR;
|
||||
}
|
||||
|
||||
if (emberSize >= 2 && embers[emberSize - 2].m_Interp == eInterp::EMBER_INTERP_SMOOTH)
|
||||
{
|
||||
cout << "Warning: smooth interpolation cannot be used for last segment.\n switching to linear.\n";
|
||||
embers[emberSize - 2].m_Interp = eInterp::EMBER_INTERP_LINEAR;
|
||||
}
|
||||
}
|
||||
|
||||
//Finally, ensure that consecutive 'rotate' parameters never exceed
|
||||
|
Reference in New Issue
Block a user