Welcome to Fractal Forums

Fractal Software => 3D Fractal Generation => Topic started by: ld0d on April 08, 2012, 10:02:42 AM




Title: GPU mandelbox with smooth keyboard control
Post by: ld0d on April 08, 2012, 10:02:42 AM
Hi,

I've managed to build a Windows binary of my mandelbox renderer that seems to be compatible with a rather broad scale of (high-end) GPUs. The whole program is designed for good "gameplay" with smooth movement. The main shortcomings currently are the rather heavy GPU requirement and limited floating-point precision. Download it here: http://www.xs4all.nl/~koponen/mandelbox_preprepreview.zip

For some previews, see the other forum threads <with movies> (http://www.fractalforums.com/movies-showcase-%28rate-my-movie%29/realtime-mandelbox-t9134/) and <with pictures> (http://www.fractalforums.com/images-showcase-%28rate-my-fractal%29/different-faces-of-the-mandelbox/) of it.

Note: play some music on the background. Boards of Canada works for me.

README file contents attached below.
--

- Tested system setups

  The program is known to work both in Windows and in Linux with Wine, and
  the Radeon HD 6970 and Geforce 580 GTX GPUs (at 30+ fps). Also older and
  lower-end GPUs should work, albeit slower.

- Keys

  Rotation: Arrow keys, z, c
  Movement: w, s, a, d, r, f
  Fractal iterations: . and ,
  Quit:     q or esc
  Quit, restore old pos.dat: SHIFT-Q

  The keys may differ depending on your keyboard layout.

- Configuration

  The program stores the last position in the file 'pos.dat' on exit.
  Since there is no other easy way of configuring the fractal parameters,
  some .dat files have been included in the zip that can be put in place of
  pos.dat to get different mandelboxes. So try, for example, overwriting
  pos.dat with the included scale_minus_2.0_minrad0.5.dat. Even though
  there is a kind of automatic adjustment, you may sometimes have to
  increase the number of fractal iterations with the '.' (period) key.

  If you find some nice location, make sure to take a backup of the pos.dat
  file so you can return to it later!

  This build does not allow configuration of the window size, rendering
  quality or other such parameters.

  If you feel adventurous, you can adjust the colors by editing the
  shader.frag file...


Title: Re: GPU mandelbox with smooth keyboard control
Post by: szczyglo74 on May 12, 2013, 06:16:04 PM
Hi ld0d!

Amazing piece of code :) Thanks!
Are you going to add some features to it? Like resolution or quality rendering?
I found "n" & "m" keys - slid shape on few presets

btw. runs smoothly on my workstation ~60fps (win7 64bit)


Title: Re: GPU mandelbox with smooth keyboard control
Post by: cbuchner1 on May 13, 2013, 03:12:10 AM

Cool, my 560 Ti 448 core edition doesn't even break a sweat.

Full HD fullscreen build, please! ;)