Compare commits

..

2 Commits

Author SHA1 Message Date
Tonton Th
1f534e88cf add a new sequence 2025-10-19 21:42:42 +02:00
Tonton Th
150c546fb4 camera adjustements 2025-10-19 19:11:08 +02:00
5 changed files with 85 additions and 7 deletions

View File

@ -17,6 +17,9 @@ PNG: essai.png scene.png topview.png passage.png \
echo "make PNG ck=$(CK) done" >> WS/log
splined.png: splined.pov Makefile $(POVDEP)
povray $(POVOPT) $(DIMS) -K$(CK) -i$< -o$@
topview.png: topview.pov Makefile $(POVDEP)
povray $(POVOPT) $(DIMS) -K$(CK) -i$< -o$@

View File

@ -35,8 +35,8 @@ object { Le_Decor }
// object { Repere scale 3 translate <SzSol, 2, SzSol> }
#local DistCam = 280;
#local CK = 0.333 + (0.52 * NormClock);
#local DistCam = 290;
#local CK = 0.333 + (0.42 * NormClock);
#declare CamX = DistCam * sin(CK);
#declare CamY = 28;
#declare CamZ = DistCam * cos(CK);
@ -47,5 +47,5 @@ camera {
// focal_point <2, 1, 12>
// aperture 0.046
// blur_samples 30
angle 10
angle 9
}

75
splined.pov Normal file
View File

@ -0,0 +1,75 @@
/*
* H E X A C O N E - S P L I N E D
*
* new: Sun Oct 19 05:20:49 PM UTC 2025
* https://www.f-lohmueller.de/pov_tut/animate/anim210e.htm
*/
#version 3.7;
#include "globals.inc"
#include "contexte.inc"
#include "hexacone.inc"
#include "hexabenz.inc"
#include "hexawood.inc"
#include "trident.inc"
object { Le_Decor }
// #include "dynamic.inc"
// =======================================================
#declare Spline_1 =
spline {
natural_spline
-0.2, <-2,1.0,-2>, // control point
0.0, <-0,1.3,-2>, // start point
0.2, < 2,1.0,-2>,
0.4, < 2,1.5, 0>,
0.6, < 0,2.2, 0>,
0.8, < 0,1.0, 2>,
1.0, < 2,1.0, 2>, // end point
1.2, < 4,1.0, 2> // control point
}
#declare ViewSpline = object
{
#local Scaler = <2, 1, 2>;
union {
#for (CK, 0.00, 1.00, 0.004)
sphere { <0,0,0>, 0.034
texture{
pigment {color rgb <0.20, 0.90, 0.20> }
finish {ambient 0.15 diffuse 0.85 phong 1}
}
translate (Scaler * Spline_1(CK))
}
#end // for loop
sphere {
0, 0.09
texture { WIP_color }
translate (Scaler * Spline_1(NormClock))
}
} // closing union
}
object { ViewSpline scale 10 translate y*3 }
// =======================================================
object { Repere scale 8 translate <1, 1, 1> }
#declare Loc_cam = <16-(12*NormClock), 39, 34+(9*exp(NormClock))>;
camera {
location Loc_cam
look_at <0, 1.20, 0>
// focal_point <0.37, 0.0, 0>
// aperture 0.046
// blur_samples 30
angle 120
}

View File

@ -24,7 +24,7 @@ object { Le_Decor }
// =======================================================
#declare Debut = <-3, 87, 161> ;
#declare Fin = < 2, 91, 81> ;
#declare Fin = < 2, 91, 21> ;
#declare Pos = Cos_01(NormClock);
#declare PosCam = Interpolate(Debut, Fin, Pos);
@ -33,6 +33,6 @@ object { Le_Decor }
camera {
location PosCam
look_at LatCam
angle 56
angle 52
}

View File

@ -39,7 +39,7 @@ object { HexaWood translate P }
object { Le_Decor }
#declare CamY = 32 - (21.36 * Cos_01(NormClock));
#declare CamY = 36 - (21.36 * Cos_01(NormClock));
#declare LatY = -4 + ( 2.12 * NormClock);
camera {
@ -48,5 +48,5 @@ camera {
// focal_point <2, 1, 12>
// aperture 0.046
// blur_samples 30
angle 45 + (82*NormClock)
angle 45 + (52*NormClock)
}