Logo by Pauldelbrot - 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: Did you know ? you can use LaTex inside Postings on fractalforums.com!
 
*
Welcome, Guest. Please login or register. August 19, 2019, 01:10:03 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   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: Mandelflyer - a DirectX based real-time Mandelbox  (Read 11821 times)
0 Members and 1 Guest are viewing this topic.
Teraflop
Guest
« on: November 08, 2010, 01:22:34 PM »

Hi!
Since some people asked for it, here is an early version of my Mandelbox exploration software "Mandelflyer". You can download it here:
http://www.mediafire.com/?ma61ja6zl428ick

There is a small readme file you really SHOULD read before using the program. The program is not particularly suitable for videos, but you can make some simple screenshots, or just fly around - it's designed for exploration first and foremost.

I am not sure whether I will add much more functionality to the program in the future, but, of course, any feedback is welcome, just post it here smiley
Logged
bib
Global Moderator
Fractal Senior
******
Posts: 2070


At the borders...


100008697663777 @bib993
WWW
« Reply #1 on: November 08, 2010, 01:29:23 PM »

Thanks for the link, I will definitely give it a try.
Logged

Between order and disorder reigns a delicious moment. (Paul ValÚry)
DonTen
Alien
***
Posts: 39


WWW
« Reply #2 on: November 08, 2010, 02:20:41 PM »

Thank you!

I look forward to trying this when I finish work.
Logged
bib
Global Moderator
Fractal Senior
******
Posts: 2070


At the borders...


100008697663777 @bib993
WWW
« Reply #3 on: November 08, 2010, 08:28:36 PM »

When I launch CIT2.exe, I've got an error that pops up: Internal error, possibly due to an invalid parser command. Please save all work, correct the problem if possible, and restart the program. Error codes: Au=0; UM=0; Sh=0; Gr=0; Tra=0; Tex=0

I tried to reinstall DirectX just in case, but still got the error. I'm running Vista. Do you know how I could fix it?

Thanks!
« Last Edit: November 08, 2010, 09:53:27 PM by bib » Logged

Between order and disorder reigns a delicious moment. (Paul ValÚry)
cbuchner1
Fractal Phenom
******
Posts: 443


« Reply #4 on: November 08, 2010, 08:39:51 PM »

Runs just fine on a nVidia GTX 460, Windows XP Professional 64bit.
EDIT: getting 20-40 FPS in 1920x1200 resolution.

« Last Edit: November 08, 2010, 11:09:26 PM by cbuchner1 » Logged
Thunderwave
Guest
« Reply #5 on: November 08, 2010, 09:03:18 PM »

It doesn't open on Windows 7 64, even after doing compatibility mode.  cry grin
Logged
cbuchner1
Fractal Phenom
******
Posts: 443


« Reply #6 on: November 08, 2010, 09:09:01 PM »


To those running Vista and Windows 7. May I recommend a recent DirectX 9 redistributable package, e.g. June 2010 found here:

http://www.microsoft.com/downloads/en/details.aspx?FamilyID=3b170b25-abab-4bc3-ae91-50ceb6d8fa8d&displaylang=en

Also it is never a bad idea to use the latest GPU driver from the manufacturer's web site (AMD/nVidia/Intel).

Christian
Logged
cKleinhuis
Administrator
Fractal Senior
*******
Posts: 7044


formerly known as 'Trifox'


WWW
« Reply #7 on: November 08, 2010, 09:18:33 PM »

after opening the preset, i just got a single colored plane, i can move, but that makes the plane just flicker... sad
Logged

---

divide and conquer - iterate and rule - chaos is No random!
bib
Global Moderator
Fractal Senior
******
Posts: 2070


At the borders...


100008697663777 @bib993
WWW
« Reply #8 on: November 08, 2010, 09:52:57 PM »

DirectX and ATI Radeon HD 4650 for 64bit drivers updated, and still the same error message sad

It works on my old XP laptop, but so slowly that it's not usable.

Anyway, thanks for making me update these, because the other realtime program "boxplorer" now works cheesy
« Last Edit: November 08, 2010, 10:00:02 PM by bib » Logged

Between order and disorder reigns a delicious moment. (Paul ValÚry)
paolo
Explorer
****
Posts: 50


« Reply #9 on: November 08, 2010, 10:51:21 PM »

 grin I'm afraid that Mandelflyer just gives blank screens. I have Windows 7 64 bit, have installed the DirectX_Jun2010 release and rebooted my machine. My GPU is an Nvidia GeForce 9800GT. It would be nice if help could be provided, so than I can fly through the Mandelbox in real time. Thank you.
Logged
Teraflop
Guest
« Reply #10 on: November 09, 2010, 01:20:04 AM »

Ouch, didn't expect that many problems shocked

Sorry for that... anyway, on my Windows XP 32bit Notebook with Geforce 8600M the program runs just fine. On my Radeon 4850 Windows 7 64bit it used to run as well, but I just discovered it doesn't and just creates a black screen... but I was able to fix that. Create a file named "shaderinclude.txt" in the program folder and include these lines:

float arw_,arh_,arw1_,arh1_;
float w_,h_,w1_,h1_,wh_,t_,dt_,beat_;
float4x4 mat_;

Alternatively, just copy the attachment file to the program folder, it contains these lines. This should fix the "program works but no visual output" problems.
Some background: These are some additional internal shader variables which I thought wouldn't be required here, but apparently they are... why it creates problems only on some PCs will probably remain a mystery.

@bib
This fix probably won't resolve your problem but you can try anyway... the fact that the error message contains only zeros means that the program crashes somewhere where I didn't expect something to go wrong, so there really isn't much I can do... but as for improving the performance, you can try increasing the "xsp2" and "ysp2" values for downsampling during movements as explained in the readme. Default is 2x2, but I am using 3x4 on my notebook which still looks ok. Depending on how fast your notebook is, you can also try 3x4, or 5x5 or whatever works best for you.

Oh and out of curiosity: Can those of you where the program works tell me your fullscreen frame rate at the initial view and at what resolution?

* Shaderinclude.txt (0.08 KB - downloaded 396 times.)
Logged
DonTen
Alien
***
Posts: 39


WWW
« Reply #11 on: November 09, 2010, 02:10:38 AM »

Thanks for the fix, working beautifully now.
Very impressed wink
Logged
Thunderwave
Guest
« Reply #12 on: November 09, 2010, 02:44:29 AM »

It seems that I can't unarchive it without damaging it. I can't afford to buy one. Do you have a .zip archive?   
Logged
marius
Fractal Lover
**
Posts: 206


« Reply #13 on: November 09, 2010, 07:08:27 AM »

..
Alternatively, just copy the attachment file to the program folder, it contains these lines. This should fix the "program works but no visual output" problems.
Some background: These are some additional internal shader variables which I thought wouldn't be required here, but apparently they are... why it creates problems only on some PCs will probably remain a mystery.
..
Oh and out of curiosity: Can those of you where the program works tell me your fullscreen frame rate at the initial view and at what resolution?

Nice & speedy! ATI 5850, at 2560x1600 getting 44.5fps on the default view  grin

Having a bit of a hard time getting scale -1.77 so show nicely, but the shape seems right. Lots of shimmering, and near plane clipping. The coloring is also not happy on that one.

Trying to figure out why your shader is so much faster than boxplorer's. Looks very similar in the inner loop.  huh?

EDIT: in the shader, changing to "l=boxiter();" rather than the current fudging, makes for a much more stable render of the surfaces in at least a -1.77 box. What's the thought behind the fixing up you have there now?
Btw, this live shader editing and seeing what you get is most excellent!

EDIT2: find attached Clt2 for a -1.77 box. Added a .8 fudge to avoid over-estimating. Renders look pretty stable & nice.

* box-1.77.CIt2.zip (4.83 KB - downloaded 309 times.)
« Last Edit: November 09, 2010, 09:02:32 AM by marius » Logged
Teraflop
Guest
« Reply #14 on: November 09, 2010, 10:56:35 AM »

You really should read the readme file!  grin
These additional speed factors you removed control the rate of the raytracing, and can be manipulated easily with the keyboard (J and K in this case). The default values are more or less optimal for the scale=2 Mandelbox, but for your case, you need to reduce it from the default value of 2 to e.g. 1.3. Removing the entire term is equivalent to setting it to 1, which works well in your case, but is inefficient in other cases, and can also cause wall misses in yet different cases.
As for the performance, don't forget that the program is using subsampling! Without it, you would have only 11.125 FPS (or maybe 12 or so since the subsampling itself costs some performance as well).

As for 7zip (currently the best file compression in existence) you can get it here:
http://www.7-zip.org/

Anyway, great to hear that the program seems to be mostly working now.
Logged
Pages: [1] 2   Go Down
  Print  
 
Jump to:  


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.252 seconds with 28 queries. (Pretty URLs adds 0.015s, 2q)