add a new sequence : cutoff
This commit is contained in:
parent
b344d0b762
commit
1944fdd337
3
Makefile
3
Makefile
@ -16,6 +16,9 @@ PNG: essai.png scene.png topview.png passage.png \
|
||||
topview.png: topview.pov Makefile $(POVDEP)
|
||||
povray $(POVOPT) $(DIMS) -K$(CK) -i$< -o$@
|
||||
|
||||
cutoff.png: cutoff.pov Makefile $(POVDEP)
|
||||
povray $(POVOPT) $(DIMS) -K$(CK) -i$< -o$@
|
||||
|
||||
essai.png: essai.pov Makefile $(POVDEP)
|
||||
povray $(POVOPT) $(DIMS) -K$(CK) -i$< -o$@
|
||||
|
||||
|
33
contexte.inc
33
contexte.inc
@ -156,10 +156,39 @@ texture {
|
||||
#declare Repere = object
|
||||
{
|
||||
union {
|
||||
cylinder { 0, <1, 0, 0>, 0.008 pigment { color Red } }
|
||||
cylinder { 0, <0, 0, 1>, 0.008 pigment { color Blue } }
|
||||
#local R = 0.008;
|
||||
cylinder { 0, <1, 0, 0>, R pigment { color Red } }
|
||||
cylinder { 0, <0, 1, 0>, R pigment { color Green } }
|
||||
cylinder { 0, <0, 0, 1>, R pigment { color Blue } }
|
||||
}
|
||||
}
|
||||
|
||||
#declare OpenBox = object
|
||||
{
|
||||
union {
|
||||
#local R = 0.010;
|
||||
/* les verticales */
|
||||
cylinder { <-1, -1, -1>, <-1, 1, -1>, R }
|
||||
cylinder { < 1, -1, -1>, < 1, 1, -1>, R }
|
||||
cylinder { <-1, -1, 1>, <-1, 1, 1>, R }
|
||||
cylinder { < 1, -1, 1>, < 1, 1, 1>, R }
|
||||
/* en bas */
|
||||
cylinder { < 1, -1, 1>, <-1, -1, 1>, R }
|
||||
cylinder { < 1, -1, -1>, <-1, -1, -1>, R }
|
||||
cylinder { <-1, -1, 1>, <-1, -1, -1>, R }
|
||||
cylinder { < 1, -1, 1>, < 1, -1, -1>, R }
|
||||
|
||||
/* en haut */
|
||||
cylinder { < 1, 1, 1>, <-1, 1, 1>, R }
|
||||
cylinder { < 1, 1, -1>, <-1, 1, -1>, R }
|
||||
cylinder { <-1, 1, 1>, <-1, 1, -1>, R }
|
||||
cylinder { < 1, 1, 1>, < 1, 1, -1>, R }
|
||||
|
||||
#undef R
|
||||
texture { WIP_color }
|
||||
}
|
||||
}
|
||||
|
||||
// =======================================================
|
||||
|
||||
#declare Les_Lumieres = object
|
||||
|
42
cutoff.pov
Normal file
42
cutoff.pov
Normal file
@ -0,0 +1,42 @@
|
||||
/*
|
||||
* 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 "elements.inc"
|
||||
#include "hexabenz.inc"
|
||||
|
||||
// =======================================================
|
||||
|
||||
#debug concat("------ cutoff clock = ", str(clock,5,0),"\n")
|
||||
|
||||
#declare Kbox = (2*NormClock);
|
||||
|
||||
/* this one is for debugging */
|
||||
object { OpenBox translate <0, 1.5, Kbox> }
|
||||
|
||||
difference {
|
||||
object { HexaCone () rotate y*5 }
|
||||
box { -1, 1 translate z*Kbox }
|
||||
translate y*1.5
|
||||
}
|
||||
|
||||
// =======================================================
|
||||
|
||||
object { Le_Decor }
|
||||
object { Repere }
|
||||
|
||||
// =======================================================
|
||||
|
||||
#local CamX = -2.7 + (2.1*NormClock);
|
||||
#local CamY = 2.58 + (0.034*sqrt(NormClock));
|
||||
camera {
|
||||
location <CamX, CamY, 6.99>
|
||||
look_at <0, 1.3, 0>
|
||||
angle 42 - 4*Cos_01(NormClock)
|
||||
}
|
Loading…
Reference in New Issue
Block a user