add a new sequence
This commit is contained in:
parent
150c546fb4
commit
1f534e88cf
3
Makefile
3
Makefile
@ -17,6 +17,9 @@ PNG: essai.png scene.png topview.png passage.png \
|
|||||||
echo "make PNG ck=$(CK) done" >> WS/log
|
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)
|
topview.png: topview.pov Makefile $(POVDEP)
|
||||||
povray $(POVOPT) $(DIMS) -K$(CK) -i$< -o$@
|
povray $(POVOPT) $(DIMS) -K$(CK) -i$< -o$@
|
||||||
|
|
||||||
|
|||||||
75
splined.pov
Normal file
75
splined.pov
Normal 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
|
||||||
|
}
|
||||||
|
|
||||||
Loading…
Reference in New Issue
Block a user