From d6b112dd326c688d290fe382166409dc6785b669 Mon Sep 17 00:00:00 2001 From: Person Date: Sun, 5 Mar 2017 08:32:58 -0800 Subject: [PATCH] --Bug fixes: -Xaos has been wrong this entire time on the GPU because it was not selecting from the unweighted distributions on the very first iteration when fusing. --- Source/EmberCL/IterOpenCLKernelCreator.cpp | 2 +- Source/Fractorium/Fractorium.ui | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Source/EmberCL/IterOpenCLKernelCreator.cpp b/Source/EmberCL/IterOpenCLKernelCreator.cpp index 9f83d47..461c31c 100644 --- a/Source/EmberCL/IterOpenCLKernelCreator.cpp +++ b/Source/EmberCL/IterOpenCLKernelCreator.cpp @@ -280,7 +280,7 @@ string IterOpenCLKernelCreator::CreateIterKernelString(const Ember& ember, " firstPoint.m_Y = MwcNextNeg1Pos1(&mwc);\n" " firstPoint.m_Z = 0.0;\n" " firstPoint.m_ColorX = MwcNext01(&mwc);\n" - " firstPoint.m_LastXfUsed = 0;\n" + " firstPoint.m_LastXfUsed = 0 - 1;\n"//This ensures the first iteration chooses from the unweighted distribution array, all subsequent will choose from the weighted ones. " }\n" " else\n" " {\n" diff --git a/Source/Fractorium/Fractorium.ui b/Source/Fractorium/Fractorium.ui index 8168622..9506551 100644 --- a/Source/Fractorium/Fractorium.ui +++ b/Source/Fractorium/Fractorium.ui @@ -3060,7 +3060,7 @@ QTabWidget::Triangular - 1 + 2 @@ -3398,7 +3398,7 @@ - <html><head/><body><p>Set all xform color indices to 0 or 1</p></body></html> + <html><head/><body><p>Set all xform color indices to 0 or 1, alternating</p></body></html> Toggle Indices @@ -3408,7 +3408,7 @@ - <html><head/><body><p>Set all xform color indices to 0 or 1</p></body></html> + <html><head/><body><p>Set all xform color speed values to random numbers between 0 and 1, inclusive</p></body></html> Random Color Speed @@ -3418,7 +3418,7 @@ - <html><head/><body><p>Set all xform color indices to 0 or 1</p></body></html> + <html><head/><body><p>Set all xform color speed values to 0 or 1, alternating</p></body></html> Toggle Color Speed