Welcome to Fractal Forums

Fractal Software => Mandelbulb 3d => Topic started by: Kali on April 13, 2015, 01:32:38 PM




Title: Mandelbulb3D source code + repository
Post by: Kali on April 13, 2015, 01:32:38 PM
Hello people.

I had a conversation in the last days with Jesse, via email, regarding M3D's source code.

The main issue about publishing it, was the use of some general Delphi packages for image storage formats (png,gif,bmp), and other non-fractal related things.
He wasn't totally sure about the rights of this modules. I helped him and we checked that all this little tools are for free use, or with the right licences (and most of them have 10+ yrs old).

That was all the mistery, and now is solved, so we have the authorization for making it public.

Link to the git-repository: http://github.com/thargor6/mb3d

I highly support Andreas (thargor6) as the project leader in the official Mandelbulb3D's further development project.
He's an experienced programmer, his JWildFire is another great fractal program with a very nice GUI, and also he has a vast experience programming Delphi.

However, this is a very difficult task and I think that any help would be much appreciated.

I'm glad that anyone is now able to help and play with Jesse's code, as I think it's the spirit of this forum.
This worked so far if we look back at the results of our collaborative works through the last years.

As always, many thanks to Jesse for all!!!

Quote from: Jesse
"Nearly all of the knowledge i became by all the engaged people that are or were active on fractal forums at the time of the search for the true 3d fractal.
Their gave their knowledge for free and i made the program for free, no more no less."

Cheers  :beer:
 


Title: Re: Mandelbulb3D source code
Post by: thargor6 on April 13, 2015, 01:49:06 PM
Very good, now we can also have a public Git-Repository :beer:


Title: Re: Mandelbulb3D source code
Post by: 3dickulus on April 13, 2015, 03:23:16 PM
nice!
Thanks Kali for sorting that out and thanks Jesse for taking the leap and releasing the source
  :beer: :beer: :beer:


Title: Re: Mandelbulb3D source code
Post by: bib on April 13, 2015, 05:06:19 PM
 :beer: :beer: :beer:
 :joy: :joy: :joy: :joy:


Title: Re: Mandelbulb3D source code
Post by: eiffie on April 13, 2015, 05:07:14 PM
Great news!


Title: Re: Mandelbulb3D source code
Post by: youhn on April 13, 2015, 05:56:06 PM
This is wonderful news.

Jesse, Thargor6, DarkBeam, Kali and probably some others that were involved in making it possible to open the source ... thank you!

 :thanks2:


Title: Re: Mandelbulb3D source code
Post by: cKleinhuis on April 13, 2015, 09:27:15 PM
People,  please make this code now available through github, i am in my holidays right now, but i would do it right away, publishing the zip file is not good i believe.... regarding the development!!!


Title: Re: Mandelbulb3D source code
Post by: thargor6 on April 13, 2015, 09:33:01 PM
People,  please make this code now available through github
Already in the works... enjoy your holidays  :beer:


Title: Re: Mandelbulb3D source code
Post by: knighty on April 13, 2015, 09:49:06 PM
That's a piece of code! Thanke you for (finally) making it available. ;D


Title: Re: Mandelbulb3D source code
Post by: flexiverse on April 13, 2015, 11:11:42 PM
So which is the best or minimum version required to compile it?

http://docwiki.embarcadero.com/RADStudio/XE7/en/Compiler_Versions (http://docwiki.embarcadero.com/RADStudio/XE7/en/Compiler_Versions)


Title: Re: Mandelbulb3D source code
Post by: thargor6 on April 13, 2015, 11:25:31 PM
Hi all,
the source-code is now available at GitHub: https://github.com/thargor6/mb3d (https://github.com/thargor6/mb3d) and any contribution is welcome :-)

I'm not sure really what is the actual minimum version to compile, I'm currently using Delphi XE6 and it works fine, I also tried Delphi 7 which did not work.

Best regards,
Andreas


Title: Re: Mandelbulb3D source code + repository
Post by: Kali on April 14, 2015, 12:25:46 AM
Thanks Andreas, I updated the post with the Github link ;)


Title: Re: Mandelbulb3D source code + repository
Post by: KnotATypo on April 14, 2015, 03:49:28 AM
Tried compiling source from Github, using XE 7, first problem (can't get past) in TypeDefinitions;

OFF_fHln = OFF_fHln_V18;  //  OFF_fHln_V18   value no where to be found
OFF_pInitialization = OFF_pInitialization_old;  //  OFF_pInitialization_old  same problem
OLD_FORMULA_COUNT //  same

are these in a file that was not included?

Chris


Title: Re: Mandelbulb3D source code + repository
Post by: 3dickulus on April 14, 2015, 04:40:51 AM
grepping the root part of OFF_fHln_V18 and OFF_pInitialization

shows...

Calc.pas:    fHln:             array[0..5] of Single;  //esi+164
Calc.pas:    pInitialization:  array[0..5] of TFormulaInitialization;
(and a few other files)

I haven't had time to study the source (and learn a new language) but these items with prefix "OFF_" aren't in any of the .pas or other files,
could it be a compiler directive representing an OFF_set if it compiles with XE6 but not XE7 ?

edit: try looking up required code modifications between compiler versions


Title: Re: Mandelbulb3D source code + repository
Post by: flexiverse on April 14, 2015, 04:56:18 AM
grepping the root part of OFF_fHln_V18 and OFF_pInitialization

shows...

Calc.pas:    fHln:             array[0..5] of Single;  //esi+164
Calc.pas:    pInitialization:  array[0..5] of TFormulaInitialization;
(and a few other files)

I haven't had time to study the source (and learn a new language) but these items with prefix "OFF_" aren't in any of the .pas or other files,
could it be a compiler directive representing an OFF_set if it compiles with XE6 but not XE7 ?

edit: try looking up required code modifications between compiler versions

Definitely need a quick guide on how to compile and some notes.  But then it could be a test to weed out n00bs!!


Title: Re: Mandelbulb3D source code + repository
Post by: Rathinagiri on April 14, 2015, 07:07:30 AM
That is a great news. :)


Title: Re: Mandelbulb3D source code + repository
Post by: thargor6 on April 14, 2015, 12:02:30 PM
Tried compiling source from Github, using XE 7, first problem (can't get past) in TypeDefinitions;
You must compile with the directive ENABLE_EXTENSIONS, the other branch seems to be currently broken, will fix this in the evening


Title: Re: Mandelbulb3D source code + repository
Post by: elyen on April 14, 2015, 02:36:20 PM
Hello!! Thank you very much for making the source code available.
Are there any instructions for how to compile and run the code? What programs should I use?
Thank you! ;)


Title: Re: Mandelbulb3D source code + repository
Post by: youhn on April 14, 2015, 03:13:31 PM
See reply #10


Title: Re: Mandelbulb3D source code + repository
Post by: chronologicaldot on April 15, 2015, 12:03:47 AM
Yay! Nice to see this is now opened up. :D


Title: Re: Mandelbulb3D source code + repository
Post by: schizo on April 23, 2015, 10:04:17 PM
Yippie. This now went definitely in the right direction. Great that the source is now public and safe for posterity.  :thanks1:


Title: Re: Mandelbulb3D source code + repository
Post by: dumpstercake on May 21, 2015, 08:35:06 PM
Thanks a lot. I had been interested in seeing the source for a while now. Unfortunately, I don't have any Delphi compiling software available to me at the moment. I'd try something like Lazarus but i'm concerned about having no way to test for compatibility problems that any code I create might cause. I am interested in contributing to the effort but it might not be for a while.


Title: Re: Mandelbulb3D source code + repository
Post by: shivadas on December 14, 2016, 12:18:05 AM
I am trying to install this on my mac version 10.11 when I drag the mandelbulb icon into the folder I get message saying it cannot be done (error code -50). Anyone know what I need to do?


Title: Re: Mandelbulb3D source code + repository
Post by: thargor6 on June 17, 2017, 12:08:00 AM
Just as info: I pushed the default formulas + maps + params to the repository as well, I also included the recent JIT-formula-pack from Alef

Cheers!