Compare commits

..

No commits in common. "3c4012945f598b4009b7c3c8e71f7f8c1ae68702" and "05ab348be3f09eddb0622ec9b73b26134b48c8b5" have entirely different histories.

3 changed files with 16 additions and 70 deletions

View File

@ -11,7 +11,7 @@ CK=180
PNG: essai.png scene.png topview.png passage.png \ PNG: essai.png scene.png topview.png passage.png \
orbite.png hexabenz.png escadrille.png \ orbite.png hexabenz.png escadrille.png \
hexacone.png remote.png survol.png cutoff.png \ hexacone.png remote.png survol.png cutoff.png \
carto.png hexawood.png carto.png
echo "make PNG ck=$(CK) done" >> WS/log echo "make PNG ck=$(CK) done" >> WS/log
@ -30,9 +30,6 @@ hexabenz.png: hexabenz.pov Makefile $(POVDEP)
hexacone.png: hexacone.pov Makefile $(POVDEP) hexacone.png: hexacone.pov Makefile $(POVDEP)
povray $(POVOPT) $(DIMS) +K$(CK) -i$< -o$@ povray $(POVOPT) $(DIMS) +K$(CK) -i$< -o$@
hexawood.png: hexawood.pov Makefile $(POVDEP)
povray $(POVOPT) $(DIMS) +K$(CK) -i$< -o$@
passage.png: passage.pov Makefile $(POVDEP) passage.png: passage.pov Makefile $(POVDEP)
povray $(POVOPT) $(DIMS) -K$(CK) -i$< -o$@ povray $(POVOPT) $(DIMS) -K$(CK) -i$< -o$@

View File

@ -1,11 +1,7 @@
/* /*
*/ */
#include "gadgets.inc" object { Les_Bibelots rotate y*clock translate <28, -1, -27> }
//
object { Les_Bibelots rotate y*clock translate UnderHoles[2] }
object { Les_Machins rotate -y*clock translate UnderHoles[3] }
/* /*
* on fait passer un hexatruc dans le ciel * on fait passer un hexatruc dans le ciel
@ -21,16 +17,21 @@ object { HexaCone () rotate y*((12*NormClock)+80) translate P }
* trous de l'underground * trous de l'underground
*/ */
// #fopen Trid "WS/tridents.log" write #declare Truc = object
{
cylinder { -y, y, 0.8 }
pigment { color Red }
}
#fopen Trid "WS/tridents.log" write
#for (Foo, 0, 5) #for (Foo, 0, 5)
#declare Dy = -3+(11*NormClock); #declare Dy = -3+(11*NormClock);
#declare Tr = UnderHoles[Foo] + <0, Dy, 0>; #declare Tr = UnderHoles[Foo] + <0, Dy, 0>;
// #write (Trid, Foo, " ", NormClock, " ", Dy, " ", #write (Trid, Foo, " ", NormClock, " ", Dy, " ",
// UnderHoles[Foo], " ", Tr, "\n") UnderHoles[Foo], " ", Tr, "\n")
object { Trident_A () rotate y*((rand(Rng1)-NormClock)*77) object { Trident_A () translate Tr }
translate Tr }
#end #end
// #fclose Trid #fclose Trid
/* /*
* echange hexacone et hexabenz * echange hexacone et hexabenz
@ -55,29 +56,7 @@ object { HexaBenz ()
/* /*
* passage d'un hexawood près de la base * passage d'un hexawood près de la base
*/ */
#declare A = <-21, 0.4, (SzSol/2)+4>; #declare A = <-21, 1.7, (SzSol/2)+8>;
#declare B = < 24, 0.5, (SzSol/2)+1>; #declare B = < 24, 1.6, (SzSol/2)+5>;
#declare P = Interpolate(A, B, NormClock); #declare P = Interpolate(A, B, NormClock);
#local K = NormClock*36; object { HexaWood translate P }
#local R = 16.64 * cos(K);
#local H = 0.48 * pow(sin(K), 3);
#declare P_hexawood = P + <0, 0.26+H, 0>;
object { HexaWood rotate z*R translate P_hexawood }
/*
* survol par un trident
*/
#declare A = < 2, 49, -20>;
#declare B = <-3, 47, 22>;
#declare P = Interpolate(A, B, NormClock);
object { Trident_A () rotate y*(clock*2.7)
rotate z*80
rotate <2, 94, 0>
translate P }

View File

@ -1,30 +0,0 @@
/*
* H E X A C O N E - H E X A W O O D
*
*
*/
#version 3.7;
#include "globals.inc"
#include "contexte.inc"
#include "hexacone.inc"
#include "hexabenz.inc"
#include "hexawood.inc"
#include "trident.inc"
#include "dynamic.inc"
// =======================================================
object { Le_Decor }
object { Repere translate <10, 1, 0> }
camera {
location <40, 2, 15>
look_at <-20, 1.7, 20>
angle 42
}