|
|
hi,
clipka <ano### [at] anonymousorg> wrote:
I thank you for the (detailed) clarification re status of "%s" (and yr time). I
dug up a PDF (N1256, Committee Draft 7.9.2007) and was shocked (sort of) to find
no mention of "%s".
and also a big thank you for writing "..in POV-Ray, `now` already is a numeric
value..", this has cleared up a complete misunderstanding. the documentation
says 'now' is a "keyword" and only illustrates its use in a 'datetime()' call.
I had not realised that 'now' can be used outside 'datetime()'. :-) so the
demo scene TdG mentioned simply needs a (fairly) reliable unique seed for the
RNG, whenever it's rendered. made a couple of quick tests with 'now', and am
thinking of using something like the following to replace the
'datetime(now,"%s")', and would appreciate comment(s):
#declare seed_ = mod((now-int(now))*1e16,1e9);
> It might be worth weaving the following information into the
> documentation of our "datetime" function:
and perhaps improve description of 'now'.
regards, jr.
Post a reply to this message
|
|