better random seed

This commit is contained in:
Tonton Th 2024-12-26 17:21:02 +01:00
parent d299ad13a1
commit 8a3e889145

View File

@ -6,7 +6,7 @@
global_settings { global_settings {
assumed_gamma 1.0 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 max_trace_level 10
} }
@ -14,6 +14,9 @@ global_settings {
#include "metals.inc" #include "metals.inc"
#include "textures.inc" #include "textures.inc"
#declare R2 = seed(now*24*60*60);
#declare foo = rand(R2);
#declare NormClock = clock / 360.0; #declare NormClock = clock / 360.0;
#include "contexte.inc" #include "contexte.inc"
#include "elements.inc" #include "elements.inc"