mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-04-19 09:21:42 -04:00
--User changes
-Add new variations: bubbleT3D, crob, hexaplay3D, hexcrop, hexes, hexnix3D, loonie2, loonie3, nBlur, octapol and synth. -Allow for pre/post versions of dc_bubble, dc_cylinder and dc_linear whereas before they were omitted. -When saving a file with multiple embers in it, detect if time values are all the same and if so, start them at zero and increment by 1 for each ember. -Allow for numerous quality increases to be coalesced into one. It will pick up at the end of the current render. -Show selection highlight on variations tree in response to mouse hover. This makes it easier to see for which variation or param the current mouse wheel action will apply. -Make default temporal samples be 100, whereas before it was 1000 which was overkill. -Require the shift key to be held with delete for deleting an ember to prevent it from triggering when the user enters delete in the edit box. -This wasn't otherwise fixable without writing a lot more code. --Bug fixes -EmberGenome was crashing when generating a sequence from a source file with more than 2 embers in it. -EmberGenome was improperly handling the first frame of a merge after the last frame of the loop. -These bugs were due to a previous commit. Revert parts of that commit. -Prevent a zoom value of less than 0 when reading from xml. -Slight optimization of the crescents, and mask variations, if the compiler wasn't doing it already. -Unique file naming was broken because it was looking for _# and the default names ended with -#. -Disallow renaming of an ember in the library tree to an empty string. -Severe bug that prevented some variations from being read correctly from params generated outside this program. -Severe OpenCL randomization bug. The first x coordinates of the first points in the first kernel call of the first ember of a render since the OpenCL renderer object was created were not random and were mostly -1. -Severe bug when populating xform selection distributions that could sometimes cause a crash due to roundoff error. Fix by using double. -Limit the max number of variations in a random ember to MAX_CL_VARS, which is 8. This ensures they'll look the same on CPU and GPU. -Prevent user from saving stylesheet to default.qss, it's a special reserved filename. --Code changes -Generalize using the running sum output point inside of a variation for all cases: pre, reg and post. -Allow for array variables in variations where the address of each element is stored in m_Params. -Qualify all math functions with std:: -No longer use our own Clamp() in OpenCL, instead use the standard clamp(). -Redesign how functions are used in the variations OpenCL code. -Add tests to EmberTester to verify some of the new functionality. -Place more const and override qualifiers on functions where appropriate. -Add a global rand with a lock to be used very sparingly. -Use a map instead of a vector for bad param names in Xml parsing. -Prefix affine interpolation mode defines with "AFFINE_" to make their purpose more clear. -Allow for variations that change state during iteration by sending a separate copy of the ember to each rendering thread. -Implement this same functionality with a local struct in OpenCL. It's members are the total of all variables that need to change state within an ember. -Add Contains() function to Utils.h. -EmberRender: print names of kernels being printed with --dump_kernel option. -Clean up EmberTester to handle some of the recent changes. -Fix various casts. -Replace % 2 with & 1, even though the compiler was likely doing this already. -Add new file Variations06.h to accommodate new variations. -General cleanup.
This commit is contained in:
parent
04e72c27de
commit
330074cfb2
@ -13,7 +13,7 @@
|
|||||||
<!--
|
<!--
|
||||||
Change this for every release.
|
Change this for every release.
|
||||||
-->
|
-->
|
||||||
<?define ProductCode="{F59721C4-C46D-4FFF-BEA4-803FA3BD0BFE}"?>
|
<?define ProductCode="{96EEC105-DB40-4453-AD22-ABA8BC03267D}"?>
|
||||||
|
|
||||||
<Product Id="$(var.ProductCode)" Name="$(var.ProductName)" Language="1033" Version="$(var.ProductVersion)" Manufacturer="$(var.Manufacturer)" UpgradeCode="$(var.UpgradeCode)">
|
<Product Id="$(var.ProductCode)" Name="$(var.ProductName)" Language="1033" Version="$(var.ProductVersion)" Manufacturer="$(var.Manufacturer)" UpgradeCode="$(var.UpgradeCode)">
|
||||||
<Package
|
<Package
|
||||||
|
@ -157,7 +157,8 @@
|
|||||||
<StructMemberAlignment>Default</StructMemberAlignment>
|
<StructMemberAlignment>Default</StructMemberAlignment>
|
||||||
<PrecompiledHeaderFile>EmberPch.h</PrecompiledHeaderFile>
|
<PrecompiledHeaderFile>EmberPch.h</PrecompiledHeaderFile>
|
||||||
<FloatingPointModel>Precise</FloatingPointModel>
|
<FloatingPointModel>Precise</FloatingPointModel>
|
||||||
<AdditionalOptions>/bigobj %(AdditionalOptions)</AdditionalOptions>
|
<AdditionalOptions>/bigobj
|
||||||
|
%(AdditionalOptions)</AdditionalOptions>
|
||||||
<StringPooling>true</StringPooling>
|
<StringPooling>true</StringPooling>
|
||||||
<FloatingPointExceptions>false</FloatingPointExceptions>
|
<FloatingPointExceptions>false</FloatingPointExceptions>
|
||||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||||
@ -228,7 +229,8 @@
|
|||||||
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
|
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
|
||||||
<PrecompiledHeaderFile>EmberPch.h</PrecompiledHeaderFile>
|
<PrecompiledHeaderFile>EmberPch.h</PrecompiledHeaderFile>
|
||||||
<StringPooling>true</StringPooling>
|
<StringPooling>true</StringPooling>
|
||||||
<AdditionalOptions>/bigobj %(AdditionalOptions)</AdditionalOptions>
|
<AdditionalOptions>/bigobj
|
||||||
|
%(AdditionalOptions)</AdditionalOptions>
|
||||||
<FloatingPointModel>Precise</FloatingPointModel>
|
<FloatingPointModel>Precise</FloatingPointModel>
|
||||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||||
<FloatingPointExceptions>false</FloatingPointExceptions>
|
<FloatingPointExceptions>false</FloatingPointExceptions>
|
||||||
@ -295,12 +297,12 @@
|
|||||||
<ClInclude Include="..\..\..\Source\Ember\Variations03.h" />
|
<ClInclude Include="..\..\..\Source\Ember\Variations03.h" />
|
||||||
<ClInclude Include="..\..\..\Source\Ember\Variations04.h" />
|
<ClInclude Include="..\..\..\Source\Ember\Variations04.h" />
|
||||||
<ClInclude Include="..\..\..\Source\Ember\Variations05.h" />
|
<ClInclude Include="..\..\..\Source\Ember\Variations05.h" />
|
||||||
|
<ClInclude Include="..\..\..\Source\Ember\Variations06.h" />
|
||||||
<ClInclude Include="..\..\..\Source\Ember\VariationsDC.h" />
|
<ClInclude Include="..\..\..\Source\Ember\VariationsDC.h" />
|
||||||
<ClInclude Include="..\..\..\Source\Ember\Xform.h" />
|
<ClInclude Include="..\..\..\Source\Ember\Xform.h" />
|
||||||
<ClInclude Include="..\..\..\Source\Ember\Isaac.h" />
|
<ClInclude Include="..\..\..\Source\Ember\Isaac.h" />
|
||||||
<ClInclude Include="..\..\..\Source\Ember\Timing.h" />
|
<ClInclude Include="..\..\..\Source\Ember\Timing.h" />
|
||||||
<ClInclude Include="..\..\..\Source\Ember\XmlToEmber.h" />
|
<ClInclude Include="..\..\..\Source\Ember\XmlToEmber.h" />
|
||||||
<ClInclude Include="resource1.h" />
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClCompile Include="..\..\..\Source\Ember\Affine2D.cpp" />
|
<ClCompile Include="..\..\..\Source\Ember\Affine2D.cpp" />
|
||||||
|
@ -116,8 +116,8 @@
|
|||||||
<ClInclude Include="..\..\..\Source\Ember\EmberMotion.h">
|
<ClInclude Include="..\..\..\Source\Ember\EmberMotion.h">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="resource1.h">
|
<ClInclude Include="..\..\..\Source\Ember\Variations06.h">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files\Variations</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
@ -298,6 +298,7 @@
|
|||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="..\..\..\Source\EmberCL\FinalAccumOpenCLKernelCreator.cpp" />
|
<ClCompile Include="..\..\..\Source\EmberCL\FinalAccumOpenCLKernelCreator.cpp" />
|
||||||
<ClCompile Include="..\..\..\Source\EmberCL\DEOpenCLKernelCreator.cpp" />
|
<ClCompile Include="..\..\..\Source\EmberCL\DEOpenCLKernelCreator.cpp" />
|
||||||
|
<ClCompile Include="..\..\..\Source\EmberCL\FunctionMapper.cpp" />
|
||||||
<ClCompile Include="..\..\..\Source\EmberCL\IterOpenCLKernelCreator.cpp" />
|
<ClCompile Include="..\..\..\Source\EmberCL\IterOpenCLKernelCreator.cpp" />
|
||||||
<ClCompile Include="..\..\..\Source\EmberCL\OpenCLInfo.cpp" />
|
<ClCompile Include="..\..\..\Source\EmberCL\OpenCLInfo.cpp" />
|
||||||
<ClCompile Include="..\..\..\Source\EmberCL\OpenCLWrapper.cpp" />
|
<ClCompile Include="..\..\..\Source\EmberCL\OpenCLWrapper.cpp" />
|
||||||
@ -309,6 +310,7 @@
|
|||||||
<ClInclude Include="..\..\..\Source\EmberCL\EmberCLStructs.h" />
|
<ClInclude Include="..\..\..\Source\EmberCL\EmberCLStructs.h" />
|
||||||
<ClInclude Include="..\..\..\Source\EmberCL\DEOpenCLKernelCreator.h" />
|
<ClInclude Include="..\..\..\Source\EmberCL\DEOpenCLKernelCreator.h" />
|
||||||
<ClInclude Include="..\..\..\Source\EmberCL\FinalAccumOpenCLKernelCreator.h" />
|
<ClInclude Include="..\..\..\Source\EmberCL\FinalAccumOpenCLKernelCreator.h" />
|
||||||
|
<ClInclude Include="..\..\..\Source\EmberCL\FunctionMapper.h" />
|
||||||
<ClInclude Include="..\..\..\Source\EmberCL\IterOpenCLKernelCreator.h" />
|
<ClInclude Include="..\..\..\Source\EmberCL\IterOpenCLKernelCreator.h" />
|
||||||
<ClInclude Include="..\..\..\Source\EmberCL\OpenCLInfo.h" />
|
<ClInclude Include="..\..\..\Source\EmberCL\OpenCLInfo.h" />
|
||||||
<ClInclude Include="..\..\..\Source\EmberCL\OpenCLWrapper.h" />
|
<ClInclude Include="..\..\..\Source\EmberCL\OpenCLWrapper.h" />
|
||||||
|
@ -42,6 +42,9 @@
|
|||||||
<ClCompile Include="..\..\..\Source\EmberCL\OpenCLInfo.cpp">
|
<ClCompile Include="..\..\..\Source\EmberCL\OpenCLInfo.cpp">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\Source\EmberCL\FunctionMapper.cpp">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClInclude Include="..\..\..\Source\EmberCL\OpenCLWrapper.h">
|
<ClInclude Include="..\..\..\Source\EmberCL\OpenCLWrapper.h">
|
||||||
@ -74,6 +77,9 @@
|
|||||||
<ClInclude Include="..\..\..\Source\EmberCL\OpenCLInfo.h">
|
<ClInclude Include="..\..\..\Source\EmberCL\OpenCLInfo.h">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
|
<ClInclude Include="..\..\..\Source\EmberCL\FunctionMapper.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ResourceCompile Include="EmberCL.rc">
|
<ResourceCompile Include="EmberCL.rc">
|
||||||
|
@ -338,7 +338,6 @@ xcopy /F /Y /R /D "$(SolutionDir)..\..\..\Data\flam3-palettes.xml" "$(OutDir)"</
|
|||||||
<ClCompile Include="..\..\..\Source\Fractorium\OptionsDialog.cpp" />
|
<ClCompile Include="..\..\..\Source\Fractorium\OptionsDialog.cpp" />
|
||||||
<ClCompile Include="..\..\..\Source\Fractorium\qcssparser.cpp" />
|
<ClCompile Include="..\..\..\Source\Fractorium\qcssparser.cpp" />
|
||||||
<ClCompile Include="..\..\..\Source\Fractorium\qcssscanner.cpp" />
|
<ClCompile Include="..\..\..\Source\Fractorium\qcssscanner.cpp" />
|
||||||
<ClCompile Include="..\..\..\Source\Fractorium\qcssscanner.h" />
|
|
||||||
<ClCompile Include="..\..\..\Source\Fractorium\QssDialog.cpp" />
|
<ClCompile Include="..\..\..\Source\Fractorium\QssDialog.cpp" />
|
||||||
<ClCompile Include="..\..\..\Source\Fractorium\QssTextEdit.cpp" />
|
<ClCompile Include="..\..\..\Source\Fractorium\QssTextEdit.cpp" />
|
||||||
<ClCompile Include="..\..\..\Source\Fractorium\SpinBox.cpp" />
|
<ClCompile Include="..\..\..\Source\Fractorium\SpinBox.cpp" />
|
||||||
|
Binary file not shown.
@ -315,6 +315,14 @@ QTreeView::item
|
|||||||
background-color: rgb(53, 53, 53);
|
background-color: rgb(53, 53, 53);
|
||||||
color: darkgray;
|
color: darkgray;
|
||||||
outline: none;
|
outline: none;
|
||||||
|
margin-right: 1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
QTreeView::item:hover
|
||||||
|
{
|
||||||
|
border: 0px none black;
|
||||||
|
background-color: gray;
|
||||||
|
outline: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
QTreeView::item:selected
|
QTreeView::item:selected
|
||||||
@ -609,3 +617,4 @@ QTableView#FinalRenderParamsTable QPushButton
|
|||||||
margin-bottom: 2px;
|
margin-bottom: 2px;
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
}
|
}
|
||||||
|
|