-Add new palettes from user Rubydeva.
--Bug fixes
-Avoid an occasional divide by zero in the OpenCL renderer when using the interactive editor.
--Code changes
-Use exact comparisons in IsID() and IsZero() in Affine2D.
-When testing for bad point values while iterating, only test for NaN now.
-For rendering with OpenCL on the command line and in the final render dialog, use an optimized kernel that does a direct assignment for any affines which are ID.
-Further work on the About box.
--Change qss files to make the text box in the About box be the same color as the one in the style dialog, so the link text is easier to see.
--This requires reloading the qss file.
--Bug fixes
-Pre/post assign method was wrong for Sphereblur, Concentric, RandCubes and PixelFlow.
--Code changes
-Make Hypershift2 use MwcNextRange() instead of MwcNext() %.
-Add m_HasPre to Xform similar to m_HasPost, to skip application of the affine if it's the ID matrix (in this case just assign the input x and y points). This gives a 5% speedup.
-New look for the About dialog, it was growing too large before. More work to be done on it in a follow up commit.
--Bug fixes
-Fix build with new glm, no longer uses type_int.hpp.
-Add buttons to copy and paste affine transforms.
-Show xform names on the column headers of the xaos table.
-Add a color-coded third column to the variations tree which shows any properties of each variation which are non-standard.
-Draw a transparent circle over hovered xforms.
-Change how xforms respond to dragging. Rotate only is now the default, and scale will only happen with shift.
--Optionally do scale and rotate when holding shift, via a setting in the options dialog.
--Bug fixes
-Snapping when dragging was wrong sometimes.
-The program would very rarely crash on startup due to some values being in an uninitialized state.
--Code changes
-Change almost every variation to use fma() in OpenCL when doing computations of the form a * b + c. This provides a slight speedup, mostly in double precision mode.
-Also apply fma() to affine calcs.
-Cleanup of OpenGL affine drawing code.
-Separate the concept of hovering and selecting xforms.
-Attempt to preserve xaos when adding xforms. Note this is not an exact copy, but just a preservation of some values based on position.
-Add some acceleration to the changing of spinner values when dragging the right mouse button to adjust.
-Make the pivot be the center of the viewable area when doing drag/rotate/scale with the right mouse button.
--Clamp minimum scale to 10
--Draw a line from the mouse position to the pivot.
-Keep a cache of the last added final xform with each flame so that it can be quickly added, removed, then added back for testing its effect.
--This is not saved with the xml file and is solely for interactive editing.
--Bug fixes
-File filtering in open and save dialogs were broken.
-Right clicking on integer spin boxes was causing the context menu to pop up, when it should be supressed just like double spin boxes.
-Deleting xforms was still broken.
--Code changes
-Refactor the code for adding and pasting xforms into a single global static function called AddXformsWithXaos().
-Give tabs a height of 4px in the qss files. Looks a little large on 4k screens, but just right on HD screens which are much more common.
-Allow for styling of zero and non-zero variation tree nodes via qss.
-Allow for toggling whether to interpolate between colors in the palette editor, or to do hard cuts between colors.
-Allow for adjusting spinner values with the + = or up arrow keys to increase, and - _ or down arrow keys to decrease.
-Allow for responding to global presses of + = and - _ to cycle up or down to specify which xform is set as the current one.
-Allow for adding "layers" via xaos which will add a user-specified number of xforms, and set certain xaos values to 0 or 1.
-Add a new menu item under the Edit menu to copy the OpenCL iteration kernel source to the clipboard.
-Show text on the status bar which indicates that an OpenCL kernel compilation is taking place.
-Show xform name on xform combo box when expanded. Adjust size to fit all names.
-Draw post affine circles using dashed lines.
-Prevent QSS dialog from styling its editor, which makes it easier to see text when creating styles which have custom colors for text boxes.
--Bug fixes
-Fix up some table layouts which seemed to have regressed/decayed over time for reasons unknown.
-Using undo/redo would create a new flame in the library every time.
-Solo was not being preserved when using undo/redo.
--Code changes
-Make the solo flag be a part of the flame data now.
-Fix some tabification in the OpenCL code for EllipticVariation.
-Fix tabification in the varState code for OpenCL.
-Add an event called m_CompileBegun to RendererCL that is called right before an OpenCL compile is begun.
--This required making RendererCLBase not a pure virtual base class. Member functions just return defaults.
-Filter key presses on main window to only process the third one. This is due to Qt triggering three events for every key press.
-The palette preview table was installing an event filter for seemingly no reason. Remove it.
-Mark certain virtual functions as override in SpinBox and DoubleSpinBox.
-Double clicking on width or height spinner resizes both, but scales to the one double clicked.
--Bug fixes
-Show grid setting was not being preserved during program run, only on close.
-Zooming with the mouse wheel was broken for images whose size is greater than the screen area.
-No longer constrain pitch, yaw or depth spinners to -180 - 180.
--Bug fixes
-Properly set color index on padded xforms.
-Adding a padding final xform included a linear variation with a weight of zero to not appear empty. Made it have a weight of 1.
-Always write animate tag on final xform when saving to Xml.
-Motion was being applied to the wrong flame in SheepTools::Edge(), so apply it to the correct one.
-Prevent divide by zero when normalizing variation weights.
-Was accidentally adding the placeholder value of -9999 for motion_offset to varation weights and parameters when applying motion. Set to zero if no value present.
-Clamp flame rotation values to -180 - 180 when reading a flame from Xml.
-Events were not properly wired for user changes in the random rotations per blend controls in the sequencer.
-Fix major UI bugs with sequencer min/max random controls which made it nearly impossible to hand type values.
-Values from rotations per blend and rotations per blend max were not being saved to file between program runs.
-Checking animate for an xform was not applied to all flames even if Apply All was checked.
-Changing interpolation type, temporal filter width, temporal type, and affine interpolation type were not actually saving to the flame when changed.
-Grid on the main window was not being drawn at the right scale initially due to some OpenGL initialization occurring in the wrong order.
-Severe bugs in sequence generation code:
--Improperly detected padding xforms.
--When looking for specific variations during xform aligning, only presence was detected, when it should have been presence plus a weight greater than zero.
--When adding specific variations during xform aligning, must first remove any variations of that type.
--Two variables were unsigned when they should have been signed. This prevented large blocks of code from ever executing.
--When interpolating affines, an EPS that was too small was used, causing affine values to interpolate incorrectly. Instead use 1e-10 to ensure results equal to flam3.
--Code changes
-Modify FractoriumEmberController::UpdateXform() to pass the selected xform index as well as the absolute index to func().
-Add two new variations, hyperbolic and hypershift2.
-Allow for animating final xforms.
-More detailed diagnostics when any action in the OpenCL renderer fails.
-Allow for creating an OpenCL renderer which does not share a texture with the main window, and instead manually copies its final output image from GPU to CPU then back to GPU.
--Bug fixes
-Text was not properly being copied out of the Info | Bounds text box.
--Code changes
-Remove Renderer::AccumulatorToFinalImage(v4F* pixels, size_t finalOffset), it's no longer needed or makes sense.
-Controllers no longer keep track of shared status, it's kept inside the renderers.
-Make getter functions in FractoriumOptionsDialog be public.
-Allow for pausing and resuming of final renders.
--Code changes
-Only instantiate float version of Palette and PaletteList, no need for double since it's never used.
-Allow for FinalRenderDialog to be queried on whether it's currently rendering.
-Support 4k monitors, and in general, properly scale any monitor that is not HD.
-Allow for a spatial filter of radius zero, which means do not use a spatial filter.
-Add new variations: concentric, cpow3, helicoid, helix, rand_cubes, sphereblur.
-Use a new method for computing elliptic which is more precise. Developed by Discord user Claude.
-Remove the 8 variation per xform limitation on the GPU.
-Allow for loading the last flame file on startup, rather than randoms.
-Use two different default quality values in the interactive renderer, one each for CPU and GPU.
-Creating linked xforms was using non-standard behavior. Make it match Apo and also support creating multiple linked xforms at once.
--Bug fixes
-No variations in an xform used to have the same behavior as a single linear variation with weight 1. While sensible, this breaks backward compatibility. No variations now sets the output point to zeroes.
-Prevent crashing the program when adjusting a value on the main window while a final render is in progress.
-The xaos table was inverted.
--Code changes
-Convert projects to Visual Studio 2017.
-Change bad vals from +- 1e10 to +-1e20.
-Reintroduce the symmetry tag in xforms for legacy support in programs that do not use color_speed.
-Compiler will not let us use default values in templated member functions anymore.
--Bug fixes
-Strips renders crashed.
-Better handling of large memory allocations by forcing a free of previous allocations.
-Final render dialog did not properly save last used extension setting.
-Density filtering progress bar in final render dialog did not update if only log scaling was being used.
--Added panorama1 and panorama2 variations.
Bug fixes:
--crackle had a bug with Nvidia GPUs.
Code changes:
--crackle now uses real_t* for cache rather than real2. This is what was causing the bug.
--Make the local offsets array used in crackle a precalc since it's the same for all. This reduces register pressure.
--Get rid of all usages of real3, just to be safe since Nvidia doesn't like them.
--#define TOTAL_GLOBAL_SIZE_END in the OpenCL iteration kernel just for debugging purposes to see how large the parvars buffer is.
--Disallow the use of synth when randomly generating xforms if the user has an Nvidia device present on their system.
Code changes:
--Use some CPU defines in CL code.
--Change curves color scaling buffer to be 2^16 per channel instead of 2^17 which was probably overkill.
--Code in RendererClDevice::Init() to detect Nvidia was wrong even thought it technically worked.
--Add support for Exr files which use 32-bit floats for each RGBA channel. Seems to come out too washed out.
--Allow for clearing an individual color curve.
--Allow for saving multiple image types in EmberRender and EmberAnimate. All writes are threaded.
--Remove --bpc command line argument. Add format png16 as a replacement.
--Remove --enable_jpg_comments and --enable_png_comments command line arguments, and replace them with --enable_comments which applies to jpg, png and exr.
--Add menu items to variations and affine spinners which allow for easy entry of specific numeric values like pi.
--Make final render dialog be wider rather than so tall.
Bug fixes:
--Fix some OpenCL compile errors on Mac.
--Remove ability to save bitmap files on all platforms but Windows.
Code changes:
--New dependency on OpenEXR.
--Allow Curves class to interact with objects of a different template type.
--Make m_Curves member of Ember always use float as template type.
--Set the length of the curves array to always be 2^17 which should offer enough precision with new 32-bit float pixel types.
--Set pixel types to always be 32-bit float. This results in a major reduction of code in the final accumulation part of Renderer.h/cpp.
--Remove corresponding code from RendererCL and FinalAccumOpenCLKernelCreator.
--Remove Transparency, NumChannels and BytesPerPixel setters from Renderer.h/cpp.
--Add new global functions to format final image buffers and place all alpha calculation and scaling code in them.
--Blending is no longer needed in OpenGLWidget because of the new pixel type.
--Make new class, AffineDoubleSpinBox.
--Attempt to make file save dialog code work the same on all OSes.
--Remove some unused functions.
-Attempt to fix several OpenCL build errors that were occurring on Mac.
--Code changes
-Improve the coloring code during final accum by getting rid of the last remnants of unnecessary scaling to 255 from flam3.
-Begin work of supporting 16bpc on the GPU.
--User changes
-dark.qss is now per-OS.
-Properly set/reload palette when coming from the palette editor. The latter must be done if they've modified the current palette even if they've clicked cancel.
--Bug fixes
-Make the following variations safer by using Zeps(): conic, bipolar, edisc, whorl, tan, csc, cot, tanh, sech, csch, coth, auger, bwraps, hypertile3d, hypertile3d1, ortho, poincare, rational3, barycentroid, sschecks, cscq, cschq, scry_3D, splitbrdr, hexcrop, nblur, crob.
-Fix bug enabling/disabling overwrite button in palette editor.
-Small optimization for gdoffs, use precalcAtanYX.
-Properly propagate z through circlesplit, cylinder2 and tile_log variations.
-Some values in truchet_fill could've been NaN.
--Code changes
-Make most installation files read only.
-Qualify many calls with std:: to ensure they're not colliding with glm::
-Use auto in more places.
--User changes
-Make all fonts be MS Shell Dlg 2. This will require reloading dark.qss if users are already using it.
-Limit size of the left side of the palette editor.
-Disable create from image buttons in the palette editor when working on a fixed palette.
--Bug fixes
-The following variations were wrong: coshq, cothq.
-During iteration, the color index could become nan if all xform color speeds were negative. This could lead to bad results on the GPU. Fix to check for nan. Minimal speed difference.
--Code changes
-Make the following variations safer by using Zeps(): sinq, sinhq, secq, sechq, tanq, tanhq, cosq, coshq, cotq, cothq, cscq, cschq, estiq.
-Always pass -cl-no-signed-zeros -cl-denorms-are-zero to kernel compiles for both single and double.
-Flush all denormals to zero for all executable programs. This will likely lead to a speedup for badly behaving programs.
--User changes
-Add support for adjusting xform color indices in the palette editor. Fixed palettes can now be displayed there, but they will have no color arrows as they are not editable.
-Add support for independent dimension scaling in the EmberRender and EmberAnimate programs to bring them in line with the final render dialog Fractorium.
--Bug fixes
-File paths with a space in them did not work in the command line programs.
-Any Xml file in the search paths would erroneously be treated as a palette file.
--Code changes
-Change some for loops to while loops when iterating through xforms.
-Allow FractoriumEmberController<T>::UpdateXform() to be able to apply the action to an xform at a specific index.
-Remove old code blocks build files that were never used.
-Make GetPath() return empty string if no path is present in the passed in file path.
-GetTotalXform() was always counting the final xform, even if it was unused.
--Bug fixes
-Fractorium would occasionally freeze after dismissing the final render dialog because some values were not properly re-initialized.
--Code changes
-Remove VS 2013 build files.
-Qualify sqrt with std:: in ColorTriangle.cpp
-Bump to version 1.0.0.3
-Remove all code for opacity adjustment, it's no longer needed.
-Small optimization on accumulating to the histogram on the CPU.
-Add a palette editor.
-Add support for reading .ugr/.gradient/.gradients palette files.
-Allow toggling on spinners whose minimum value is not zero.
-Allow toggling display of image, affines and grid.
-Add new variations: cylinder2, circlesplit, tile_log, truchet_fill, waves2_radial.
--Bug fixes
-cpow2 was wrong.
-Palettes with rapid changes in color would produce slightly different outputs from Apo/Chaotica. This was due to a long standing bug from flam3.
-Use exec() on Apple and show() on all other OSes for dialog boxes.
-Trying to render a sequence with no frames would crash.
-Selecting multiple xforms and rotating them would produce the wrong rotation.
-Better handling when parsing flames using different encoding, such as unicode and UTF-8.
-Switching between SP/DP didn't reselect the selected flame in the Library tab.
--Code changes
-Make all types concerning palettes be floats, including PaletteTableWidgetItem.
-PaletteTableWidgetItem is no longer templated because all palettes are float.
-Include the source colors for user created gradients.
-Change parallel_for() calls to work with very old versions of TBB which are lingering on some systems.
-Split conditional out of accumulation loop on the CPU for better performance.
-Vectorize summing when doing density filter for better performance.
-Make all usage of palettes be of type float, double is pointless.
-Allow palettes to reside in multiple folders, while ensuring only one of each name is added.
-Refactor some palette path searching code.
-Make ReadFile() throw and catch an exception if the file operation fails.
-A little extra safety in foci and foci3D with a call to Zeps().
-Cast to (real_t) in the OpenCL string for the w variation, which was having trouble compiling on Mac.
-Fixing missing comma between paths in InitPaletteList().
-Move Xml and PaletteList classes into cpp to shorten build times when working on them.
-Remove default param values for IterOpenCLKernelCreator<T>::SharedDataIndexDefines in cpp file.
-Change more NULL to nullptr.
--User changes
-Add many tooltips to help clarify functionality.
-Select multiple flames in library for del/move. Still only one allowed to be set as the current.
-Show checkbox for current flame. Remember this is not necessarily what's selected.
-User can now drag a square to select xforms, which keeps in sync with checkboxes.
-Remove --nframes from command line. Replace with new params: --loopframes, --interpframes, --interploops.
-Add two new options to EmberGenome: --cwloops --cwinterploops to specify whether rotation should go clockwise instead of the default counter clockwise.
-Add these to Fractorium as checkboxes.
-Apply All now also works for toggling animate flag on xforms.
-Options dialog now allows user to set whether double click toggles spinners, or right click does.
--Bug fixes
-Selecting final and non-final xforms, and then dragging the non-final did not drag the final with it.
-Selecting all xforms when a final was present, then deleting crashed the program.
-Remove support for ppm files in the command line programs, it's an outdated format.
-Switching between SP and DP kept reapplying the palette adjustments.
--Code changes
-Move build system to Visual Studio 2015 and Qt 5.6.
-SSE used during addition of points to the histogram.
-Remove last remnants of old flam3 C code and replace with C++.
-Remove unused code involving tbb::task_group.
-Make settings object a global shared_ptr singleton, so it doesn't have to be passed around.
-Add animation sequence creation to Fractorium.
-Add two new options to EmberGenome which are used when generating an animation sequence.:
--startcount: Add this number to the filename of each flame.
--padding: Override the automatically calculated amount of padding zeroes added to each filename.
--Bug fixes
-Prevent filenames in command line programs from using scientific notation when rendering a large number of frames.
-Fix tab orders to match newer GUI items which were overlooked in previous releases.
-Re-render previews if transparency value in the options dialog was changed. Re-rendering was previously only done if early clip or y axis up was changed.
-Use transparency when rendering thumbnail previews.
--Code changes
-Wrap EmberCommon.h in a namespace called EmberCommon.
-Move FormatName() from EmberGenome to EmberCommon.h/cpp
-Add a prefix parameter to EmberFile::DefaultFilename() to allow for creating a default filename for sequences.
-When showing the final render dialog, allow specifying where it came from: the toolbar or the render sequence button.
-Refactor all preview rendering code out into its own class hierarchy with overrides for the main window and the final render dialog.
-Remove all preview render cancelling functions, they are now built into the new class hierarchy and a new render will not start until the previous one is stopped.
-Add two new function ConstrainLow() and ConstrainHigh() which wrap constraining two min/max spinboxes to each others' values.
-Add a bool to FractoriumEmberControllerBase::CopyEmberFile() to specify whether to copy the main file or the sequence file. This is somewhat of a hack and was done in a rush.
-Add a bool to FractoriumEmberControllerBase::SetEmberFile() to specify whether to move the file rather than copy. This is used in FinalRenderEmberController and improves efficiency.
-Add wrapper functions for variations filter dialog settings.
-Add a new option --statevars to EmberGenome to list the variations which change state.
-Allow for filtering in the Variations Dialog based on the same types listed in the EmberGenome options.
--Code changes
-More correctly populate VariationList::m_ParametricVariations and VariationList::m_NonParametricVariations to account for variations which have params only used for precalc.
-Consolidate some of the code in VariationList which searches by name.
-Add new options to EmberGenome to better help assess which variations have certain characteristics. The options are:
--sumvars: Display the names of all regular variations which have the default behavior of summing their outputs and exit.
--assignvars: Display the names of all regular variations which have the non-standard behavior of assigning their outputs and exit.
--ppsumvars: Display the names of all pre/post variations which have the non-standard behavior of summing their outputs and exit.
--ppassignvars: Display the names of all pre/post variations which have the default behavior of assigning their outputs and exit.
--dcvars: Display the names of all variations which use direct coloring and exit.
--parvars: Display the names of all variations which have parameters and exit.
--nonparvars: Display the names of all variations which do not have parameters (weight only) and exit.
--Code changes
-Make VariationList vectors have const elements since no callers should ever change them.
-Add new function to VariationList to retrieve a const ref to the parametric variations.
-Move some search functions out of EmberTester and into EmberCommon.h.
-General code cleanup.
-Highlight power is now on by default.
-Allow for adjustments on the Flame tab to apply to all open flames in the file.
-Add two new buttons to the color tab to randomize and toggle the xform color indices.
-Remove the --strip option from EmberGenome. It was useless and was likely just a carry over from flam3 during its early debugging stages when testing strips.
-Make randoms in EmberGenome have default dimensions of 1920 x 1080.
-Prevent --inter and --rotate in EmberGenome from rotating backward before the first flame since it doesn't really make sense.
-Ensure every loaded flame has at least one xform in it.
-Change dark.qss to hide dotted selection outline around checkboxes. Users must reload it to take effect.
--Bug fixes
-The saving of last.flame during editing was appending the file when it should have been replacing.
-It was impossible for EmberGenome to create a random flame. It can now be done by specifying no arguments: EmberGenome.exe
-Crossing in EmberGenome was not logging the performed actions to the edit Xml tag.
-Apply sub batch size and fuse count to template files used on the command line.
-Use new default filter types with template files.
--Code changes
-Use cerr in SheepTools instead of cout.
-Set m_SubBatchSize and m_FuseCount to default values in Ember::Clear().
-Clean up some command line options text formatting.