Compare commits

..

4 Commits

Author SHA1 Message Date
Tonton Th
71cce4f60c very small refactoring 2025-06-19 14:54:49 +02:00
Tonton Th
3535e16a20 camera tuning 2025-06-19 14:34:53 +02:00
Tonton Th
92a015b46a add a sequence 2025-06-19 14:33:30 +02:00
Tonton Th
435d5b56b3 horloge 2025-05-24 14:20:20 +02:00
8 changed files with 64 additions and 14 deletions

View File

@ -12,7 +12,8 @@ CK=180
PNG: essai.png scene.png topview.png passage.png \
orbite.png hexabenz.png escadrille.png \
hexacone.png remote.png survol.png cutoff.png \
carto.png hexawood.png bubblecut.png
carto.png hexawood.png bubblecut.png \
circular.png
echo "make PNG ck=$(CK) done" >> WS/log
@ -58,4 +59,8 @@ survol.png: survol.pov Makefile $(POVDEP)
carto.png: carto.pov Makefile $(POVDEP)
povray $(POVOPT) $(DIMS) +K$(CK) -i$< -o$@
circular.png: circular.pov Makefile $(POVDEP)
povray $(POVOPT) $(DIMS) +K$(CK) -i$< -o$@

41
circular.pov Normal file
View File

@ -0,0 +1,41 @@
/*
* H E X A C O N E - E S S A I
* nouveau projet du Thu Dec 5 11:37:05 AM UTC 2024
*/
#version 3.7;
#include "globals.inc"
#include "contexte.inc"
#include "gadgets.inc"
#include "hexacone.inc"
#include "hexabenz.inc"
#include "hexawood.inc"
#include "trident.inc"
// =======================================================
#include "dynamic.inc"
object { Le_Decor }
// =======================================================
#declare R_circ = R_circular + 2;
#declare CK = NormClock * 2 * 3.141592654;
#declare CamX = R_circ * cos(CK);
#declare CamY = 3.08;
#declare CamZ = R_circ * sin(CK);
#declare LatX = R_circ * 0.92 * cos(CK + 0.09);
#declare LatY = 3;
#declare LatZ = R_circ * 0.91 * sin(CK + 0.09);
camera {
// orthographic
location <CamX, CamY, CamZ>
look_at <LatX, LatY, LatZ>
angle 66
}

View File

@ -118,7 +118,7 @@ union {
union {
#for (Ang, 0, 359, 15)
#local E = (SzSol * 1.40) + (8*rand(Rng1));
#local E = R_circular + (8*rand(Rng1));
#local Ra = radians(Ang);
#local Xp = E * cos(Ra);
#local Zp = E * sin(Ra);
@ -234,9 +234,6 @@ union {
}
}
/* ======================================================= */
/* ======================================================= */
/*
* nouvel éclairage du 10 février 2025
@ -353,6 +350,7 @@ union {
object { QuadriLight }
object { Les_GyroPhares () }
object { Les_HexaPoles }
object { Horloge rotate y*27 translate < 3, 0, -30> }
}
}
/* ------------------------------------------------------------ */

View File

@ -55,7 +55,7 @@ object { Le_Decor }
// object { Repere scale 5 translate y }
#local CamX = -8.7 + ( 6.6 * Cos_01(NormClock));
#local CamY = 2.95 + (22.64 * Cos_01(NormClock));
#local CamY = 0.95 + (22.64 * Cos_01(NormClock));
#local CamZ = 16.86 + (12.9 * Cos_01(NormClock));
camera {

View File

@ -6,7 +6,7 @@
/* ======================================================= */
#declare Horloge = object
{
#local Texte = str(NormClock, 6, 4);
#local Texte = str(NormClock, 6, 3);
#debug concat("Texte horloge ", Texte, "\n\n")
text {
@ -15,7 +15,7 @@ text {
}
scale 3.00
rotate 90*x
translate <-4.5, 0.02, 0>
translate <-4.5, 0.04, 0>
}
// =======================================================
@ -40,7 +40,7 @@ prism {
#macro HexaPole_tubes ()
#local R = 0.06;
#local E = 0.666666;
#local E = 0.725;
#local H = H_cone*3;
union {
#for (A, 0, 359, 60)
@ -50,7 +50,7 @@ union {
#local H2 = H + rand(Rng1) + rand(Rng1);
cylinder { 0, y*H2, R }
sphere { 0, R*2 scale <1, 0.666, 1> }
sphere { 0, R*2 scale <1, 0.666, 1> translate y*H2 }
sphere { 0, R*2 scale <1, 0.555, 1> translate y*H2 }
#local Ra = rand(Rng1);
#if (Ra < 0.30)
texture { T_Chrome_1A }
@ -72,6 +72,9 @@ union {
#end
// ------------------------------------------------------ ##
/*
* l'assemblage de ces trucs est dans "contexte.inc"
*/
#macro HexaPole ()
union {

View File

@ -39,6 +39,8 @@ global_settings {
#declare H_QuadriLight = 34;
#declare E_QuadriLight = SzSol * 1.35;
#declare R_circular = (SzSol * 1.40);
/* ------------------------------------------------------------ */
/*
* Some textures...

View File

@ -149,6 +149,7 @@ linkfarm topview
linkfarm passage
linkfarm scene
linkfarm carto
linkfarm circular
linkfarm bubblecut
linkfarm orbite
linkfarm hexacone

View File

@ -39,14 +39,14 @@ object { HexaWood translate P }
object { Le_Decor }
#declare CamY = 32 + (12.36 * Cos_01(NormClock));
#declare LatY = -3 + ( 1.12 * NormClock);
#declare CamY = 32 - (21.36 * Cos_01(NormClock));
#declare LatY = -4 + ( 2.12 * NormClock);
camera {
location <-3.60, CamY, 21.09>
location <-3.60, CamY, 10.09>
look_at <0, LatY, 0>
// focal_point <2, 1, 12>
// aperture 0.046
// blur_samples 30
angle 45 + (6*NormClock)
angle 45 + (82*NormClock)
}