PDA

View Full Version : Fractron 9000 -- an OpenCL fractal flame generator


fellix
29-Jun-2010, 15:31
Fractron 9000 is a GPU accelerated fractal flame renderer. It can generate fractals using OpenCL or OpenGL+CPU. Fractals can be saved in PNG or JPG files. Fractron 9000 is based on the fractal flame algorithm:

The Fractal Flame algorithm is a member of the Iterated Function System (IFS) class of fractal algorithms. A two-dimensional IFS creates images by plotting the output of a chaotic attractor directly on the image plane. The fractal flame algorithm is distinguished by three innovations over text-book IFS: non-linear functions, log-density display, and structural coloring. In combination with standard techniques of anti-aliasing and motion blur the result is striking image variety and quality.

More here (http://www.geeks3d.com/20100628/gpu-computing-fractron-9000-gpu-opencl-fractal-flame-renderer/)

homerdog
29-Jun-2010, 17:45
What version of OpenCL does it require?

pcchen
29-Jun-2010, 18:14
It seems to work with OpenCL 1.0. I can get it to run on my GTX 285. Unfortunately, it crashes on my Radeon 5850 (my own DeviceQuery program works so at least OpenCL works on it).

fellix
29-Jun-2010, 18:20
Works fine on HD5780 and Stream SDK 2.1 here.

pcchen
29-Jun-2010, 18:23
Works fine on HD5780 and Stream SDK 2.1 here.

I guess that's because GTX 285 now don't have to be part of the desktop to run OpenCL, and the program tries to run OpenCL on GTX 285 while it's being disabled so it's impossible to create a OpenGL context for it (or it's impossible to share data between the OpenCL device with the OpenGL device, which is the Radeon). Just my guess though :P

[EDIT] It runs well after I disabled GTX 285 in the device manager.

Andrew Lauritzen
30-Jun-2010, 02:58
Very cool! Curiously when you build up the iteration kernel for a given genome, do you fuse it together into one kernel when dealing with different function types (textually or some other way?) or do you simply iterate each function as a separate kernel?