Compare commits
4 Commits
3143bb87ba
...
9cb2d9f123
Author | SHA1 | Date | |
---|---|---|---|
![]() |
9cb2d9f123 | ||
![]() |
9a3b4807e4 | ||
![]() |
3ce1994e97 | ||
![]() |
03c8c1cbd8 |
10
contexte.inc
10
contexte.inc
@ -312,11 +312,11 @@ sky_sphere {
|
|||||||
pigment {
|
pigment {
|
||||||
gradient y
|
gradient y
|
||||||
color_map {
|
color_map {
|
||||||
[ 0.2 color Gray10 ]
|
[ 0.2 color Gray20 ]
|
||||||
[ 0.4 color rgb <.4, .3, .8> ]
|
[ 0.4 color rgb <.7, .3, .5> ]
|
||||||
[ 0.7 color Gray20 ]
|
[ 0.7 color Gray30 ]
|
||||||
[ 0.8 color rgb <.95, .7, .6> ]
|
[ 0.8 color rgb <.9, .6, .5> ]
|
||||||
[ 1.0 color Gray10 ]
|
[ 1.0 color Gray20 ]
|
||||||
}
|
}
|
||||||
turbulence 3.14159 + 0.74 * Cos_010(NormClock)
|
turbulence 3.14159 + 0.74 * Cos_010(NormClock)
|
||||||
scale 1.600
|
scale 1.600
|
||||||
|
16
essai.pov
16
essai.pov
@ -17,20 +17,6 @@
|
|||||||
|
|
||||||
// =======================================================
|
// =======================================================
|
||||||
// #include "dynamic.inc"
|
// #include "dynamic.inc"
|
||||||
/* ======================================================= */
|
|
||||||
#declare Horloge = object
|
|
||||||
{
|
|
||||||
#local Texte = str(NormClock, 6, 4);
|
|
||||||
#debug concat("Texte horloge ", Texte, "\n\n")
|
|
||||||
|
|
||||||
text {
|
|
||||||
ttf "datas/DSEG7Classic-Regular.ttf" Texte 0.1, 0
|
|
||||||
texture { T_WIP_alert }
|
|
||||||
}
|
|
||||||
scale 3.00
|
|
||||||
rotate 90*x
|
|
||||||
translate <-4.5, 0.02, 0>
|
|
||||||
}
|
|
||||||
|
|
||||||
// =======================================================
|
// =======================================================
|
||||||
|
|
||||||
@ -80,7 +66,7 @@ object { Gyros }
|
|||||||
#debug " Cabane+Compteur !!!\n"
|
#debug " Cabane+Compteur !!!\n"
|
||||||
#break
|
#break
|
||||||
#case (1)
|
#case (1)
|
||||||
object { HexaPole }
|
object { HexaPole () }
|
||||||
#debug " Hexapole !!!\n"
|
#debug " Hexapole !!!\n"
|
||||||
#break
|
#break
|
||||||
#case (2)
|
#case (2)
|
||||||
|
30
gadgets.inc
30
gadgets.inc
@ -3,6 +3,21 @@
|
|||||||
* nouveau projet du Thu Dec 5 11:37:05 AM UTC 2024
|
* nouveau projet du Thu Dec 5 11:37:05 AM UTC 2024
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/* ======================================================= */
|
||||||
|
#declare Horloge = object
|
||||||
|
{
|
||||||
|
#local Texte = str(NormClock, 6, 4);
|
||||||
|
#debug concat("Texte horloge ", Texte, "\n\n")
|
||||||
|
|
||||||
|
text {
|
||||||
|
ttf "datas/DSEG7Classic-Regular.ttf" Texte 0.1, 0
|
||||||
|
texture { T_WIP_alert }
|
||||||
|
}
|
||||||
|
scale 3.00
|
||||||
|
rotate 90*x
|
||||||
|
translate <-4.5, 0.02, 0>
|
||||||
|
}
|
||||||
|
|
||||||
// =======================================================
|
// =======================================================
|
||||||
|
|
||||||
#macro Base_hexapole ()
|
#macro Base_hexapole ()
|
||||||
@ -26,21 +41,22 @@ prism {
|
|||||||
#macro HexaPole_tubes ()
|
#macro HexaPole_tubes ()
|
||||||
#local R = 0.06;
|
#local R = 0.06;
|
||||||
#local E = 0.666666;
|
#local E = 0.666666;
|
||||||
#local H = H_cone*4;
|
#local H = H_cone*3;
|
||||||
union {
|
union {
|
||||||
#for (A, 0, 359, 60)
|
#for (A, 0, 359, 60)
|
||||||
#local Xp = E * cos(radians(A));
|
#local Xp = E * cos(radians(A));
|
||||||
#local Zp = E * sin(radians(A));
|
#local Zp = E * sin(radians(A));
|
||||||
#local Ha = rand(Rng1);
|
|
||||||
union {
|
union {
|
||||||
cylinder { 0, y*H, R }
|
#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> }
|
||||||
sphere { 0, R*2 scale <1, 0.666, 1> translate y*H }
|
sphere { 0, R*2 scale <1, 0.666, 1> translate y*H2 }
|
||||||
#if (Ha < 0.30)
|
#local Ra = rand(Rng1);
|
||||||
|
#if (Ra < 0.30)
|
||||||
texture { T_Chrome_1A }
|
texture { T_Chrome_1A }
|
||||||
#elseif (Ha < 0.60)
|
#elseif (Ra < 0.60)
|
||||||
texture { T_Chrome_4D }
|
texture { T_Chrome_4D }
|
||||||
#elseif (Ha < 0.90)
|
#elseif (Ra < 0.90)
|
||||||
texture { T_Brass_2C }
|
texture { T_Brass_2C }
|
||||||
#else
|
#else
|
||||||
texture { Soft_Silver }
|
texture { Soft_Silver }
|
||||||
|
@ -23,7 +23,7 @@ object { Le_Decor }
|
|||||||
|
|
||||||
// =======================================================
|
// =======================================================
|
||||||
|
|
||||||
#declare Debut = <-3, 87, 111> ;
|
#declare Debut = <-3, 87, 131> ;
|
||||||
#declare Fin = < 2, 91, 31> ;
|
#declare Fin = < 2, 91, 31> ;
|
||||||
#declare Pos = Cos_01(NormClock);
|
#declare Pos = Cos_01(NormClock);
|
||||||
#declare PosCam = Interpolate(Debut, Fin, Pos);
|
#declare PosCam = Interpolate(Debut, Fin, Pos);
|
||||||
|
Loading…
Reference in New Issue
Block a user