Welcome to Fractal Forums

Fractal Software => Multi Platform => Topic started by: gg92507 on January 18, 2013, 12:10:29 AM




Title: Java OpenCL Mandelbox program.
Post by: gg92507 on January 18, 2013, 12:10:29 AM
Dear Gentle Reader:

Here is a Java OpenCL Mandelbox (and Mandelbulb) program.

On my notebook computer with a Geforce GT 650M, it rendered the attached low quality Mandelbox image in 0.125 seconds.  It took 0.109 seconds to render the Mandelbulb.

I don't know much about OpenCL, so I have no idea how fast it is supposed to run.  Maybe there is an error making it slower than it should be.

I've tried it on Linux and Windows.  It should work on MacOS, but I haven't tried it--you'll have to compile the JNI glue.

Have fun with it.

I apologize in advance if I've done something wrong--I'm new to this forum.

Sincerely,

George


Title: Re: Java OpenCL Mandelbox program.
Post by: gg92507 on January 18, 2013, 12:44:44 AM
Dear Readers--

I'm sorry--I made a mistake with a filename in the packaging.  The readme mentions a file "fractal.jar".  But I packaged it as "1.jar".  You can either use "java -cp 1.jar Main" to run it, or you can rename 1.jar to fractal.jar.

Here is a higher quality image.  This took a lot longer to draw.

The program is a bit hard to find in my last post--it is hidden between the two pictures.

--George.


Title: Re: Java OpenCL Mandelbox program.
Post by: knighty on January 18, 2013, 04:47:48 PM
Nice renderings!  :)