Logo by Trifox - Contribute your own Logo!

END OF AN ERA, FRACTALFORUMS.COM IS CONTINUED ON FRACTALFORUMS.ORG

it was a great time but no longer maintainable by c.Kleinhuis contact him for any data retrieval,
thanks and see you perhaps in 10 years again

this forum will stay online for reference
News: Support us via Flattr FLATTR Link
 
*
Welcome, Guest. Please login or register. April 19, 2024, 04:35:06 PM


Login with username, password and session length


The All New FractalForums is now in Public Beta Testing! Visit FractalForums.org and check it out!


Pages: 1 2 [3]   Go Down
  Print  
Share this topic on DiggShare this topic on FacebookShare this topic on GoogleShare this topic on RedditShare this topic on StumbleUponShare this topic on Twitter
Author Topic: endlos - A multithreaded fractal generator in Java  (Read 31977 times)
0 Members and 2 Guests are viewing this topic.
lycium
Fractal Supremo
*****
Posts: 1158



WWW
« Reply #30 on: March 03, 2007, 06:22:37 PM »

a much better way to do your multithreaded processing is to have N worker threads do interleaved scanlines. there's plenty of parallelism to go around without resorting to splitting threaded work at the subpixel (!!) level; futhermore, unless there are extremely regular correlations in the image (causing different execution times) it should result in good (even) workload distribution. the threads do not share data at all and write to independent memory regions...

why on earth did you split it at the aa level?! tongue stuck out this forces a square number of threads unless you get funky with precomputed antialiasing patterns (having toroidal symmetry), and since cpu cores come in powers of two usually that's 1, 4, 16, 64, etc., and each thread's results must then be gathered and combined, written again, ...

edit: i see the threading isn't relaeted to antialiasing at all, but the final image dimensions. interleaved threading will provide much better load balancing than blocked will, and when you add antialiasing into the mix (long render times...) it'll make a significant difference.
« Last Edit: March 03, 2007, 06:30:09 PM by lycium » Logged

dentaku2
Guest
« Reply #31 on: March 05, 2007, 02:20:37 AM »

endlos V 0.20.0



Code:
2007-03-05 : Version 0.20.0 - threads & color functions
---------------------------

CHANGED:
  1. Coloring function "Function" renamed to "Function1". Migration: in you fractal XML
     files, rename value of <colorMode>:
     
     <colorMode>Function</colorMode>   to   <colorMode>Function1</colorMode>
     
  2. Misc. GUI changes.
  3. Thread count is not squared anymore. The image is now tiled into the exact number
     of threads. This leads to misc image tiling depending on the possible tile factors.

FIXED:
  1. Randomize colors didn't work for deep iterations.
  2. Demo fractal settings were reused so that once a demo fractal was changed,
     the new fractal hasen't used it's saved settings but the last changed.

NEW:
  1. Cycle through color maps with mouse wheel when mouse pointer is over color
     maps list.
  2. Eighteen new coloring functions.
  3. New post processing effects 'posterize', 'threshold', 'rotate'.
Logged
dentaku2
Guest
« Reply #32 on: March 30, 2007, 08:25:21 AM »

Code:
2007-03-30 : Version 1.0.0 - 2D fractals
--------------------------

CHANGED:
  1. Default number of threads is number of (virtual) processors. On a dual core or a
     pentium with hyper threading this will be 2. This will use the theoretical optimal
     number of threads by default.
  2. Pause button replaced by CPU usage slider for fine grained system load.
     (0% same as former pause.)
Logged
Pages: 1 2 [3]   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
The Colarity fractal flame generator Announcements & News Nahee_Enterprises 1 13341 Last post February 23, 2007, 12:42:12 PM
by Nahee_Enterprises
Fractal Explorer - fast fractal generator for Android Smartphones / Mobile Devices Black 6 23244 Last post November 29, 2010, 10:18:20 AM
by Cyclops
Fractacular ... a freeware Java generator with multiple algorithms Fractal Programs ChristopherLowe 1 9689 Last post October 16, 2011, 05:41:27 AM
by ChristopherLowe
Online Fractal Generator Fractal Website of the Month top-quark 3 6975 Last post June 19, 2014, 06:41:32 PM
by caoslover
Java Fractal Generator Multi Platform HazardHarry 10 11103 Last post October 27, 2017, 06:16:12 PM
by HazardHarry

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM
Page created in 0.128 seconds with 25 queries. (Pretty URLs adds 0.005s, 2q)