From 8a3e889145c5d5dc9d43d1e7b3cf5da18509cd31 Mon Sep 17 00:00:00 2001 From: Tonton Th Date: Thu, 26 Dec 2024 17:21:02 +0100 Subject: [PATCH] better random seed --- scene.pov | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scene.pov b/scene.pov index d8924a0..398d099 100644 --- a/scene.pov +++ b/scene.pov @@ -6,7 +6,7 @@ global_settings { assumed_gamma 1.0 - ambient_light rgb <0.02, 0.02, 0.02> + ambient_light rgb <0.04, 0.07, 0.04> max_trace_level 10 } @@ -14,6 +14,9 @@ global_settings { #include "metals.inc" #include "textures.inc" +#declare R2 = seed(now*24*60*60); +#declare foo = rand(R2); + #declare NormClock = clock / 360.0; #include "contexte.inc" #include "elements.inc"