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
Un très très vieux projet POVray qui revient dans le triste
monde de 2021.
Et qui revient en forme pour attaquer **2025** ?
Un très très vieux projet POVray qui revient dans le triste monde de 2021.
http://la.buvette.org/POV/jouets/
https://git.tetalab.org/tTh/PovJouets

View File

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

View File

@ -1,11 +1,11 @@
/*
LES POVJOUETS DE TONTON TH
LES JOUETS DE TONTON TH
Quelque constantes utiles
*/
#ifdef(Jouets_Constantes)
// do nothing
// #warning "*** constantes deja definies\n"
#warning "*** constantes deja definies\n"
#else
#declare Jouets_Constantes=version;
@ -23,18 +23,11 @@
/* ------------------------------------------------------------ */
/* 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
{
// pour la benne
pigment { color Green }
normal { bumps 0.22 scale 0.42 }
normal { bumps 0.33 scale 0.42 }
finish { phong 0.5 }
}
@ -50,7 +43,7 @@ finish { phong 0.5 }
#declare Texture_Roues = texture
{
pigment { color LightSteelBlue }
finish { phong 0.5 }
finish { phong 0.7 }
}
#declare Texture_Chassis = texture

View File

@ -14,7 +14,7 @@ union
}
texture {
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 }
}
// 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> }
}
texture { Orange_Corail }
pigment { color Orange }
finish { phong 0.5 }
}
#declare Toit_Corail = object
@ -242,7 +243,7 @@ union
object { Tuyaux_Corail }
object { Interieur_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 }
}
// rotate 10*x
texture { T_Chrome_3C }
texture { T_Chrome_2C }
}
#declare Locomotive_Vapeur = object

View File

@ -1,6 +1,6 @@
/*
*
* LOCO.POV
*
*/
#version 3.7;
@ -13,24 +13,23 @@
#include "incs/rails.inc"
#include "incs/train.inc"
#include "incs/locomotive.inc"
#include "incs/electric.inc"
// #include "electric.inc"
union {
object { Un_Rail_Droit }
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
}
#if (0)
union {
object { Un_Rail_Droit }
object { Un_Rail_Droit translate z*-100 }
object { Locomotive_Electric translate y*2 }
// object { Locomotive_Electric translate y*2 }
translate x*42
}
#end
/*------------------------------------------------------------------*/
@ -44,4 +43,6 @@ camera {
light_source { <150, 118, -150> 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 xpos = R2 * sin(radians(foo));
#local zpos = R2 * cos(radians(foo));
cylinder { <0, 0, 0>, <0, 5, 0>, 0.40
pigment { color <0.5, 0.5, 0.9> }
cylinder { <0, 0, 0>, <0, 5, 0>, 0.40 pigment { color Blue }
translate <xpos, 0, zpos> }
#end