better spline usage
This commit is contained in:
parent
1f534e88cf
commit
912eea2f3d
20
splined.pov
20
splined.pov
@ -22,23 +22,23 @@ object { Le_Decor }
|
|||||||
#declare Spline_1 =
|
#declare Spline_1 =
|
||||||
spline {
|
spline {
|
||||||
natural_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.0, < 0, 1.3, -2>, // start point
|
||||||
0.2, < 2,1.0,-2>,
|
0.2, < 2, 1.0, -2>,
|
||||||
0.4, < 2,1.5, 0>,
|
0.4, < 2, 1.5, 0>,
|
||||||
0.6, < 0,2.2, 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.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
|
#declare ViewSpline = object
|
||||||
{
|
{
|
||||||
#local Scaler = <2, 1, 2>;
|
#local Scaler = <2, 1, 2>;
|
||||||
union {
|
union {
|
||||||
#for (CK, 0.00, 1.00, 0.004)
|
#for (CK, 0.00, 1.00, 0.0034)
|
||||||
sphere { <0,0,0>, 0.034
|
sphere { <0,0,0>, 0.034
|
||||||
texture{
|
texture{
|
||||||
pigment {color rgb <0.20, 0.90, 0.20> }
|
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> }
|
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 {
|
camera {
|
||||||
location Loc_cam
|
location Loc_cam
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user