What precision is needed to zoom this deep?gumboot wrote:continuous zooms until it ran out of register file for the extended precision.
Show us yer programming projects!
Re: Fast or slow? How about backwards?
Re: Fast or slow? How about backwards?
More than I get through in a week.chris_b wrote:What precision is needed to zoom this deep?gumboot wrote:continuous zooms until it ran out of register file for the extended precision.
Re: Fast or slow? How about backwards?
248 bits of fraction plus about four more for integer (I have eight because it's nice and round). Being 16-way parallel is what uses up most of the rest of the register file.chris_b wrote:What precision is needed to zoom this deep?gumboot wrote:continuous zooms until it ran out of register file for the extended precision.
Thankfully, Mandelbrots can be reasonably accurately calculated with arithmetic cropped at exactly the number of bits required to resolve individual pixels. Not so for Julia, sadly (I have the code, but I don't have the dynamic precision scaling figured out). From this we can infer that the pixels in the final frame are 2**-248 apart -- or 9E74 times smaller than the big circle on the first frame.
Rendering at 720p normally take a few hours -- I don't really know how many.
Re: Fast or slow? How about backwards?
I had a friend a while ago who spent months and months working on a super-precision mandelbrot generator, and left it running for weeks on end, constantly tweaking the coords as he zoomed. Eventually, he claimed to have found the bottom of the set...gumboot wrote: What precision is needed to zoom this deep?
I pointed out that he'd run out of precision, not found the bottom, and we weren't friends after that.
"Oh dear lord, I slightly soiled myself. Oxfam won’t be pleased."
Re: Show us yer programming projects!
How did that happen? I see two scenarios:
1. "I say, old chap, I suspect that rather than hitting the 'bottom' of an essentially infinitely recursive mathematical domain, what you've actually done is merely exceeded the precision capability of your [code | hardware] and started getting zeroes back from the function. I daresay a little probing and modification will highlight the subtle flaw, and allow you to remedy the problem and thus continue exploring this wonderous arena of shapes and colour that you have been sharing with me, your truest and lifelong friend".
2. "You fucking numpty cuntflap! Not only are you a fucking sorry excuse for a human being, but you've also managed to completely arse-up what is virtually a primary-school-mathematics-level equation by using variables and techniques that have inherent limits on the precision of the calculated result. If proof were needed of your utter ineptitude at both mathematics and coding, this error (one which, I might point out, even a basic understanding of the underlying mechanics of modern-day computer technology would have helped you avoid) demonstrates beyond doubt the reason why I pray nightly that you never breed and consequently perpetuate the blight of your moronic bloodline upon this good green Earth. I suggest you abandon this fundamentally flawed and execrable pile of shite you call a 'project' and return to that other as-yet-unmastered skill you've always had trouble with, specifically the tying of shoelaces. Now close your mouth, start breathing through your nose, and pick your fucking knuckles up from the floor when you walk. You cock."
It was the latter, wasn't it?
1. "I say, old chap, I suspect that rather than hitting the 'bottom' of an essentially infinitely recursive mathematical domain, what you've actually done is merely exceeded the precision capability of your [code | hardware] and started getting zeroes back from the function. I daresay a little probing and modification will highlight the subtle flaw, and allow you to remedy the problem and thus continue exploring this wonderous arena of shapes and colour that you have been sharing with me, your truest and lifelong friend".
2. "You fucking numpty cuntflap! Not only are you a fucking sorry excuse for a human being, but you've also managed to completely arse-up what is virtually a primary-school-mathematics-level equation by using variables and techniques that have inherent limits on the precision of the calculated result. If proof were needed of your utter ineptitude at both mathematics and coding, this error (one which, I might point out, even a basic understanding of the underlying mechanics of modern-day computer technology would have helped you avoid) demonstrates beyond doubt the reason why I pray nightly that you never breed and consequently perpetuate the blight of your moronic bloodline upon this good green Earth. I suggest you abandon this fundamentally flawed and execrable pile of shite you call a 'project' and return to that other as-yet-unmastered skill you've always had trouble with, specifically the tying of shoelaces. Now close your mouth, start breathing through your nose, and pick your fucking knuckles up from the floor when you walk. You cock."
It was the latter, wasn't it?
Re: Show us yer programming projects!
They were both a bit too polite if you ask me.
Re: Show us yer programming projects!
I basically sat down and went through the code with him, pointing out (through the use of breakpoints and examining the variables) that he'd run out of precision. This wasn't so bad, but the boss was watching at the time - firstly he didn't like the fact that work's spanky new 386s were being used to generate pretty pictures, and secondly he really took the piss that the project leader was having "his code ripped apart by the tea-boy" (those were his words, not the boss!).
Things went downhill from there; he ended up leaving claiming that I'd set him up. It was really, really weird. Oh yes, he also attacked me physically outside of work - I've never understood people like that
It was at that point that I started on him with elements of the second scenario - and ended up calling him a cock.
Things went downhill from there; he ended up leaving claiming that I'd set him up. It was really, really weird. Oh yes, he also attacked me physically outside of work - I've never understood people like that
It was at that point that I started on him with elements of the second scenario - and ended up calling him a cock.
"Oh dear lord, I slightly soiled myself. Oxfam won’t be pleased."
Re: Show us yer programming projects!
Little something I'm working on with the subtle and understated title of Gun Bastard.
Written in Pygame with OpenGL handling the visuals for extra speed, and starring Starsky - the Bunny of Doom
"even had I suspected then the truly horrifying suffering and amazing loss of life that would be caused by our well-meaning enterprise... I'd have done it anyway. Only more so."
Lagertron for Android It's Robotron at the pub!
My stuff
Lagertron for Android It's Robotron at the pub!
My stuff
-
matt
- Sheepie Whore

- Posts: 14826
- Joined: Mon Apr 22, 2002 4:07 pm 0
- XBL Gamertag: gingerbeardman
- PSN: wirehang
- Location: here && there
- Contact:
Re: Show us yer programming projects!
I used to have a rabbit called Starsky
- piku
- Sheepie Whore

- Posts: 20960
- Joined: Wed Apr 24, 2002 10:44 am 0
- Website: Http://Www.ncot.uk
- Location: Wakefield
- Contact:
Re: Show us yer programming projects!
Because it lived in a hutch, right?matt wrote:I used to have a rabbit called Starsky
return (0);
Re: Show us yer programming projects!
Why else? 
"even had I suspected then the truly horrifying suffering and amazing loss of life that would be caused by our well-meaning enterprise... I'd have done it anyway. Only more so."
Lagertron for Android It's Robotron at the pub!
My stuff
Lagertron for Android It's Robotron at the pub!
My stuff
Re: Show us yer programming projects!
It had black curly hair and a penchant for cardigans ?beerman wrote:Why else?
Re: Show us yer programming projects!
Plus it drove around catching some wicked air on the crests of hills in its pimped Gran Torino. 
Re: Show us yer programming projects!
'k. I got a new version of my image processing toolkit out, and made some pages to the web page. It might be possible to follow what is going on now:
http://www.spectral3d.co.uk/Vapourware/tonemap/
Any feedback about what I should clarify next would be welcome.
I know I need proper module docs, but I haven't found the time yet.
http://www.spectral3d.co.uk/Vapourware/tonemap/
Any feedback about what I should clarify next would be welcome.
I know I need proper module docs, but I haven't found the time yet.
- PaulCunningham
- Baaaaa!

- Posts: 1218
- Joined: Sun Jan 18, 2004 11:47 pm 0
- Location: Walsall, England
- Contact:
Re: Show us yer programming projects!
XNA version of Titan Attacks...







