Compare commits

...

3 Commits

Author SHA1 Message Date
Tonton Th
ac5272c2c5 add normalization 2025-10-20 04:41:59 +02:00
Tonton Th
aefee1de0b camera tweaking 2025-10-20 04:40:59 +02:00
Tonton Th
912eea2f3d better spline usage 2025-10-20 04:40:03 +02:00
3 changed files with 13 additions and 12 deletions

View File

@ -36,7 +36,7 @@ object { Le_Decor }
// object { Repere scale 3 translate <SzSol, 2, SzSol> }
#local DistCam = 290;
#local CK = 0.333 + (0.42 * NormClock);
#local CK = 0.333 + (0.33 * 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 9
angle 8
}

View File

@ -24,11 +24,11 @@ object { Le_Decor }
natural_spline
-0.2, <-2, 1.0, -2>, // control point
0.0, <-0,1.3,-2>, // start 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>,
0.8, <-1, 1.0, 2>,
1.0, < 2, 1.0, 2>, // end point
1.2, < 4, 1.0, 2> // control point
@ -38,7 +38,7 @@ object { Le_Decor }
{
#local Scaler = <2, 1, 2>;
union {
#for (CK, 0.00, 1.00, 0.004)
#for (CK, 0.00, 1.00, 0.0034)
sphere { <0,0,0>, 0.034
texture{
pigment {color rgb <0.20, 0.90, 0.20> }
@ -62,7 +62,7 @@ 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))>;
#declare Loc_cam = <29-(12*NormClock), 39, 43+(9*exp(NormClock))>;
camera {
location Loc_cam

View File

@ -21,6 +21,7 @@ do
# echo $source "==>" $destname
convert $source \
-normalize \
-resize '640x350!' \
-dither none \
-remap datas/ega-colors.png \