un bon gros paquet de changements :)
This commit is contained in:
96
essai.pov
96
essai.pov
@@ -11,16 +11,6 @@
|
||||
#declare NO_DYNAMIC = 1;
|
||||
#include "all.inc"
|
||||
|
||||
// =======================================================
|
||||
#include "architecture.inc"
|
||||
|
||||
// =======================================================
|
||||
#declare LeGris = texture
|
||||
{
|
||||
/* moi j'dis qu'il est temps de définir un "gris de base" */
|
||||
pigment { color Gray70 }
|
||||
finish { phong 0.33 ambient 0.33 }
|
||||
}
|
||||
// =======================================================
|
||||
// nouveau du 3 janvier 2026
|
||||
#local Horloge2 = object
|
||||
@@ -40,7 +30,6 @@ union {
|
||||
scale 0.8
|
||||
translate y*2.35
|
||||
}
|
||||
|
||||
// =======================================================
|
||||
/*
|
||||
* new Thu Dec 18 01:14:19 AM UTC 2025
|
||||
@@ -107,39 +96,6 @@ union {
|
||||
}
|
||||
}
|
||||
|
||||
// =======================================================
|
||||
/* nouveau du 7 octobre 2025 */
|
||||
#macro Une_Boule ()
|
||||
sphere {
|
||||
0, 0.18 + (rand(Rng1) * 0.06)
|
||||
#local R = rand(Rng1);
|
||||
#if (R < 0.333) texture { C_Texture }
|
||||
#elseif (R < 0.666) texture { M_Texture }
|
||||
#else texture { Y_Texture }
|
||||
#end
|
||||
finish { phong 0.7 specular 0.3 }
|
||||
}
|
||||
#end // macro
|
||||
|
||||
/* TODO
|
||||
* trouver une meilleure méthode de placement
|
||||
*/
|
||||
#declare Les_Boules = object
|
||||
{
|
||||
union {
|
||||
#for (A, 0, 64, 1)
|
||||
#local CK = (NormClock*55.00) + (A*0.28);
|
||||
object { Une_Boule ()
|
||||
#local TX = 3.2 * sin(CK);
|
||||
#local TY = 0.4 * cos(sin(CK));
|
||||
#local TZ = 3.0 * cos(1-CK);
|
||||
translate <TX, TY, TZ>
|
||||
}
|
||||
object { Repere scale 2 }
|
||||
#end // for
|
||||
}
|
||||
}
|
||||
|
||||
// =======================================================
|
||||
/*
|
||||
* nouveau du 25 octobre 2025
|
||||
@@ -211,7 +167,7 @@ finish { phong 0.23 ambient 0.50 }
|
||||
#declare T_WIP_1 = texture
|
||||
{
|
||||
pigment { color <0.36, 0.6, 0.79> }
|
||||
normal { dents 2.94 scale 0.5}
|
||||
normal { dents 2.94 scale 0.5 }
|
||||
finish { specular 0.40 ambient 0.69 }
|
||||
}
|
||||
|
||||
@@ -256,47 +212,48 @@ union {
|
||||
object { Chose () translate < 2.2, 0, 2.32> }
|
||||
object { Chose () translate <-2.9, 0, 3.91> }
|
||||
object { Chose () translate < 2.9, 0, -4.07> }
|
||||
object { Colonne_A (2) translate <-3.1, 0, -3> }
|
||||
object { Chose () translate <-4.5, 0, -4> }
|
||||
object { Repere translate 0.05*y }
|
||||
}
|
||||
}
|
||||
// =======================================================
|
||||
|
||||
#declare Gyros = object
|
||||
#declare GyroTrucs = object
|
||||
{
|
||||
// #debug " Les gyros !!!\n"
|
||||
union {
|
||||
#for (I, 0, 359, 30)
|
||||
#declare E = 12 + (3*rand(Rng1));
|
||||
#declare Dx = E * sin(radians(I));
|
||||
#declare Dz = E * cos(radians(I));
|
||||
// XXX object { GyroPhare () translate <Dx, 0, Dz> }
|
||||
object { Colonne_A (3.2) translate <Dx, 0, Dz> }
|
||||
#end
|
||||
#local R = rand(Rng1);
|
||||
#if (R > 0.52)
|
||||
object { GyroPhare () translate <Dx, 0, Dz> }
|
||||
#elseif (R > 0.36)
|
||||
object { Colonne_A (3.8)
|
||||
rotate y*(90*rand(Rng1))
|
||||
translate <Dx, 0, Dz> }
|
||||
#else
|
||||
object { Colonne_A (2.8)
|
||||
rotate y*(90*rand(Rng1))
|
||||
translate <Dx, 0, Dz> }
|
||||
#end
|
||||
#end // for
|
||||
}
|
||||
}
|
||||
|
||||
object { Gyros }
|
||||
object { GyroTrucs }
|
||||
|
||||
// ========================================================##
|
||||
|
||||
#local Fleche = object
|
||||
#declare Architecture = object
|
||||
{
|
||||
union {
|
||||
cylinder { -5*x, 5*x, 0.09 }
|
||||
cone { 5*x, 0.27, 6.66*x, 0.00007 }
|
||||
}
|
||||
texture { LeGris }
|
||||
}
|
||||
|
||||
// ------------------------------------------------------ ##
|
||||
|
||||
#declare La_Patrouille = object
|
||||
{
|
||||
union {
|
||||
object { Patrouille }
|
||||
object { Fleche translate y }
|
||||
object { Portique_A () translate z*4 }
|
||||
object { Portique_A () scale 2 translate z*2 }
|
||||
object { Portique_A () scale 1.5 }
|
||||
object { Portique_A () scale 2 translate -z*2 }
|
||||
object { Portique_A () translate -z*4 }
|
||||
// object { Fleche translate y }
|
||||
}
|
||||
}
|
||||
// ------------------------------------------------------ ##
|
||||
@@ -322,8 +279,7 @@ union {
|
||||
object { Des_Choses }
|
||||
#break
|
||||
#case (1)
|
||||
object { La_Patrouille rotate -y*(clock*0.666)
|
||||
translate y*2.5 }
|
||||
object { Architecture rotate -y*(clock*0.666) }
|
||||
#local AngleCam = 31.0;
|
||||
#break
|
||||
#case (2)
|
||||
@@ -357,8 +313,6 @@ plane {
|
||||
texture { Ground_Texture }
|
||||
}
|
||||
|
||||
// object { Repere translate y*1.0 }
|
||||
|
||||
// =======================================================
|
||||
|
||||
#local CamX = -2.7 + (1.8*Cos_010(NormClock));
|
||||
@@ -370,8 +324,6 @@ plane {
|
||||
#local CamY = CamY * K * 0.61;
|
||||
#local CamZ = CamZ * K;
|
||||
|
||||
|
||||
|
||||
camera {
|
||||
location <CamX, CamY, CamZ>
|
||||
look_at <0, 1.6, 0>
|
||||
|
||||
Reference in New Issue
Block a user