Kali
|
|
« Reply #30 on: April 15, 2011, 01:42:18 PM » |
|
@fractalmind: Thanks! I will look for the compilers you pointed, even when I think I should continue with VB.NET for this project, I will definitely try BCX as it will be useful for future projects that I have. @Syntopia: Indeed, there's a huge difference in performance between VB6 and VB.NET, maybe this leads to confusion about how fast VB really is. Off course still not the optimal for doing this, but I'll research about multithreading (one of the things you pointed), as I know that it can be done with VB.NET Thanks both for the info & suggestions!
|
|
|
Logged
|
|
|
|
DarkBeam
Global Moderator
Fractal Senior
Posts: 2512
Fragments of the fractal -like the tip of it
|
|
« Reply #31 on: April 16, 2011, 11:01:57 AM » |
|
|
|
|
Logged
|
No sweat, guardian of wisdom!
|
|
|
Kali
|
|
« Reply #32 on: April 16, 2011, 01:53:22 PM » |
|
Tante grazie, Luca! I was already into this, but isn't as easy as it seems, at least for implementing here... there's too much restrictions in handling variables, and having too many variables and a huge array of data, I'm being forced to add complexity into the code or maybe adding public shared variables that slows downs each thread and don't make the difference against my already optimized single-threading solution (I optimized the original code a lot, about half the time required for rendering in full size the image I posted before) I suppose I'm doing something wrong, tough... . I'll keep trying to figure out how to make multithreading fit well into this Thanks again,
|
|
|
Logged
|
|
|
|
Kali
|
|
« Reply #33 on: April 16, 2011, 05:57:57 PM » |
|
|
|
« Last Edit: April 16, 2011, 06:00:46 PM by Kali »
|
Logged
|
|
|
|
DarkBeam
Global Moderator
Fractal Senior
Posts: 2512
Fragments of the fractal -like the tip of it
|
|
« Reply #34 on: April 16, 2011, 11:11:43 PM » |
|
Using winapi you can call CreateThreadEx, but it is hard to handle http://www.purebasic.fr/english/viewtopic.php?t=34936
|
|
« Last Edit: April 19, 2011, 11:12:40 AM by DarkBeam »
|
Logged
|
No sweat, guardian of wisdom!
|
|
|
Kali
|
|
« Reply #35 on: April 17, 2011, 01:39:20 PM » |
|
Using winapi you can call CreateThreadEx, but it is hard to handle
Mmmm... not gonna get into that for now... speed is fine, as you can see. Thanks anyway!
|
|
|
Logged
|
|
|
|
Syntopia
|
|
« Reply #36 on: April 19, 2011, 04:44:50 PM » |
|
For comparison, if I run the Ducks fractal on a GPU such as the Nvidia 9800GTX with similar resolution (1250x750 at 25 iterations with 2x2 anti-alias), I get ~20 frames per second, or 50ms per frame.
I still think VB.NET is a perfectly fine way to proceed, though. You can build your GUI and fractal implementations, and, if you at some point want to go for speed, you can probably translate the fractal code to DirectX HLSL and control it from the VB.NET gui.
And btw, .NET has very nice threads (System.Threading) - no need for native winapi calls :-) For these kinds of systems, you should be able to get a speedup roughly propertional to the number on cores of your CPU.
|
|
|
Logged
|
|
|
|
Kali
|
|
« Reply #37 on: April 19, 2011, 05:25:11 PM » |
|
Wow! that's really fast... I'll try speeding up either with m.threading or GPU but once the program is almost finished. I was worried about VB being too slow with normal code, but as I achieved UF5 speed I think I can continue this way, release a normal version once finished, and then look for the optimizations. Also I must buy a new card if I wish to test GPU, my 9600GT just melted Thanks for the info!
|
|
|
Logged
|
|
|
|
Kali
|
|
« Reply #38 on: April 20, 2011, 04:50:35 PM » |
|
Ok, I've posted some ugly b/w images that were only for testing purposes, so I wanted to show a sample image of what actually could be done. This is a Julia of an hybrid that combines Ducks+Ballfold+Mandelbrot (should I call it "circle fold" in 2D?) Still no color palette implemented, so I used PS to color the original monochrome image. Hope you like it! Full-size here
|
|
|
Logged
|
|
|
|
Fractal Ken
Fractal Lover
Posts: 246
Proud to be 2D
|
|
« Reply #39 on: April 20, 2011, 04:59:48 PM » |
|
Very nice pattern. This is a Julia of an hybrid that combines Ducks+Ballfold+Mandelbrot (should I call it "circle fold" in 2D?)
Then we'd have to call a 2D mandelbox a mandelsquare.
|
|
|
Logged
|
Fortran will rise again
|
|
|
Kali
|
|
« Reply #40 on: April 20, 2011, 06:18:28 PM » |
|
Very nice pattern.
Thanks! This is a Julia of an hybrid that combines Ducks+Ballfold+Mandelbrot (should I call it "circle fold" in 2D?)
Then we'd have to call a 2D mandelbox a mandelsquare. Why not? or Amazing Square! I think I'll use those names in the program
|
|
|
Logged
|
|
|
|
Erisian
Guest
|
|
« Reply #41 on: April 20, 2011, 08:12:48 PM » |
|
Formula combining in 2D - excellent idea!!! Can't wait to get stuck into those Julias!
|
|
|
Logged
|
|
|
|
Kali
|
|
« Reply #42 on: April 21, 2011, 10:53:40 PM » |
|
Formula combining in 2D - excellent idea!!! Can't wait to get stuck into those Julias! Thanks, I wish I have more time for this, but be patient... I'll finish it sooner or later I'm currently working on a dynamic interface that allows changing all parameters on-the-fly, previewing the results inmediately. This is really important to help finding interesting things inside this hybrids that are very sensitive to small changes in params. I will post more pics & info as I make some progress, any comments are truly appreciated!
|
|
|
Logged
|
|
|
|
Bogus
|
|
« Reply #43 on: April 23, 2011, 08:39:32 PM » |
|
Hi There Looks nice the preview .. have you a website for your projekt ?
|
|
|
Logged
|
|
|
|
Kali
|
|
« Reply #44 on: April 23, 2011, 09:37:40 PM » |
|
Hi There Looks nice the preview .. have you a website for your projekt ? Hi Bogus. No I haven't, I'll post related info, pics an news here in this thread. Thanks for your interest!
|
|
|
Logged
|
|
|
|
|