• February 27, 2021, 10:21:00 PM

Login with username, password and session length

Author Topic:  Updated version of Winkdows 10 Fractal program  (Read 734 times)

0 Members and 1 Guest are viewing this topic.

Offline kosalos

  • Fractal Friar
  • *
  • Posts: 131
Updated version of Winkdows 10 Fractal program
« on: July 05, 2019, 07:02:55 AM »
I know there are many fractal programs 1000 times better, but it's fun to write your own.
I added many more fractal equations (links to where I found them is at the top of the HLSL file).
Also added the ability to add 'texturing' with images you select.

Source code: https://github.com/Kosalos/Fractal2
Windows 10 .EXE is attached.

Linkback: https://fractalforums.org/programming/11/updated-version-of-winkdows-10-fractal-program/2915/

Offline gerson

  • Fractal Frankfurter
  • *
  • Posts: 512
Re: Updated version of Winkdows 10 Fractal program
« Reply #1 on: July 08, 2019, 05:11:15 PM »
I don't use win10 yet but keep releasing it, thanks.

Offline julofi

  • Fractal Furball
  • ***
  • Posts: 219
    • My DeviantArt account
Re: Updated version of Winkdows 10 Fractal program
« Reply #2 on: February 20, 2020, 03:30:06 PM »
Hi, Kosalos.
I have seen in Github that you updated this program 26 days ago.
Could you upload here a new exe?
I know zilch about programation.

Offline kosalos

  • Fractal Friar
  • *
  • Posts: 131
Fractal program for Windows
« Reply #3 on: February 20, 2020, 05:24:01 PM »
Please report back whether the attached (zipped up) EXE works for you.
It might require Windows 10.
All the images I have been posting lately where made with the sister program for the Mac, but this app is able to create them as well.

Offline julofi

  • Fractal Furball
  • ***
  • Posts: 219
    • My DeviantArt account
Re: Updated version of Winkdows 10 Fractal program
« Reply #4 on: February 20, 2020, 06:29:43 PM »
Thank you very much.
It works! I include a first try. It is cropped.
Problems: I saved in bmp format, clicking F1. The image has a black vertical band on the right that should not be there. It saves the image with the resolution 992*980, and those 12 pixels shouldn't be there.
The bmp generated cannot be open with the image viewer I use (ImageGlass) but it opens with Gimp, mspaint, the default windows 10 viewer and others. I don't know if there is something unusual in that file or maybe I should report the problem on the ImageGlass github.
And another thing. Is there some way to make bigger images, I mean, at higher resolution?

Offline kosalos

  • Fractal Friar
  • *
  • Posts: 131
Re: Updated version of Winkdows 10 Fractal program
« Reply #5 on: February 20, 2020, 07:07:23 PM »
Resize the window to increase resolution.

Press 'P' to save a .BMP in the same folder as the EXE
« Last Edit: February 20, 2020, 07:29:28 PM by kosalos »

Offline julofi

  • Fractal Furball
  • ***
  • Posts: 219
    • My DeviantArt account
Re: Updated version of Winkdows 10 Fractal program
« Reply #6 on: February 20, 2020, 07:14:21 PM »
Thanks!
I made another fractal: https://www.deviantart.com/jlfractals/art/JLF2112-Stone-Structure-831127883
Maybe you should change the behaviour of full screen. Right now it stretches the image, deforming it. Ideally it should create a window of maximum size, without deformation.

Offline kosalos

  • Fractal Friar
  • *
  • Posts: 131
Re: Updated version of Winkdows 10 Fractal program
« Reply #7 on: February 20, 2020, 07:32:15 PM »
Yeah, just saw that too.
But if you resize the window manually to almost full screen, it is okay.
Then I press the 'full screen' window button, and it appears okay..
waiting to see if you like 3D ('3' key)

Offline julofi

  • Fractal Furball
  • ***
  • Posts: 219
    • My DeviantArt account
Re: Updated version of Winkdows 10 Fractal program
« Reply #8 on: February 20, 2020, 07:47:33 PM »
Oh, yes, 3D, but I don't have 3D monitor or TV or 3D glasses :(
And squinting doesn't work. I tried ^^;

Offline kosalos

  • Fractal Friar
  • *
  • Posts: 131
Re: Updated version of Winkdows 10 Fractal program
« Reply #9 on: February 20, 2020, 08:25:55 PM »
Cross-Eyed 3D viewing:
Sit ~2ft from screen.
Cross your eyes slightly so that there are 3 images  rather than the two that are rendered.
Relax your gaze and concentrate on the center image, which is in 3D.

The 'Parallax' widget controls the depth of the 3D effect, from hardly noticeable to too much.
Parallax will need to be adjusted sometimes as you pan from 'close up' images to those farther away.
good luck

Offline ThunderboltPagoda

  • Fractal Furball
  • ***
  • Posts: 254
Re: Updated version of Winkdows 10 Fractal program
« Reply #10 on: February 21, 2020, 10:50:28 PM »
And squinting doesn't work. I tried ^^;

Squinting works perfectly with me. These are fine autostereograms.

Offline julofi

  • Fractal Furball
  • ***
  • Posts: 219
    • My DeviantArt account
Re: Updated version of Winkdows 10 Fractal program
« Reply #11 on: February 21, 2020, 11:00:16 PM »
I don't squint well: Instead of 3 images I see 4 and then I get a headache.

Offline julofi

  • Fractal Furball
  • ***
  • Posts: 219
    • My DeviantArt account
Re: Updated version of Winkdows 10 Fractal program
« Reply #12 on: February 25, 2020, 04:53:51 PM »
@ Kosalos
Hi, I have been playing with this little program these last days and I uploaded my best fractals to my DeviantArt account. You can see a thumbnail here or go to my gallery and see them in Full HD. https://www.deviantart.com/jlfractals/gallery/72384172/kosalos-s-fractal2

About the program itself I have some suggestions.
First one is changing the way the program saves its parameters. It does it in a file with extension .dat that is named with the word Fractal and then it contains the type of fractal identified with a number and then the date.
I am used to rename all my parameters files in a determined way. So I discovered that once renamed I couldn't load my parameters with Fractal2. To do that I had to rename it and add the word "fractal" at the beginning. That change allowed me to load them correctly but then, each time i try to save the fractal image started from those renamed parameters, the generated bmp is garbage. To be able to save the image correctly I need to add the correct internal number of the type of fractal to the name of the parameters and that number doesn't coincide with the number of fractal type that is shown on screen.
So, my suggestion is to add that important information about the type of fractal to the parameters themselves and not to the name of the parameters. You could even use a different name for the extension file instead of .dat.

Second, could you add the rest of formulas to the Windows version?

Third, could you add more colour palettes? It has only 8 and I find that it is not enough.

Fourth, and one thing that would make me fractally happy is the possibility of rendering images from saved parameters at higher resolutions than my monitor.

And that's all. Thanks for your program.
« Last Edit: February 25, 2020, 05:06:24 PM by julofi »

Offline kosalos

  • Fractal Friar
  • *
  • Posts: 131
Updates to Windows program
« Reply #13 on: February 25, 2020, 05:24:46 PM »
Wow julofi! You're having fun!
My original program was on the Mac, called "barebonesRayMarching".
It started off with just one fractal equation and one coloring scheme, but then the
'feature creep' started. Finally ended up with 50 fractal equations and many different lighting effects and orbit traps, etc.,  things I learned from the smart people who visit this website and shadertoy.  My Fractal2 program was just a Windows port of that code base, as an excuse to learn the way compute shaders are used on DirectX (shaders are much easier on the Mac).
The Windows program you updated so easily served it's purpose perfectly: it got you up-and-running with the DirectX way of rendering 3D fractals, and let you concentrate on the fun part and working with the fractal equations.
I suggest the following: Start a new program, JulofiFractal, and start making it the way you like. You can leave the DirectX boilerplate code alone, and concentrate on the user interface and fractal equations. The graphical user interface (GUI) is something you will have to design early on.  The problem is that there are so many parameters you need to offer the user.
You saw how I did it in Fractal2.  Be sure to visit the excellent program FragM to see how 3Dickulus handled the problem.
good luck

baby Windows program source: https://github.com/Kosalos/BareBonesWindowsFractal
larger Windows source: https://github.com/Kosalos/Fractal2New
Mac source: https://github.com/Kosalos/OSX_BareBonesRayMarching
Excellent app: https://github.com/3Dickulus/FragM/releases/

Offline julofi

  • Fractal Furball
  • ***
  • Posts: 219
    • My DeviantArt account
Re: Updated version of Winkdows 10 Fractal program
« Reply #14 on: February 25, 2020, 06:15:52 PM »
Ehem, little problem here. I have fun trying different programs, but I know zero about programation.
This Fractal2 program of yours is good and a really good way of starting to make 3d fractals. So, if you don't want to continue it I hope somebody else does it, but not me  :-[ Sorry.


clip
Fractal program for Windows

Started by kosalos on Programming

18 Replies
1114 Views
Last post June 03, 2019, 11:05:44 PM
by LionHeart
xx
Made a basic fractal program some time ago

Started by Fluoroantimonic_Acid on Programming

3 Replies
219 Views
Last post June 12, 2020, 02:59:31 AM
by Fluoroantimonic_Acid
xx
New program: GAPFix Fractal (now with Windows binary)

Started by bernds on Downloads

37 Replies
865 Views
Last post February 16, 2021, 06:43:24 PM
by julofi
xx
New Fractal Program! Fractal To Desktop - Live Render Fractals To Your Desktop!

Started by Byte11 on Downloads

3 Replies
1657 Views
Last post November 17, 2018, 07:38:37 AM
by CJR
xx
Do you have the latest version of Mandelbulb 3d fractal software?

Started by 1Maniac on Downloads

0 Replies
731 Views
Last post May 29, 2020, 04:59:12 PM
by 1Maniac