POV-Ray : Newsgroups : povray.newusers : trouble using random numbers : Re: trouble using random numbers Server Time
4 Nov 2024 23:18:22 EST (-0500)
  Re: trouble using random numbers  
From: Mike Williams
Date: 5 Oct 2002 03:00:37
Message: <+aUk7AAKyon9EwyG@econym.demon.co.uk>
Wasn't it Justin Smith who wrote:
>Ah, I think I understand a little better now. Thanks. It is strange, though,
>that there isn't a way to seed using the internal clock of the computer, as
>most programming languages I've used are able to do.

That's one of the MegaPOV features that didn't make it into POV 3.5.

MegaPOV has a variable called "tick_count" which returns the current
value of the CPU clock, so you could say "seed(tick_count)".

-- 
Mike Williams
Gentleman of Leisure


Post a reply to this message

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