Compare commits

..

No commits in common. "58221df55cf8d94bc4db80247f29446181312bf8" and "98f0354f9119380fb1e825bc8b0efe0318d3c7c0" have entirely different histories.

6 changed files with 34 additions and 95 deletions

View File

@ -37,7 +37,7 @@ bubblecut.png: bubblecut.pov Makefile $(POVDEP)
essai.png: essai.pov Makefile $(POVDEP) essai.png: essai.pov Makefile $(POVDEP)
povray $(POVOPT) $(DIMS) -K$(CK) -i$< -o$@ povray $(POVOPT) $(DIMS) -K$(CK) -i$< -o$@
noise.png: essai.png Makefile noise.png: essai.png Makefile
convert -verbose -noise 45x3 $< $@ convert -verbose -noise 5x15 $< $@
hexabenz.png: hexabenz.pov Makefile $(POVDEP) hexabenz.png: hexabenz.pov Makefile $(POVDEP)
povray $(POVOPT) $(DIMS) +K$(CK) -i$< -o$@ povray $(POVOPT) $(DIMS) +K$(CK) -i$< -o$@

View File

@ -48,7 +48,7 @@ de qualité (ce que fait je très empiriquement). Tout d'abord, on encode
pour les mettre dans le grand Ternet mondial à partir de mon pour les mettre dans le grand Ternet mondial à partir de mon
[ADSL](http://maison.tth.netlib.re/pov/hexacone.html) de campagne. [ADSL](http://maison.tth.netlib.re/pov/hexacone.html) de campagne.
Ensuite, un autre [script](./tools/linkfarmer.sh) assemble toute Ensuite, un autre [script](./tools/linkfarmer.sh) assemble toute
les sequences dans le produit final, en ajoutant générique et les sequence dans le produit final, en ajoutant générique et
inter-titres. inter-titres.
@ -57,10 +57,8 @@ inter-titres.
## Contact ## Contact
* La [mailing-list du tetalab](https://lists.tetalab.org/postorius/lists/tetalab.tetalab.org/) ; * La [mailing-list du tetalab](https://lists.tetalab.org/postorius/lists/tetalab.tetalab.org/) ;
* Par IRC, canal `#tetalab` sur le réseau de [Libera](https://libera.chat/). * IRC canal `#tetalab` sur le
* Dans [Mastodon](https://mastodon.tetaneutral.net/@tth) et [Peertube](https://tube.interhacker.space/c/tth_channel/videos) réseau de [Libera](https://libera.chat/).

View File

@ -14,7 +14,7 @@
merge { merge {
cylinder { 0, y/2, 0.07 } cylinder { 0, y/2, 0.07 }
cylinder { 0, y/8, 0.39 } cylinder { 0, y/8, 0.37 }
#local R = rand(Rng1); #local R = rand(Rng1);
#if ( R < 0.52) #if ( R < 0.52)
texture { T_Beton_1 } texture { T_Beton_1 }
@ -44,9 +44,8 @@ merge {
sphere { <C2X, H, C2Z>, R } sphere { <C2X, H, C2Z>, R }
#end #end
#local R = rand(Rng1); #local R = rand(Rng1);
#if (R < 0.25) texture { tPlasticOrange } #if (R < 0.33) texture { tPlasticOrange }
#elseif (R < 0.50) texture { tPlasticBlue } #elseif (R < 0.66) texture { tPlasticBlue }
#elseif (R < 0.75) texture { tPlasticPrune }
#else texture { tPlasticGreen } #else texture { tPlasticGreen }
#end // if #end // if
@ -105,7 +104,7 @@ prism {
#macro HexaPole_tubes () #macro HexaPole_tubes ()
#local R = 0.04; #local R = 0.04;
#local E = 0.51; #local E = 0.58;
#local H = H_cone*1.5; #local H = H_cone*1.5;
union { union {
#for (A, 0, 359, 60) #for (A, 0, 359, 60)

View File

@ -88,9 +88,6 @@ normal { dents 0.25 scale 3 }
finish { roughness 1.00 } finish { roughness 1.00 }
} }
/* ------------------------------------------------------------ */ /* ------------------------------------------------------------ */
/*
* XXX the finish need a refactoring
*/
#declare tPlasticOrange = texture #declare tPlasticOrange = texture
{ {
pigment{rgb <2.000, 0.50, 0.0>} pigment{rgb <2.000, 0.50, 0.0>}
@ -120,27 +117,17 @@ finish { roughness 1.00 }
specular 0.3 specular 0.3
} }
} }
#declare tPlasticPrune = texture
{
pigment{rgb <1.50, 0.30, 1.50>}
finish {
ambient 0.1
diffuse 0.6
specular 0.3
}
}
/* ------------------------------------------------------------ */
/* this texture will be clock dependent XXX */ /* this texture will be clock dependent XXX */
#declare Flashy = texture { #declare Flashy = texture {
pigment { pigment {
onion onion
colour_map { colour_map {
[0.00, Red * 0.70 ] [0.00, Red * 0.70 ]
[0.33, Gray40 ] [0.33, Gray50 ]
[1.00, Blue * 0.70 ] [1.00, Blue * 0.70 ]
} }
turbulence 3.14159 + sin(NormClock*3.14159) turbulence 3.14159
scale 0.50 scale 0.50
} }
finish { finish {
@ -148,20 +135,9 @@ finish {
} }
} }
/* new: 28 octobre 2025 */
#declare Ground_Texture = texture
{
pigment { rgb <0.51, 0.58, 0.23> }
normal { dents 0.28 scale 1.5}
finish {
ambient 0 specular 0.5 metallic roughness 0.18
reflection { 0.5 metallic }
}
}
/* ------------------------------------------------------------ */ /* ------------------------------------------------------------ */
/* /*
* Textures avec les six teintes "de base" *
*/ */
#declare R_Texture = texture { #declare R_Texture = texture {
pigment { rgb <1.0, 0.0, 0.0> } finish { ambient 0.33 } } pigment { rgb <1.0, 0.0, 0.0> } finish { ambient 0.33 } }
@ -204,7 +180,4 @@ finish {
resultat resultat
#end #end
/* ============================================================ */ /* ------------------------------------------------------------ */
#debug "\n GLOBALS INCLUDED\n"

View File

@ -106,18 +106,8 @@ union {
#declare HW_Anneau0 = object #declare HW_Anneau0 = object
{ {
merge { torus { Hc_rad*0.31, 0.05 scale <1, 0.75, 1>
torus { Hc_rad*0.31, 0.06 scale <1, 0.55, 1> } texture { GoldDark } translate y*0.32 }
#for (Foo, 0, 359, 60)
#local DX = Hc_rad*0.31 * sin(radians(Foo));
#local DZ = Hc_rad*0.31 * cos(radians(Foo));
#local HC = 0.30 + (0.03*rand(Rng2));
cone { 0, 0.035, y*HC, 0.0001 translate <DX, 0, DZ> }
#end // FOR
}
texture { GoldDark }
rotate y * 45 * Cos_010(NormClock)
translate y*0.32
} }
#declare HexaWood = object #declare HexaWood = object

View File

@ -4,25 +4,7 @@
* A cosy place for experimental things (2025/10/27) * A cosy place for experimental things (2025/10/27)
* *
*/ */
/* =============================================================== */ #macro Wagonnet_0 (Longueur)
#macro Pointe_Wagonnet_0 ()
merge {
cone { 0, 0.06, y*0.33, 0.001 }
sphere { 0, 0.06 }
#local R = rand(Rng1);
#if (R < 0.25)
texture { T_Chrome_1A }
#elseif (R < 0.50)
texture { T_Chrome_2B }
#elseif (R < 0.75)
texture { T_Chrome_3C }
#else
texture { T_Chrome_4D }
#end // IF
}
#end // Macro
/* --------------------------------------------------------------- */
#macro Corps_Wagonnet_0 (Longueur)
object { object {
/* le corps */ /* le corps */
merge { merge {
@ -37,7 +19,7 @@ object {
/* le kiosque (est-ce un sous-marin ?) */ /* le kiosque (est-ce un sous-marin ?) */
merge { merge {
#local H2 = L2 * 0.50; #local H2 = L2 * 0.60;
cylinder { <0, 0, 0>, <0, H2, 0>, R/4 } cylinder { <0, 0, 0>, <0, H2, 0>, R/4 }
sphere { <0, 0, 0>, R/4 sphere { <0, 0, 0>, R/4
scale <1, 0.5, 1> translate y*H2 scale <1, 0.5, 1> translate y*H2
@ -46,32 +28,17 @@ object {
} }
#local R = rand(Rng1); #local R = rand(Rng1);
#if (R < 0.333) #if (R < 0.333)
texture { T_Brass_2C } texture { Soft_Silver }
#elseif (R < 0.25) #elseif (R < 0.666)
texture { GoldDark } texture { GoldDark }
#elseif (R < 0.50)
texture { T_Chrome_5A }
#else #else
// texture { Lightning1 rotate z*90 scale 0.09 } texture { Lightning1 rotate z*90 scale 0.11 }
texture { T_Gold_3C }
#end #end
} }
} }
#end // macro #end // macro
/* --------------------------------------------------------------- */
#macro Wagonnet_0 (Longueur) // =======================================================
union {
object { Corps_Wagonnet_0 (Longueur) }
#for (Foo, 0, 5)
#local DX = (-1.5+Foo*0.35);
#local RP = -30 + (60 * rand(Rng1));
object { Pointe_Wagonnet_0 ()
translate <DX, 0.28, 0> rotate x*RP }
#end
object { Repere scale 0.75 translate <0.6, 0.55, 0.25> }
}
#end // macro
/* =============================================================== */
/* /*
* nouveau du 25 octobre 2025 * nouveau du 25 octobre 2025
*/ */
@ -190,6 +157,18 @@ scale 0.5
// rotate -y * (clock*0.33) // rotate -y * (clock*0.33)
#end #end
// ======================================================= // =======================================================
/*
* new: 28 octobre 2025
*/
#declare Ground_Texture = texture
{
pigment { rgb <0.51, 0.58, 0.23> }
normal { dents 0.28 scale 1.5}
finish {
ambient 0 specular 0.5 metallic roughness 0.18
reflection { 0.5 metallic }
}
}
// ============================================================== // ==============================================================