Compare commits

..

No commits in common. "d0edb79cb68ae77083d56ba209b1bb3d009fa2c5" and "e4df9e129980e517bb88379b42004bcf4d35751d" have entirely different histories.

7 changed files with 23 additions and 32 deletions

View File

@ -1,8 +1,8 @@
# PovJouets # PovJouets
Un très très vieux projet POVray qui revient dans le triste Un très très vieux projet POVray qui revient dans le triste monde de 2021.
monde de 2021.
Et qui revient en forme pour attaquer **2025** ? http://la.buvette.org/POV/jouets/
https://git.tetalab.org/tTh/PovJouets https://git.tetalab.org/tTh/PovJouets

View File

@ -2,10 +2,7 @@
* contexte.inc * contexte.inc
*/ */
global_settings { global_settings { assumed_gamma 1.0 }
assumed_gamma 1.0
ambient_light rgb <0.18, 0.14, 0.17>
}
/*------------------------------------------------------------------*/ /*------------------------------------------------------------------*/
/* /*

View File

@ -1,11 +1,11 @@
/* /*
LES POVJOUETS DE TONTON TH LES JOUETS DE TONTON TH
Quelque constantes utiles Quelque constantes utiles
*/ */
#ifdef(Jouets_Constantes) #ifdef(Jouets_Constantes)
// do nothing // do nothing
// #warning "*** constantes deja definies\n" #warning "*** constantes deja definies\n"
#else #else
#declare Jouets_Constantes=version; #declare Jouets_Constantes=version;
@ -23,18 +23,11 @@
/* ------------------------------------------------------------ */ /* ------------------------------------------------------------ */
/* il nous faut quelques textures 'standards' */ /* il nous faut quelques textures 'standards' */
#declare Orange_Corail = texture
{
pigment { color Orange }
normal { dents 0.22 scale 0.42 }
finish { phong 0.5 }
}
#declare Vert_Train_1 = texture #declare Vert_Train_1 = texture
{ {
// pour la benne // pour la benne
pigment { color Green } pigment { color Green }
normal { bumps 0.22 scale 0.42 } normal { bumps 0.33 scale 0.42 }
finish { phong 0.5 } finish { phong 0.5 }
} }
@ -50,7 +43,7 @@ finish { phong 0.5 }
#declare Texture_Roues = texture #declare Texture_Roues = texture
{ {
pigment { color LightSteelBlue } pigment { color LightSteelBlue }
finish { phong 0.5 } finish { phong 0.7 }
} }
#declare Texture_Chassis = texture #declare Texture_Chassis = texture

View File

@ -14,7 +14,7 @@ union
} }
texture { texture {
pigment { color Yellow } pigment { color Yellow }
finish { phong 0.5 } finish { phong 0.7 }
} }
} }
@ -26,7 +26,7 @@ union
object { Boogie translate z*-13.8 } object { Boogie translate z*-13.8 }
object { Boogie translate z* 13.8 } object { Boogie translate z* 13.8 }
} }
// finish { phong 0.65 } finish { phong 0.65 }
} }
@ -68,7 +68,8 @@ difference
box { <-2.2, 7, -21>, < 2.2, 14.8, -19> } box { <-2.2, 7, -21>, < 2.2, 14.8, -19> }
box { <-2.2, 7, 21>, < 2.2, 14.8, 19> } box { <-2.2, 7, 21>, < 2.2, 14.8, 19> }
} }
texture { Orange_Corail } pigment { color Orange }
finish { phong 0.5 }
} }
#declare Toit_Corail = object #declare Toit_Corail = object
@ -242,7 +243,7 @@ union
object { Tuyaux_Corail } object { Tuyaux_Corail }
object { Interieur_Corail } object { Interieur_Corail }
object { Lumieres_Corail } object { Lumieres_Corail }
// object { Rampe } object { Rampe }
} }
} }

View File

@ -106,8 +106,8 @@ union
sphere { < 3, 8.5, 14>, 2 } sphere { < 3, 8.5, 14>, 2 }
sphere { <-3, 8.5, 14>, 2 } sphere { <-3, 8.5, 14>, 2 }
} }
// rotate 10*x texture { T_Chrome_2C }
texture { T_Chrome_3C }
} }
#declare Locomotive_Vapeur = object #declare Locomotive_Vapeur = object

View File

@ -1,6 +1,6 @@
/* /*
* *
* LOCO.POV *
*/ */
#version 3.7; #version 3.7;
@ -13,24 +13,23 @@
#include "incs/rails.inc" #include "incs/rails.inc"
#include "incs/train.inc" #include "incs/train.inc"
#include "incs/locomotive.inc" #include "incs/locomotive.inc"
#include "incs/electric.inc" // #include "electric.inc"
union { union {
object { Un_Rail_Droit } object { Un_Rail_Droit }
object { Un_Rail_Droit translate z*-100 } object { Un_Rail_Droit translate z*-100 }
object { Locomotive_Vapeur translate <0, 2, 17.8> } object { Locomotive_Vapeur translate <0, 2, 15> }
rotate y*5 rotate y*5
} }
#if (0)
union { union {
object { Un_Rail_Droit } object { Un_Rail_Droit }
object { Un_Rail_Droit translate z*-100 } object { Un_Rail_Droit translate z*-100 }
object { Locomotive_Electric translate y*2 } // object { Locomotive_Electric translate y*2 }
translate x*42 translate x*42
} }
#end
/*------------------------------------------------------------------*/ /*------------------------------------------------------------------*/
@ -44,4 +43,6 @@ camera {
light_source { <150, 118, -150> color Gray70 } light_source { <150, 118, -150> color Gray70 }
light_source { <-170, 298, -250> color Gray70 } light_source { <-170, 298, -250> color Gray70 }
light_source { <-700, 200, 150> color White }
/*------------------------------------------------------------------*/ /*------------------------------------------------------------------*/

View File

@ -22,8 +22,7 @@ cylinder {
#local R2 = R_monde - 1.5; #local R2 = R_monde - 1.5;
#local xpos = R2 * sin(radians(foo)); #local xpos = R2 * sin(radians(foo));
#local zpos = R2 * cos(radians(foo)); #local zpos = R2 * cos(radians(foo));
cylinder { <0, 0, 0>, <0, 5, 0>, 0.40 cylinder { <0, 0, 0>, <0, 5, 0>, 0.40 pigment { color Blue }
pigment { color <0.5, 0.5, 0.9> }
translate <xpos, 0, zpos> } translate <xpos, 0, zpos> }
#end #end