HexaCone/essai.pov

74 lines
1.5 KiB
POVRay
Raw Normal View History

2024-12-16 03:53:42 +11:00
/*
2024-12-31 22:51:12 +11:00
* H E X A C O N E - E S S A I
2024-12-16 03:53:42 +11:00
* nouveau projet Thu Dec 5 11:37:05 AM UTC 2024
*/
#version 3.7;
2024-12-29 14:56:10 +11:00
#include "globals.inc"
2024-12-24 06:09:00 +11:00
2024-12-16 03:53:42 +11:00
#include "colors.inc"
2024-12-21 00:24:45 +11:00
#include "metals.inc"
2024-12-16 03:53:42 +11:00
#include "textures.inc"
2024-12-31 22:51:12 +11:00
#include "stones.inc"
2024-12-21 00:24:45 +11:00
2024-12-23 01:05:36 +11:00
#declare NormClock = clock / 360.0;
2024-12-16 03:53:42 +11:00
#include "contexte.inc"
2024-12-23 01:05:36 +11:00
#include "elements.inc"
// =======================================================
2024-12-31 22:51:12 +11:00
#declare RHBlo = 0.25;
#declare RHBlo2 = RHBlo * 0.55;
#declare HexaBlob = object
{
blob {
// threshold 0.01 + NormClock
threshold 0.01
sphere { <0, 0, 0>, RHBlo, 1 }
#local E = RHBlo * 1.210;
#local W = 0.1;
sphere { <-E, 0, 0>, RHBlo2, W }
sphere { < E, 0, 0>, RHBlo2, W }
sphere { < 0, -E, 0>, RHBlo2, W }
sphere { < 0, E, 0>, RHBlo2, W }
sphere { < 0, 0, -E>, RHBlo2, W }
sphere { < 0, 0, E>, RHBlo2, W }
}
}
2024-12-23 01:05:36 +11:00
// =======================================================
2024-12-21 00:24:45 +11:00
2024-12-31 22:51:12 +11:00
object {
HexaBlob
#local SC = 1.111 + abs(sin(NormClock * 4 * 3.14159));
texture { T_Stone26
scale SC
translate 2*y*NormClock
}
translate < 0, 1, 0>
}
object { Repere }
#if (0)
2024-12-29 14:56:10 +11:00
object { HexaBalls
2024-12-31 22:51:12 +11:00
#local SC = 0.10 + abs(sin(NormClock * 4 * 3.14159));
2024-12-29 14:56:10 +11:00
texture { Lightning2 scale SC }
2024-12-31 22:51:12 +11:00
translate <-0.80, 1, 0> }
#end
2024-12-29 14:56:10 +11:00
// =======================================================
2024-12-16 03:53:42 +11:00
2024-12-31 22:51:12 +11:00
light_source { <-8, 7, -9>, rgb <0.81, 0.65, NormClock> }
// light_source { <-11, 7, 9>, rgb <0.31, NormClock, 0.80> }
light_source { < 11, 7, 4>, rgb <1-NormClock, 0.28, 0.80> }
2024-12-16 08:24:38 +11:00
2024-12-16 03:53:42 +11:00
camera {
2024-12-31 22:51:12 +11:00
location <-0.7+NormClock, 1.81, 2.59>
look_at <0.0, 1.0, 0>
angle 64
2024-12-16 03:53:42 +11:00
}