diff --git a/Makefile b/Makefile index c028cad..b021b54 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,7 @@ CK=180 PNG: essai.png scene.png topview.png passage.png \ orbite.png hexabenz.png escadrille.png \ hexacone.png remote.png survol.png cutoff.png \ - carto.png hexawood.png + carto.png hexawood.png bubblecut.png echo "make PNG ck=$(CK) done" >> WS/log @@ -21,6 +21,9 @@ topview.png: topview.pov Makefile $(POVDEP) cutoff.png: cutoff.pov Makefile $(POVDEP) povray $(POVOPT) $(DIMS) -K$(CK) -i$< -o$@ +bubblecut.png: bubblecut.pov Makefile $(POVDEP) + povray $(POVOPT) $(DIMS) -K$(CK) -i$< -o$@ + essai.png: essai.pov Makefile $(POVDEP) povray $(POVOPT) $(DIMS) -K$(CK) -i$< -o$@ diff --git a/bubblecut.pov b/bubblecut.pov new file mode 100644 index 0000000..fe2c281 --- /dev/null +++ b/bubblecut.pov @@ -0,0 +1,58 @@ +/* + * H E X A C O N E - C U T O F F + * nouveau projet du Thu Dec 5 11:37:05 AM UTC 2024 + */ + +#version 3.7; + +#include "globals.inc" + +#include "contexte.inc" +#include "hexacone.inc" +#include "hexabenz.inc" +#include "hexawood.inc" +#include "trident.inc" + +#include "dynamic.inc" + +// ======================================================= + +#declare POS_Cutoff = <-24, 0, -7>; + +#local TY = 1.5; + +#declare Pos = <0.70, -0.70, 0.45>; +#declare Rad = 0.40 + (1.52*NormClock); +difference { + object { HexaBenz () } + sphere { Pos, Rad } + translate y*TY + POS_Cutoff + } + +// sphere { Pos, 0.10 translate y*TY + POS_Cutoff } +// object { Repere scale 2 translate y*2.8 + POS_Cutoff } + +/* this one is for debugging */ +object { OpenBox translate y*TY + POS_Cutoff } + +// ======================================================= +light_source { + <-24, 0.4, -1> + colour Orange + parallel + point_at y*TY + POS_Cutoff + } + +object { Le_Decor } + +// ======================================================= + +#local CamX = -25.4 + (2.29*Cos_01(NormClock)); +#local CamY = 2.1 - (0.24*sqrt(NormClock)); +#local CamZ = -0.85 + (2.02*NormClock); + +camera { + location + look_at <0, 1.5, 0> + POS_Cutoff + angle 39 - 5*Cos_01(NormClock) + }