|
 |
hi,
it appears that when I use a "Constant"[*] on the command-line, its value gets
rounded to six digits, see below. for the alpha, and the current beta. (and
'povr') have not tried from an ini file.
[*] <https://wiki.povray.org/content/Reference:Scene_Parsing_Options#Constant>
regards, jr.
jr@swift:2:now$ c### [at] tst pov
#version 3.8;
global_settings {assumed_gamma 1}
box {0,1}
#if (!defined(Seed))
#declare seed_ = mod((now-int(now))*1e16,1e9);
#else
#declare seed_ = Seed;
#end
#debug concat("seed_ = ",str(seed_,0,0),".\n")
jr@swift:3:now$ povray tst.pov +w32 +h32 -d -f -gr -gs
Persistence of Vision(tm) Ray Tracer Version 3.8.0-alpha.9945627.unofficial
...
==== [Parsing...] ==========================================================
seed_ = 242007125.
==== [Rendering...] ========================================================
Rendered 1024 of 1024 pixels (100%)
POV-Ray finished
jr@swift:4:now$ povray tst.pov +w32 +h32 -d -f -gr -gs declare=Seed=242007125
...
==== [Parsing...] ==========================================================
seed_ = 242007000.
==== [Rendering...] ========================================================
Rendered 1024 of 1024 pixels (100%)
POV-Ray finished
Post a reply to this message
|
 |