From 912eea2f3d5fa742566fde7bbed5b32d06f9de3b Mon Sep 17 00:00:00 2001 From: Tonton Th Date: Mon, 20 Oct 2025 04:40:03 +0200 Subject: [PATCH] better spline usage --- splined.pov | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/splined.pov b/splined.pov index a24a72c..3bae460 100644 --- a/splined.pov +++ b/splined.pov @@ -22,23 +22,23 @@ object { Le_Decor } #declare Spline_1 = spline { natural_spline - -0.2, <-2,1.0,-2>, // control point + -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 + 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, <-1, 1.0, 2>, + 1.0, < 2, 1.0, 2>, // end point - 1.2, < 4,1.0, 2> // control 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) + #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