Compare commits
4 Commits
3fd4ce827f
...
71cce4f60c
Author | SHA1 | Date | |
---|---|---|---|
![]() |
71cce4f60c | ||
![]() |
3535e16a20 | ||
![]() |
92a015b46a | ||
![]() |
435d5b56b3 |
7
Makefile
7
Makefile
@ -12,7 +12,8 @@ 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 bubblecut.png
|
||||
carto.png hexawood.png bubblecut.png \
|
||||
circular.png
|
||||
echo "make PNG ck=$(CK) done" >> WS/log
|
||||
|
||||
|
||||
@ -58,4 +59,8 @@ survol.png: survol.pov Makefile $(POVDEP)
|
||||
carto.png: carto.pov Makefile $(POVDEP)
|
||||
povray $(POVOPT) $(DIMS) +K$(CK) -i$< -o$@
|
||||
|
||||
circular.png: circular.pov Makefile $(POVDEP)
|
||||
povray $(POVOPT) $(DIMS) +K$(CK) -i$< -o$@
|
||||
|
||||
|
||||
|
||||
|
41
circular.pov
Normal file
41
circular.pov
Normal file
@ -0,0 +1,41 @@
|
||||
/*
|
||||
* H E X A C O N E - E S S A I
|
||||
* nouveau projet du Thu Dec 5 11:37:05 AM UTC 2024
|
||||
*/
|
||||
|
||||
#version 3.7;
|
||||
|
||||
#include "globals.inc"
|
||||
|
||||
#include "contexte.inc"
|
||||
#include "gadgets.inc"
|
||||
#include "hexacone.inc"
|
||||
#include "hexabenz.inc"
|
||||
#include "hexawood.inc"
|
||||
#include "trident.inc"
|
||||
|
||||
// =======================================================
|
||||
#include "dynamic.inc"
|
||||
|
||||
object { Le_Decor }
|
||||
|
||||
// =======================================================
|
||||
|
||||
#declare R_circ = R_circular + 2;
|
||||
#declare CK = NormClock * 2 * 3.141592654;
|
||||
|
||||
#declare CamX = R_circ * cos(CK);
|
||||
#declare CamY = 3.08;
|
||||
#declare CamZ = R_circ * sin(CK);
|
||||
|
||||
#declare LatX = R_circ * 0.92 * cos(CK + 0.09);
|
||||
#declare LatY = 3;
|
||||
#declare LatZ = R_circ * 0.91 * sin(CK + 0.09);
|
||||
|
||||
camera {
|
||||
// orthographic
|
||||
location <CamX, CamY, CamZ>
|
||||
look_at <LatX, LatY, LatZ>
|
||||
angle 66
|
||||
}
|
||||
|
@ -118,7 +118,7 @@ union {
|
||||
|
||||
union {
|
||||
#for (Ang, 0, 359, 15)
|
||||
#local E = (SzSol * 1.40) + (8*rand(Rng1));
|
||||
#local E = R_circular + (8*rand(Rng1));
|
||||
#local Ra = radians(Ang);
|
||||
#local Xp = E * cos(Ra);
|
||||
#local Zp = E * sin(Ra);
|
||||
@ -234,9 +234,6 @@ union {
|
||||
}
|
||||
}
|
||||
|
||||
/* ======================================================= */
|
||||
|
||||
|
||||
/* ======================================================= */
|
||||
/*
|
||||
* nouvel éclairage du 10 février 2025
|
||||
@ -353,6 +350,7 @@ union {
|
||||
object { QuadriLight }
|
||||
object { Les_GyroPhares () }
|
||||
object { Les_HexaPoles }
|
||||
object { Horloge rotate y*27 translate < 3, 0, -30> }
|
||||
}
|
||||
}
|
||||
/* ------------------------------------------------------------ */
|
||||
|
@ -55,7 +55,7 @@ object { Le_Decor }
|
||||
// object { Repere scale 5 translate y }
|
||||
|
||||
#local CamX = -8.7 + ( 6.6 * Cos_01(NormClock));
|
||||
#local CamY = 2.95 + (22.64 * Cos_01(NormClock));
|
||||
#local CamY = 0.95 + (22.64 * Cos_01(NormClock));
|
||||
#local CamZ = 16.86 + (12.9 * Cos_01(NormClock));
|
||||
|
||||
camera {
|
||||
|
11
gadgets.inc
11
gadgets.inc
@ -6,7 +6,7 @@
|
||||
/* ======================================================= */
|
||||
#declare Horloge = object
|
||||
{
|
||||
#local Texte = str(NormClock, 6, 4);
|
||||
#local Texte = str(NormClock, 6, 3);
|
||||
#debug concat("Texte horloge ", Texte, "\n\n")
|
||||
|
||||
text {
|
||||
@ -15,7 +15,7 @@ text {
|
||||
}
|
||||
scale 3.00
|
||||
rotate 90*x
|
||||
translate <-4.5, 0.02, 0>
|
||||
translate <-4.5, 0.04, 0>
|
||||
}
|
||||
|
||||
// =======================================================
|
||||
@ -40,7 +40,7 @@ prism {
|
||||
|
||||
#macro HexaPole_tubes ()
|
||||
#local R = 0.06;
|
||||
#local E = 0.666666;
|
||||
#local E = 0.725;
|
||||
#local H = H_cone*3;
|
||||
union {
|
||||
#for (A, 0, 359, 60)
|
||||
@ -50,7 +50,7 @@ union {
|
||||
#local H2 = H + rand(Rng1) + rand(Rng1);
|
||||
cylinder { 0, y*H2, R }
|
||||
sphere { 0, R*2 scale <1, 0.666, 1> }
|
||||
sphere { 0, R*2 scale <1, 0.666, 1> translate y*H2 }
|
||||
sphere { 0, R*2 scale <1, 0.555, 1> translate y*H2 }
|
||||
#local Ra = rand(Rng1);
|
||||
#if (Ra < 0.30)
|
||||
texture { T_Chrome_1A }
|
||||
@ -72,6 +72,9 @@ union {
|
||||
#end
|
||||
|
||||
// ------------------------------------------------------ ##
|
||||
/*
|
||||
* l'assemblage de ces trucs est dans "contexte.inc"
|
||||
*/
|
||||
|
||||
#macro HexaPole ()
|
||||
union {
|
||||
|
@ -39,6 +39,8 @@ global_settings {
|
||||
#declare H_QuadriLight = 34;
|
||||
#declare E_QuadriLight = SzSol * 1.35;
|
||||
|
||||
#declare R_circular = (SzSol * 1.40);
|
||||
|
||||
/* ------------------------------------------------------------ */
|
||||
/*
|
||||
* Some textures...
|
||||
|
@ -149,6 +149,7 @@ linkfarm topview
|
||||
linkfarm passage
|
||||
linkfarm scene
|
||||
linkfarm carto
|
||||
linkfarm circular
|
||||
linkfarm bubblecut
|
||||
linkfarm orbite
|
||||
linkfarm hexacone
|
||||
|
@ -39,14 +39,14 @@ object { HexaWood translate P }
|
||||
|
||||
object { Le_Decor }
|
||||
|
||||
#declare CamY = 32 + (12.36 * Cos_01(NormClock));
|
||||
#declare LatY = -3 + ( 1.12 * NormClock);
|
||||
#declare CamY = 32 - (21.36 * Cos_01(NormClock));
|
||||
#declare LatY = -4 + ( 2.12 * NormClock);
|
||||
|
||||
camera {
|
||||
location <-3.60, CamY, 21.09>
|
||||
location <-3.60, CamY, 10.09>
|
||||
look_at <0, LatY, 0>
|
||||
// focal_point <2, 1, 12>
|
||||
// aperture 0.046
|
||||
// blur_samples 30
|
||||
angle 45 + (6*NormClock)
|
||||
angle 45 + (82*NormClock)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user