mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-01-21 05:00:06 -05:00
de613404de
--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.
57 lines
1.4 KiB
Batchfile
57 lines
1.4 KiB
Batchfile
REM Make final output folder
|
|
mkdir Deps
|
|
|
|
REM Move to parent of deps folders
|
|
cd ..
|
|
git clone https://github.com/madler/zlib.git
|
|
git clone https://github.com/glennrp/libpng.git
|
|
git clone https://github.com/GNOME/libxml2.git
|
|
git clone https://github.com/g-truc/glm.git
|
|
|
|
REM Set VC paths
|
|
set INCLUDE=%INCLUDE%;C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Include;C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include;C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin;
|
|
|
|
REM libjpeg
|
|
copy fractorium\Builds\MSVC\WIN32.MAK libjpeg
|
|
cd libjpeg
|
|
nmake /f makefile.vc setup-v10 CPU=i386
|
|
nmake nodebug=1 /f makefile.vc all CPU=i386
|
|
copy libjpeg.lib ..\fractorium\Deps
|
|
cd ..
|
|
|
|
REM zlib
|
|
cd zlib
|
|
nmake -f win32/Makefile.msc all
|
|
copy zlib.lib ..\fractorium\Deps
|
|
cd ..
|
|
|
|
REM libxml2
|
|
cd libxml2\win32
|
|
cscript configure.js compiler=msvc iconv=no zlib=yes include=..\..\zlib lib=..\..\fractorium\Deps
|
|
nmake /f Makefile.msvc all
|
|
cd bin.msvc
|
|
copy libxml2.dll ..\..\..\fractorium\Deps
|
|
copy libxml2.lib ..\..\..\fractorium\Deps
|
|
cd ..\..\..
|
|
|
|
REM libpng
|
|
cd libpng
|
|
mkdir zlib
|
|
copy ..\zlib\zlib.lib zlib
|
|
copy ..\zlib\zlib.h zlib
|
|
copy ..\zlib\zconf.h zlib
|
|
nmake -f scripts\makefile.vcwin32 all
|
|
copy libpng.lib ..\fractorium\Deps
|
|
cd ..
|
|
|
|
REM tbb
|
|
cd tbb\build\vs2012
|
|
devenv.exe tbb.vcxproj /upgrade
|
|
msbuild tbb.vcxproj /p:Configuration=Release
|
|
copy X64\Release\tbb.dll ..\..\..\fractorium\Deps
|
|
copy X64\Release\tbb.lib ..\..\..\fractorium\Deps
|
|
cd ..\..\..
|
|
|
|
openexr.cmd
|
|
|