Welcome to Fractal Forums

Community => Non-Fractal related Chit-Chat => Topic started by: makc on March 27, 2010, 01:08:50 AM




Title: waiting for frames to render
Post by: makc on March 27, 2010, 01:08:50 AM
I mean, I just wrote simple mandelbrot animation program, and it renders at ~5 seconds per 640x480 frame. Imagine the pain of waiting for just 500 frames, when other people render many minutes of animation. And those extra deep zooms that take hours... I mean, omfg. Or every hi-res render of mandelbulb... The only reason I'm not doing them is that I can't wait that long. What do you do to train your patience, or how do you ease the pain?


Title: Re: waiting for frames to render
Post by: Timeroot on March 27, 2010, 01:45:59 AM
Depends on what kinds of speed-ups you're using, and where you happen to be zooming. For zooms "deep" into the seahorse valley, optimization to skip the cardioid and period-2 bulb can be very useful. Also, make use of symmetry; if (a,b) has an iteration value of n, then (a,-b) does too (same things with inside/outside). Finally, when testing bailout, to calculate the absolute value squared you can use the same values of the real part squared and the imaginary part squared that you did when calculating the real part of z^2. Just stored these two in two separate, global variables, and it should a speed-up of about 40%.

And if you still tire to quickly: A watched pot never boils. Spend the other time reading something, or watching the Simpsons, or something else educational like that.


Title: Re: waiting for frames to render
Post by: makc on March 27, 2010, 02:35:32 AM
I couldn't wait for 500 frames and terminated on ~120, and just in time too, because my iterations cap (3000) was about to be inadequate... no antialiasing too, so it turned out very noisy. Finally it was a hour or so, and youtube still have not processed it... so the wait continues  :sad1:

http://www.youtube.com/watch?v=4NnAV4BbWeY


Title: Re: waiting for frames to render
Post by: Sockratease on March 27, 2010, 11:44:27 AM
What do you do to train your patience, or how do you ease the pain?

My trick is to use a cheap crappy computer for internet use and other play, while keeping a Good Computer completely offline and dedicated to my Art.

Then I can just let it run and still have another computer for play.

I also find myself letting things render while I sleep or go to my day job.

Or both when the render will take a couple hundred hours...


Title: Re: waiting for frames to render
Post by: teamfresh on March 27, 2010, 09:52:21 PM
I mean, I just wrote simple mandelbrot animation program, and it renders at ~5 seconds per 640x480 frame. Imagine the pain of waiting for just 500 frames.....


OK I am going to have a little rant now  :fiery: - Because When I rendered trip to e214, the final frame alone - took longer to render than the whole of your animation would have - even if you had finished it.

http://vimeo.com/1908224

Altogether, it took just over a month to render the whole thing! (imagine that pain!) Like Sockratease, I have an offline machine that is dedicated to rendering whilst I use a laptop for all my other fractal creating and surfing needs. Patience is undoubtedly a true virtue when rendering fractal animations. 

I have created animations before and cut corners to speed up render time such as - not anti-aliasing - less iterations - lower rez - and once they are finished I have found that I just don't like what I see. The satisfaction that I gain from doing the animation is just not enough for me. I feel like I have wasted my time and my computers cpu/gpu.

On the other hand, when I have gone the other way - ie - max anti-aliasing - max iterations - HD rez - the resulting animation is of such quality I find myself actually glowing inside, I get this crazy feeling that feels like its going to burst right out of me! - Its like a drug. Comments I receive on the videos reflect how I feel inside about the animation. People know quality when they see it.

The result is an animation I can watch over and over again. And every time I watch it there are no niggling voices in my head saying "imagine how amazing this would be if this was anti-aliased" or "imagine all the extra detail you would see if this was in HD" No, my brain's to busy soaking in all the rich crisp clear detail to start criticizing.

So where as it may take much much longer to render at the highest quality (I could have rendered trip to e214 in less than 3 days) I would rather wait a month and have something so very special, than wait just 3 days and end up with something that is just simply a waste of space on my hard drive - something that I just end up deleting.
(although from what you say even three days is a long time by your standards)

I would dare to say to you to try creating something that takes that extra length of time. See if the extra quality in the result gives you the satisfaction that I have experienced.
(be warned - you may never go back)

Of course there is a place for low its/res aliased animations - and that is when you need a preview for an anim, so you can see how it flows, and check that it is going to run correctly. For example before rendering e214 at my maximum quality settings, I rendered a low quality version in 3 days first (as seen below) to give me a better idea what it would look like, and to see if I needed to make any changes

http://www.youtube.com/watch?v=pT_wdYg2AxA

Imagine if I had stopped there.
that was it,
finished product.
In my mind it would have been a pointless exercise.
What did I get out of it?
let me tell you -
I got about 2000 views over the space of a year and about 3-4 comments.

Well thats just great huh?

what about the high quality version that took a month to render?
what did I get out of that? let me tell you -
I got over 200,000 views.
It was embedded on over 100 websites,
and has lead to literally hundreds and thousands of comments and discusions from maths to physics and life in general,
It lead to my blog visitors jumping from 50 visitors a day to over 3000 visitors a day.
It lead to much money as I have been asked to do more commissioned/paid work than I am able to handle,
(thinking of all the new hardware/software that is now within my reach is a buzz in itself)

but more important to me than all of any of that -

It gave me that warm glowy feeling of satisfaction inside that absolutely nothing else can ever give me.

P.S. I will leave you with another one of my animations that I nearly cut corners on - but was oh so glad that in the end I did not..... and remember, How you learn patience is ultimately up to you - I learnt through the experience of the pay off at the end.

http://vimeo.com/1814664

I just wish you could see it the way I do (lossless  :tease: )


Title: Re: waiting for frames to render
Post by: David Makin on March 27, 2010, 11:30:22 PM
You guys are lucky - a few years ago I did a *single frame static render* at 8000*6000 and it took 27 days !
(Admittedly I overdid the AA setting)


Title: Re: waiting for frames to render
Post by: hobold on March 28, 2010, 01:37:07 AM
Yeah, must be some generation gap. Those young ones just never knew the primitive machines we once had. :)


Title: Re: waiting for frames to render
Post by: Sockratease on March 28, 2010, 12:25:55 PM
Yeah, must be some generation gap. Those young ones just never knew the primitive machines we once had. :)

Once had??

I *still* have an old 1977 TI-89 Home Computer!!

And I break it out every once in a while to play a game of chess  (I swear it plays a better game than my new apple laptop!).

Speaking of apple - my old apple II-C still works as well!

I like old computers.

Not for generating fractals, but just to laugh at people who claim a hard drive only has a 3 to 5 year lifespan!


Title: Re: waiting for frames to render
Post by: makc on March 30, 2010, 10:31:41 AM
When I rendered trip to e214, the final frame alone - took longer to render than the whole of your animation would have - even if you had finished it.
Ok, but even in that case you had to stop somewhere, or else you would be rendering an animation for many more months (a year maybe (and even then, again, you'd have to stop somewhere)). If I understand you correctly, you stop when you beat some specific record (like "noone has made it to e214 yet") and everything else is just "a pointless exercise" - with this line of thinking, from now on everybody who has no month-full of cpu/patience should not even think about making Mandelbrot animation, because it doesn't beat your zoom. What is this - Mandelbrot olympics? Imagine if noone would paint a portrait after da Vinci painted Mona Lisa. Or if noone made a movie after Cameron filmed Avatar :D That would be pretty boring artscape, don't you think?

But even when I do accept non-extreme stop conditions, I can't wait for that and terminate earlier, or do not even attempt to render it - that's the focus of my post. As Timeroot said, watched pot never boils, but I just can't set my mind on something else while waiting (so using another computer or reading a book wouldn't work for me). I guess I will just have to find some niche where near-real-time renderings are possible.


Title: Re: waiting for frames to render
Post by: kram1032 on March 30, 2010, 05:45:18 PM
makc, I think, you misunderstood him on that.
It's not about the depth. It's about the quality.
He goes for high resolution, high anti alliasing and similar quality improving settings, as he wouldn't like it in a different way.
Also less deep zooms would need that, according to him. ;)


Title: Re: waiting for frames to render
Post by: hobold on March 30, 2010, 06:35:08 PM
I *still* have an old 1977 TI-89 Home Computer!!
I tend to lose the old boxes. Looking at them makes me sad. All the knowledge I accumulated about the Commodore 64, the Amiga 500, the Amiga 4000, the PowerMac G4 ... all the hours and hours I spent optimizing that algorithm, squeezing out that last clock cycle, vectorizing that unwieldy algorithm ... all obsoleted ... by the inferior 'x86 ISA. On 'x86, assembly programming causes me emotional pain.

I focus more an abstract optimization and theory these days.


Title: Re: waiting for frames to render
Post by: teamfresh on March 30, 2010, 09:22:55 PM
When I rendered trip to e214, the final frame alone - took longer to render than the whole of your animation would have - even if you had finished it.
Ok, but even in that case you had to stop somewhere, or else you would be rendering an animation for many more months (a year maybe (and even then, again, you'd have to stop somewhere)). If I understand you correctly, you stop when you beat some specific record (like "noone has made it to e214 yet") and everything else is just "a pointless exercise" - with this line of thinking, from now on everybody who has no month-full of cpu/patience should not even think about making Mandelbrot animation, because it doesn't beat your zoom. What is this - Mandelbrot olympics?

Ha! A lot of people seem to think this - I think you missed my point - As much as I like the idea of "Mandelbrot olympics" I would be somewhere at the back of the pack with my hardware. When I created e214, it was not intended to be the deepest zoom ever made - it was not intended to break any records, if that was the case then I would have had to have at least gone past e1000, as thats the deepest zoom I have ever seen. And I don't even know if thats the deepest zoom ever made - nor do I particularly care.

Besides I feel its more about the iterations than the magnification that would be a more fitting "going for gold" goal.

Ultimately I made e214 for me - no-one else. The fact it gained me traffic and was so well received on the internet, just reinforced how I felt about it, and made it easier to, well, The point I'm getting at is that in your original post you asked...  

"What do you do to train your patience, or how do you ease the pain?

Well what I do to train my patience/ease the pain is produce something of a high quality - once this is done the feeling inside my head tells me it was worth it - reaction from growing amount of fans and followers on the internet reinforces that feeling - this makes it easier for me to wait long periods of time to produce more high quality work. It snowballs - I'm not saying my method of training patience will work for you. All I'm saying is that it works for me. (you did ask after all)

when I first started rendering fractals I had no patience at all, but as I have produced more and more high quality work, I have found it makes it easier for me to do more high quality work - even though it takes a hell of a lot longer. It still kills me all the waiting sometimes - don't think for a minute that I'm not wishing all the time that my animation has finished rendering - I just know that if I cut corners I wont be as happy at the end result - at least not as happy as I am when I render at a higher quality.

Just in case anyone is thinking of telling me that my work is not of a high quality at this point I would just like to say that although I say my work is high quality - that term is only relative when compared to work I have done before, no-one elses - and when I compare my work to other animators such as Tglad and bib
(there are many more I admire but these two have been blowing my mind just recently)
I feel my work pales greatly in comparison - one day I hope to have the intelligence and hardware to produce works of art to their caliber.

So in the end its up to you - everyone has their own goals when it comes to fractal animation, whether its 3D, depth of magnification, amount of iterations, etc etc
If you find that when you hit your goals - you feel it has not been worth the wait/effort, then either go do something else with your life or go find a solution to your problem.

If your hardware is not fast enough and/or you dont have the patence/cant find a way to keep yourself occupied then you should either

1)learn patience
2)buy better soft/hardware
3)do something else with your life

In my eyes it really is that simple....

oceans of love

teamfresh

http://www.youtube.com/watch?v=Sa2_5cZyBZA


Title: Re: waiting for frames to render
Post by: teamfresh on March 31, 2010, 02:27:29 AM
...how do you ease the pain?

P.S.

I have been rendering one particular animation for about four months now and I guesstimate that it will take at least another month maybe two to finish rendering - at one point I crashed the computer and lost nearly a whole months work! BIG ouch!! I felt really very sick that day!!!! This animation is really trying my patience like no other, and after this I intend to stick to projects that have a much shorter time span!! I get the feeling this will be like when I had my tongue pierced - I will be really really glad I did it but I will never do it again! -- This pain I can not take again.  :hurt:


http://www.youtube.com/watch?v=0HlDrw3si7A


Title: Re: waiting for frames to render
Post by: kram1032 on March 31, 2010, 03:48:36 PM
nice images :)
Maybe it would be better to save them out as single frames. Then, if the computer crashes, you at least have all the frames that where finished 'till then.
Afterwards, you can combine them to a video in another tool...


Title: Re: waiting for frames to render
Post by: makc on March 31, 2010, 05:53:07 PM
yes, it's very easy to do with virtualdub or mencoder or ffmpeg you name it. but images should waste a lot more of space.


Title: Re: waiting for frames to render
Post by: teamfresh on April 02, 2010, 01:58:23 AM
The software I'm using for this animation does not allow you to save as an image sequence  :angry: It saves all the frames together within its own file type and uses a tweening method to allow interpolation between key frames during playback. Only at this point can I then create a video file/image sequence. BTW I have crashed using this software before (both times I might add the crash was down to stupid me and not the software) and after the first crash all the rendering was still there afterwards, but with this last crash I lost it  :fiery: I would be almost finished by now if it had not happened! grrrrr oh well whats done is done--
and I only have another 15 frames to render to finish this dam thing!! Its just a shame its taking about 2 days per frame at this point. I dread to think how long the last frame will take....


Title: Re: waiting for frames to render
Post by: makc on April 02, 2010, 02:08:07 AM
for all those days months you could write your own software for something as simple as Mandelbrot :D


Title: Re: waiting for frames to render
Post by: Bent-Winged Angel on April 13, 2010, 06:19:57 PM
Nwbie here & just found this thead. Had to laugh.  When I just started to work with ChaosPro, I was impatient.  Movied mouse too quickly so even in "real time" it was too fast.  But I do thionk that with skill comes patience.  IE knowing the outcome helps!  Also have learned that I can do other things while rendring video.  Check back from time to time.


Title: Re: waiting for frames to render
Post by: Sockratease on May 16, 2010, 07:13:26 PM
What do you do to train your patience, or how do you ease the pain?


I posted this in another thread, but after realizing that others may never have thought of it - I decided to post it here too!

This pretty much only applies to deep zooms into The Mandelbrot Set, or any other animation where the later frames take considerably longer than the early frames...


... I have about ten frames to go though so not more than a couple of weeks rendering left.

Have I ever mentioned that I prefer to render such dives in reverse, then play it backwards for compiling?

That way the longest frames get over with first, and render times actually speed up toward the end!!

Does wonders for the psychology of waiting.   :gum:


Title: Re: waiting for frames to render
Post by: The Rev on October 14, 2010, 04:05:50 PM
I must be weird, because I actually find watching the individual frames rendering to be soothing.  I can sit for quite awhile just watching the pixels fill in.  :D

The Rev


Title: Re: waiting for frames to render
Post by: cKleinhuis on October 14, 2010, 05:39:17 PM
this is what i did the last 20 years :D, also watching download bars of 100kb files for hours ... but i have to admit that i lost the fun in that :D


Title: Re: waiting for frames to render
Post by: Thunderwave on October 14, 2010, 07:43:38 PM
I am on my first "experimental" deep zoom.  I know it will go too fast, yet still I let it render....  Is it the psychy just not wanting to kill a render even if it may turn out to be a speeding bullet?  I'm not worried about wasting time.  I just can't seem to stop it.  I'm sure it will last for at least another day or two.  I can always change which cpu it runs on and make its priority low so I can do other things if needs be.


Title: Re: waiting for frames to render
Post by: makc on March 27, 2013, 11:34:32 PM
file it under "zooms that will never happen"  :fiery:

(http://i46.tinypic.com/dvpz41.png)

11 hours and 120x300 is only 26%... I can't even tell if it is actually minibrot there, or just underiterated spiral that goes much deeper if not forever? And if it is minibrot, it is probably poorly chosen (asymmetric one). Any way, if it takes over 40 hours to render this preview, it is going to take a month to take one goddamn frame down there. How do you deal with this crap? Or do you always just stay away from large minibrots and never run into this kind of situation?

edit: ok after another night it does look like a minibrot:

(http://i48.tinypic.com/2v92glx.png)

still underiterated at 4000000 iterations :( I was looking for amazon ec2 (http://aws.amazon.com/ec2/#pricing) to compute it. their "medium high-cpu instance" starts at $161 and $0.09 per hour which is about 74 days of computation min. on the other hand, you can get full year of background calculations for free, but I don't think that would get you anywhere.


Title: Re: waiting for frames to render
Post by: makc on March 28, 2013, 08:23:28 PM
imma let it finish, for no particular reason ) it's a nice way to waste 40 hours

(http://i48.tinypic.com/2zg7slh.gif)

edit: according to this preview, the minibrot is centered at
x = -1.1723361377878907703359372616337472184805560447126021
y = -0.2951612827073661159458050136107786798471100594053831
yay!
I learned how to use arprec (http://crd-legacy.lbl.gov/~dhbailey/dhbpapers/arprec.pdf) :)

edit: hey... if I zoom in by hand in uf, I get
-1.1723361377878907052582086230214325441635161982515935
-0.2951612827073661159458050136107786798471101312762533
I guess I overestimated my programming skills :S

edit: tweaked the program, now getting
x = -1.1723361377878907052582086230214325441635160904452886
y = -0.2951612827073661159458050136107786798471100594053831
That's more like it.