POV-Ray : Newsgroups : povray.binaries.images : Render Reported Too long...[11.7 megayears] : Re: Render Reported Too long...[11.7 megayears] Server Time
6 Oct 2024 04:59:57 EDT (-0400)
  Re: Render Reported Too long...[11.7 megayears]  
From: Le Forgeron
Date: 10 Mar 2014 03:18:43
Message: <531d6753$1@news.povray.org>
Le 10/03/2014 02:32, [GDS|Entropy] a écrit :
> Pov thinks that a scene I have been rendering for around 30 days has actually
> been rendering for about 12 million years.
> 
> Ian
> 

Could it be tied to the 49+ days rollover on windows ?

Is that 30 days, or something like 25+ days ?


For the technical minded: windows keeps the notion of time in a 32 bits
integer, as number of milliseconds. (actually they call it a DWORD, but
the API remains the same).

After 49.7 days, that counter rollover. (and that used to crash W95 &
W98... there was a patch for that, but the counter is still the same
size: GetTickCount() cannot change)

And after half that time, it might be interpreted as a negative value.

Of course, promoting the DWORD into a 64 bits value is to be interesting
if the receiver is signed.

2^62 is about 146 megayears, 11 megayears would be between 2^58 and
2^59... maybe some x1000 is applied to get a number of microseconds
before converting back to years.

-- 
Just because nobody complains does not mean all parachutes are perfect.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.