les derniers commits de 2026
This commit is contained in:
78
essai.pov
78
essai.pov
@@ -17,6 +17,36 @@
|
||||
// XXX
|
||||
#include "xperiment.inc"
|
||||
// XXX
|
||||
// =======================================================
|
||||
// nouveau du dernier jour 2025
|
||||
#include "hexastar.inc"
|
||||
|
||||
#declare Une_HexaStar = object
|
||||
{
|
||||
object { HexaStar translate y*3 }
|
||||
}
|
||||
|
||||
// =======================================================
|
||||
/*
|
||||
* new Tue Dec 30 07:39:09 AM UTC 2025
|
||||
*/
|
||||
|
||||
#declare Patrouille = object
|
||||
{
|
||||
union {
|
||||
#local EX = 2.3;
|
||||
#local EZ = 2.7;
|
||||
object { Trident_A () rotate x*87 }
|
||||
object { HexaBenz () translate <-EX, 0, -EZ> }
|
||||
object { HexaCone () translate < EX, -0.2, -EZ> }
|
||||
object { HexaBenz () translate <-EX*2, 0, -EZ*2> }
|
||||
object { HexaCone () translate < EX*2, -0.2, -EZ*2> }
|
||||
|
||||
object { Repere scale 2 translate y*3.4 }
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
// =======================================================
|
||||
/*
|
||||
* new Thu Dec 18 01:14:19 AM UTC 2025
|
||||
@@ -29,7 +59,7 @@ union {
|
||||
#for (Foo, 0, 5)
|
||||
#local Dy = Foo * 0.580;
|
||||
union {
|
||||
cone { 0, Rco, <0, Hcs, 0>, 0.0001
|
||||
cone { 0, Rco, <0, Hcs, 0>, 0.001
|
||||
#if (rand(Rng1) < 0.50) texture { Y_Texture }
|
||||
#else texture { M_Texture }
|
||||
#end // if rand
|
||||
@@ -66,7 +96,7 @@ union {
|
||||
/* nouveau du 7 octobre 2025 */
|
||||
#macro Une_Boule ()
|
||||
sphere {
|
||||
0, 0.15 + (rand(Rng1) * 0.06)
|
||||
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 }
|
||||
@@ -102,14 +132,14 @@ union {
|
||||
#declare Obj_BasicTexture = object
|
||||
{
|
||||
#local R = 0.385;
|
||||
#local H = 1.2;
|
||||
#local H = 1.71;
|
||||
merge {
|
||||
cylinder { 0, y*H, R }
|
||||
sphere { 0, R scale <1, 0.50, 1> translate y*H }
|
||||
difference {
|
||||
#local R1 = R+0.46;
|
||||
#local R2 = R+0.63;
|
||||
box { <-0.19, 0, -0.17>, <R+0.4, H*0.39, R+0.6> }
|
||||
box { <-0.19, 0, -0.17>, <R+0.4, H*0.42, R+0.6> }
|
||||
cylinder { <R1, -1, R2>, <R1, 1, R2>, 0.27 }
|
||||
}
|
||||
}
|
||||
@@ -147,13 +177,13 @@ union {
|
||||
#declare T_WIP_R = texture
|
||||
{
|
||||
pigment { color Red }
|
||||
finish { phong 0.23 ambient 0.50 }
|
||||
finish { phong 0.42 ambient 0.50 }
|
||||
}
|
||||
|
||||
#declare T_WIP_G = texture
|
||||
{
|
||||
pigment { color Green }
|
||||
finish { phong 0.23 ambient 0.50 }
|
||||
finish { phong 0.23 ambient 0.30 }
|
||||
}
|
||||
|
||||
#declare T_WIP_B = texture
|
||||
@@ -166,29 +196,12 @@ finish { phong 0.23 ambient 0.50 }
|
||||
#declare T_WIP_1 = texture
|
||||
{
|
||||
pigment { color <0.36, 0.6, 0.79> }
|
||||
normal { dents 0.94 scale 0.5}
|
||||
normal { dents 2.94 scale 0.5}
|
||||
finish { specular 0.40 ambient 0.69 }
|
||||
}
|
||||
|
||||
#declare T_WIP_bluewave = texture
|
||||
{
|
||||
pigment {
|
||||
wood
|
||||
color_map {
|
||||
[0.0 color Gray70 ]
|
||||
[0.5 color Gray80 ]
|
||||
[0.5 color Blue ]
|
||||
[1.0 color Blue ]
|
||||
}
|
||||
rotate y*49
|
||||
translate <NormClock*0.1, sqrt(NormClock*0.4),
|
||||
Cos_010(NormClock)*0.333>
|
||||
scale <0.2, 0.3, 1>
|
||||
}
|
||||
finish { phong 1 }
|
||||
}
|
||||
// -------------------------------------------------------
|
||||
|
||||
// the place to try new textures
|
||||
#declare ProtoTextures = object
|
||||
{
|
||||
#local TX = 2.35;
|
||||
@@ -225,10 +238,10 @@ union {
|
||||
#declare Des_Choses = object
|
||||
{
|
||||
union {
|
||||
object { Chose () translate < 2.0, 0, 2.32> }
|
||||
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 { Chose () translate <-3.4, 0, -3+NormClock> }
|
||||
object { Chose () translate <-3.4, 0, -(3+NormClock)> }
|
||||
object { Repere scale <3, 4, 3> translate 0.05*y }
|
||||
}
|
||||
}
|
||||
@@ -239,7 +252,7 @@ union {
|
||||
// #debug " Les gyros !!!\n"
|
||||
union {
|
||||
#for (I, 0, 359, 30)
|
||||
#declare E = 12 + rand(Rng1);
|
||||
#declare E = 12 + (3*rand(Rng1));
|
||||
#declare Dx = E * sin(radians(I));
|
||||
#declare Dz = E * cos(radians(I));
|
||||
object { GyroPhare () translate <Dx, 0, Dz> }
|
||||
@@ -269,11 +282,12 @@ object { Gyros }
|
||||
|
||||
#switch (Selector)
|
||||
#case (0)
|
||||
object { BasicTextures rotate -y*clock }
|
||||
object { BasicTextures rotate -y*3*clock) }
|
||||
#break
|
||||
#case (1)
|
||||
object { Les_Arches (1.57) rotate -y*(clock*0.666) }
|
||||
#declare AngleCam = 22;
|
||||
object { Patrouille rotate -y*(clock*0.666)
|
||||
translate y*2.5 }
|
||||
#local AngleCam = 31.0;
|
||||
#break
|
||||
#case (2)
|
||||
object { Le_ConeStack () translate y*0.20 }
|
||||
@@ -291,7 +305,7 @@ object { Gyros }
|
||||
object { Les_Boules translate y*0.8 }
|
||||
#break
|
||||
#case (6)
|
||||
object { Les_Wagonnets rotate y*(clock) }
|
||||
object { Une_HexaStar rotate y*(clock) }
|
||||
#break
|
||||
#case (7)
|
||||
#local Pos = <0.5-NormClock, 0, 0>;
|
||||
|
||||
Reference in New Issue
Block a user