big refactoring: step 1

This commit is contained in:
Tonton Th
2024-12-29 04:56:10 +01:00
parent adf59ceff6
commit 090981d84c
13 changed files with 150 additions and 63 deletions

View File

@@ -1,17 +1,11 @@
/*
* H E X A C O N E
* nouveau projet Thu Dec 5 11:37:05 AM UTC 2024
*/
#version 3.7;
global_settings {
assumed_gamma 1.0
ambient_light 0
max_trace_level 10
}
#declare R2 = seed(clock);
#declare foo = rand(R2);
#include "globals.inc"
#include "colors.inc"
#include "metals.inc"
@@ -23,16 +17,21 @@ global_settings {
// =======================================================
// =======================================================
object { HexaBalls
#local SC = 0.10 + abs(sin(NormClock * 3.14159));
texture { Lightning2 scale SC }
translate <0, 1, 0> }
// =======================================================
object { Reacteur translate <0, 1, 0> }
light_source { <-6, 7, -4>, rgb <0.81, 0.65, 0.40> }
light_source { <-6, 7, 4>, rgb <0.31, 0.65, 0.80> }
light_source { <-6, 7, -5>, rgb <0.81, 0.65, NormClock> }
light_source { <-6, 7, 5>, rgb <0.31, NormClock, 0.80> }
light_source { < 6, 7, 4>, rgb <1-NormClock, 0.28, 0.80> }
camera {
location <-0.91, 1.01, 0.20>
location <-1.20, 1.81, 1.59>
look_at <0, 1.0, 0>
angle 32
angle 90
}