HexaCone/globals.inc
2025-01-14 09:06:51 +01:00

45 lines
872 B
PHP

global_settings {
assumed_gamma 1.0
ambient_light rgb <0.18, 0.18, 0.21>
max_trace_level 15
}
#include "colors.inc"
#include "metals.inc"
#include "textures.inc"
#include "stones.inc"
#declare Rng1 = seed(1337);
#declare foo = rand(Rng1);
#declare Rng2 = seed(now*24*60*60);
#declare bar = rand(Rng2);
#declare NormClock = clock / 360.0;
/* ------------------------------------------------------------ */
/*
* Some constants...
*/
#declare SzSol = 30;
#declare R_basecone = 0.117;
#declare H_cone = 0.97;
#declare R_gyro = 0.10;
#declare H_gyro = 1.20;
/* ------------------------------------------------------------ */
/*
* Usefull macros
*/
#macro Cos_01( X )
(0.5-0.5*cos( 3.141592654 * X))
#end
#macro Cos_010( X )
(0.5-0.5*cos( 2 * 3.141592654 * X))
#end
/* ------------------------------------------------------------ */