Skip to content

Releases: buddhi1980/mandelbulber2

Mandelbulber v2 2.12-1 - OpenCL

05 Dec 09:20
Compare
Choose a tag to compare

This release contains following bugfixes:

  • OpenCL: fixed bug in shader for auxiliary light sources. There was wrong color of specular reflections
  • Documentation: Added missing chapter about OpenCL

Mandelbulber v2 2.12 - OpenCL

16 Nov 17:45
Compare
Choose a tag to compare

This is first official release of Mandelbulber program with OpenCL rendering engines which uses graphics card computation capabilities. Most of rendering features available in CPU rendering engine are implemented in OpenCL code. However there is still list of features which still only work on CPU (will be implemented in next versions):

  • only material #1 is used
  • texture mapping (including background)
  • primitive objects
  • HDR blur
  • stereoscopic images
  • NetRender
  • boolean operators
  • support for multiple GPUs
  • voxel / mesh export
  • anti-aliasing
  • limited calculation accuracy to single precision (CPU use double)

To enable OpenCL in Mandelbulber you need to open Preferences dialog and enable it on OpenCL tab. In this window you can select graphics card which you want to use for computation.

Some numbers:

  • lines of OpenCL code in rendering engines: 6255
  • lines of OpenCL code in fractal formulas: 14802
  • 961 commits on GitHub since release 2.11
  • 2 new members in Mandelbulber Team

New in 2.12:

  • OpenCL: Added listing of available OpenCL platforms and devices

  • OpenCL: Added querying of OpenCL platforms and devices properties

  • OpenCL: Added selection of OpenCL platform and device in Preferences dialog

  • OpenCL: Added populateOpenCL.php to autogenerate some OpenCL header files

  • OpenCL: populateUiInformation.php autogenerate OpenCL fractal formula code based on C++ code

  • OpenCL: Converted all fractal formulas to OpenCL code. Formulas are stored in formula/opencl folder

  • OpenCL: Fractal formulas chosen are loaded as separate files

  • OpenCL: Applied hybrid sequence to ComputeFractal()

  • OpenCL: Added distance estimation functions (logarithmic, linear, pseudoKleinian)

  • OpenCL: Added deltaDE distance estimation algorithm

  • OpenCL: Added macros to call all fractal formulas in iteration loop according to hybrid sequence

  • OpenCL: Added Julia mode

  • OpenCL: Implemented detailLevel, iterThreshMode, interiorMode, smoothness

  • OpenCL: Added rendering engines:

    • fast - very simple and fast shader. No effects.
    • limited - most of effects, except reflections and refractions
    • full - with branched ray marching - all effects
  • OpenCL: Implemented usage of material #1

  • OpenCL: Added shader for angle of incidence of lights

  • OpenCL: Added soft shadows for main light source

  • OpenCL: Added specular reflections

  • OpenCL: Added all coloring functions

  • OpenCL: Added background shader (excluding textured background)

  • OpenCL: Added "Fast Ambient Occlusion" shader

  • OpenCL: Added ambient occlusion with "multiple rays with light map"

  • OpenCL: Added "slow" calculation of normal vectors

  • OpenCL: Added Screen Space Ambient Occulsion (SSAO)

  • OpenCL: Added shaders for auxiliary light sources and random lights

  • OpenCL: Added "glow" effect

  • OpenCL: Added "visible lights" effect

  • OpenCL: Added "volumetric lights" effect

  • OpenCL: Added "iteration fog" effect

  • OpenCL: Added all perspective types to opencl code (three point, equirectangular, fish-eye, fulldome)

  • OpenCL: Added Monte Carlo DOF effect with statistical noise control

  • OpenCL: Added custom DE step multiplier for volumetric effects

  • OpenCL: Added DOF post effect based on Z-Buffer

  • OpenCL: Added sweet spot rotation (e.g. needed for full dome)

  • OpenCL: Added processing of alpha channel

  • OpenCL: Added Box and Spherical folding to OpenCL code (compatibility with Mandelbulber 1.21)

  • OpenCL: Rendered tile selection based on center distance ascending. This makes the rendering reveal the image from the center outwards as smoothly as possible

  • OpenCL: Kernels are recompiled only when dynamic code is changed

  • OpenCL: Added handling of most of OpenCL errors

  • OpenCL: Added low limit for distance threshold (1.0e-6) to avoid significant numeric errors

  • OpenCL: Added mutex mechanism to protect against concurent rendering using OpenCL by many rendering threads (image, previews, thumbnails)

  • OpenCL: Added marker for current pending tile

  • OpenCL: CLI mode prepared for rendering with OpenCL

  • OpenCL: designed a way to load OpenCL header files on different OpenCL platforms (nVidia, AMD, Intel...)

  • OpenCL: Added checking of GPU memory resources and compare with mem limit setting in preferences dialog. If there is not enough memory, effects are rendered using CPU.

  • OpenCL: Added BAT script to disable TDR in graphics driver (timeout protection)

  • OpenCL: CL_DEVICE_TYPE_ACCELERATOR supported for k1om (x100 Xeon PHI Co-processor)

  • Added new fractal formulas:

    • Jos-Kleinian
    • mandelbulbQuat
    • mandelbulbJuliabulb
    • aboxMod12
    • quaternionCubic4d
    • boxFoldBulbPow2V2
    • boxFoldBulbPow2V3
    • aboxMod13
    • boxFoldQuat
    • transfScaleVaryMulti
    • transfBoxFold4dTglad
    • transfSphericalFoldCuboid
    • transfSphericalFoldXYZBias
  • Updated fractal formulas
    a record of updates and changes to formulas can be seen in fractal_list.hpp
    a brief summary:

    • with some formulas the vary_scale function has been added, modified or changed,
    • aboxMod2 had major corrections,
    • aux.color has been implemented in more transforms
  • Fractals: All fractal formulas converted to 4 dimensional vectors. Backward compatibility has been maintained

  • Fractals: Standardized interface for all fractal formula functions

  • Fractals: Used function pointers to call functions for fractal formulas. This reduced the complexity of ComputeFractal(). Assignment of fractal functions are made in fractal_list.cpp

  • Shaders: Corrected calculation of shaders when "minimum view distance" is reached.

  • Shaders: Added soft shadows for auxiliary lights

  • Shaders: Added parameter to define color of "fake light sources" (lights based on orbit traps)

  • Shaders: Corrected algorithm for orbit trap lights (surface shader)

  • Shaders: RayRecursion algorithm partially converted from recursive to iterative - compatible with OpenCL

  • Shaders: Optimized multi-ray ambient occlusion in Monte Carlo mode.

  • Shaders: Added "DOF_max_radius" parameter to limit maximum blur radius.

  • Animation: updated code to use OpenCL rendering

  • Animation: increased animation frame range. The old limit was 99999, which is less than an hour of 30 fps frames. The new limit is 9999999, which is just more than 24 hours of an 100 fps video.

  • Animation: fixed images deletion of keyframes / flight

  • AnimBySound: sound files can be loaded directly from Internet (if specified path starts from http://)

  • UI: Added auto-refresh period parameter in preferences dialog

  • UI: png, tiff and exr save with progress bar on each channel

  • UI: fix png16 and png16alpha save with double .png extension

  • UI: formula ui changed most of iteration max from 250 to 999

  • UI: standardized color picker for all OS

  • UI: Fixed bug: pasting Julia values crashed mandelbulber

  • UI: Changed sequence of startup. Now toolbar icons are refreshed after all other initializations of the program.

  • UI: Added new color themes for main window

  • Queue: Fixed problem with ignored settings of maximum number of threads and thread priority when queue was rendered

  • Gamepad: corrected gamepad selection when many devices are connected

  • NetRender: display server name in client on connection

  • Voxel export: corrected limits (bounding box) for Mesh Export (there was swapped x and y)

  • Voxel export: Corrected Mesh Export. Voxel size in each axis has to be unified to calculate correct faces and normal vectors. Now there is only "resolution" parameter which specifies resolution in the longest axis (depends on limits)

  • CLI: Added example output path to benchmark. Now the benchmark can optionally put the renders of the example renders into a folder, when this folder has been specified with the -o/--output cli option.

  • CLI: Added options for OpenCL configuration

  • CLI: Benchmark renders all 300+ examples

  • CLI: Benchmark enabled with for OpenCL with 24 hour test timeout.

  • CLI: Benchmark generates detailed log output for each rendered example.

  • Settings: enumerative fields are saved as names

  • Compilation: UI files for fractal formulas moved to formula folder

  • Compilation: *.pro files moved to qmake folder

  • Compilation: Added mandelbulber-opencl.pro file

  • Compilation: MSVC solution updated for OpenCL

  • Compilation: MSVC solution includes OpenCL ICD Loader binaries for system compatibility

  • Compilation: MSVC solution is fully functional and compatible with Visual Studio 2017

  • Compilation: MSVC build is now default for Windows version

  • Compilation: Included MSVC redistributable in Build Package

  • Compilation: new windows installer (Install Jammer was no longer supported)

  • Compilation: Implemented CLEW for mingw builds

  • Compilation: added SHARED_DIR_IS_APP_DIR for AppImage. Allows shared data at the same location as the application, when defined at compile time, this can be used for AppImage packaging

  • Compilation: updated prepare_for_*.sh scripts

  • Compilation: documentation files moved to /usr/share/doc/mandelbulber

  • Compilation: CMAKE build refactored and updated.

  • Performance: fixed many issues showed by CoverityScan

  • Documentation: Added chapter about OpenCL

Mandelbulber v2 2.12 - alpha7 - OpenCL

30 Sep 15:43
Compare
Choose a tag to compare
Pre-release

This is next alpha release of Mandelbulber program with OpenCL rendering engines. It's still experimental version with no guaranty that everything will work properly.
What is new in OpenCL code:

  • DOF as a post effect
  • added GPU memory limit for SSAO and DOF
  • fixed problem with compiling OpenCL code with AMD gfx cards (problem with including headers)
  • fixed problem with refreshing animation previews (program often hanged)

Example animation with DOF effect:
https://youtu.be/5tpYQgT7efs

Mandelbulber v2 2.12 - alpha6 - bugfix 1 - OpenCL

27 Aug 06:22
Compare
Choose a tag to compare

This release fixes two severe bugs:

  • OpenCL compiler was not able to include source files when installation path (under Windows) contained spaces.
  • OpenCL kernel crashed when "reflections_max" was increased when material didn't used reflections.

Mandelbulber v2 2.12 - alpha6 - OpenCL

22 Aug 16:22
Compare
Choose a tag to compare
Pre-release

This is next alpha release of Mandelbulber program with OpenCL rendering engines. It's still experimental version with no guaranty that everything will work properly.
What is new:

  • Added "full" OpenCL rendering engine which allows to render fractals with reflections and transparency (refraction and Fresnel reflectance).
  • Much faster refreshing of fractal in Auto-refresh mode. Now refresh rate is 0.1s by default. Can be changed in Preferences window. With fast GPU card refreshing of image is real-time.

menger sponge - transparent

pseudo_kleinian 009

Mandelbulber v2 2.12 - alpha5 - OpenCL

13 Jul 17:27
Compare
Choose a tag to compare
Pre-release

"Limited" OpenCL rendering engine is almost finished. All effects which were planned for this engine are already implemented.

What is still missing in OpenCL code:

  • support for multiple GPU devices
  • support for double precision
  • reflections and transparency
  • DOF effect
  • texture mapping
  • background image
  • full-dome and equirectangular projection
  • stereoscopic rendering
  • alpha channel
  • primitive objects

Mandelbulber v2 2.12 - alpha4 - OpenCL

01 Jul 19:25
Compare
Choose a tag to compare
Pre-release

This is next alpha release of Mandelbulber v2 with OpenCL rendering engine.
OpenCL code is still not finished and has many bugs, but actual rendering results are much more comparable with that we can get using code running on CPU.
Purpose of this release is to give you the program in actual state for testing (and get feedback for us) and have opportunity to enjoy rendering using fast GFX cards.

To use new features, you need to enable them by selecting "limited" engine in menu File / Preferences and OpenCL tab / mode

What was added since latest alpha release:

  • Screen Space Ambient Occlusion (SSAO post effect)
  • Ambient occlusion based on multiple colored rays
  • Auxiliary light sources
  • Basic fog
  • Fog based on distance
  • Glow
  • Visible auxiliary lights
  • Volumetric lights (God Rays effect)
  • Added Jos-Kleinian fractal formula

This is an example what is possible with actual OpenCL code.

volumetric lights

Mandelbulber v2 2.12 - alpha3 - OpenCL

16 Jun 16:51
Compare
Choose a tag to compare
Pre-release

This is third alpha release of Mandelbulber v2 with OpenCL support.
This time there was partially implemented "limited engine" which has more shaders than "fast"
"Limited engine" already has:

  • specular highlights
  • casting soft shadows from main light source
  • "fast" ambient occlusion
  • surface coloring

example how it actually look like:
https://youtu.be/ZAa7PucQ4R8

"Limited engine" in final version will have most of shaders but will not have reflections and transparency calculation.

To enable "limited engine" go to File/Preferences/GPU and change "mode" to "limited"

Mandelbulber v2 2.12 - alpha2 - OpenCL

08 Jun 16:34
Compare
Choose a tag to compare
Pre-release

This is second alpha version of Mandelbulber v2 with OpenCL engine.

Thanks to the feedback gathered after releasing first alpha version we have fixed many problems with OpenCL library initialization and running on different hardware.
There ware corrected following problems:

  • running rendering kernel od AMD cards. It was not possible to compile kernel code
  • selecting of OpenCL platform now is not crashing the application
  • there is possible to select type of devices (CPU, GPU and accelerators)
  • there was added many error messages which inform about OpenCL problems
  • OpenCL can be enabled/disabled without restarting of application
  • the program is much more stable

Core functions are almost finished so we will be able to write more OpenCL code. Rendering on GPU is still limited to use "fast engine" which renders fractal in simple way without any shaders and effects.

Mandelbulber v2 2.12 - alpha1 - OpenCL

08 Jul 13:11
Compare
Choose a tag to compare
Pre-release

This is first alpha version of Mandelbulber 2.12
There is partially implemented OpenCL rendering engine. Functionality is very limited:

  • only "fast" rendering engine
  • no shaders and effects
  • many parameters from "Rendering engine" tab are ignored

But there are already implemented all fractal formulas including hybrid mode.

Main purpose of this release is just to get first feedback about compatibility with different GFX hardware.