|
|
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
|
|