Compare commits
4 Commits
e4df9e1299
...
d0edb79cb6
Author | SHA1 | Date | |
---|---|---|---|
![]() |
d0edb79cb6 | ||
![]() |
11741fd72e | ||
![]() |
8c6f914a53 | ||
![]() |
69e0a3bd52 |
@ -1,8 +1,8 @@
|
||||
# PovJouets
|
||||
|
||||
Un très très vieux projet POVray qui revient dans le triste monde de 2021.
|
||||
|
||||
http://la.buvette.org/POV/jouets/
|
||||
Un très très vieux projet POVray qui revient dans le triste
|
||||
monde de 2021.
|
||||
Et qui revient en forme pour attaquer **2025** ?
|
||||
|
||||
https://git.tetalab.org/tTh/PovJouets
|
||||
|
||||
|
@ -2,7 +2,10 @@
|
||||
* contexte.inc
|
||||
*/
|
||||
|
||||
global_settings { assumed_gamma 1.0 }
|
||||
global_settings {
|
||||
assumed_gamma 1.0
|
||||
ambient_light rgb <0.18, 0.14, 0.17>
|
||||
}
|
||||
|
||||
/*------------------------------------------------------------------*/
|
||||
/*
|
||||
|
@ -1,11 +1,11 @@
|
||||
/*
|
||||
LES JOUETS DE TONTON TH
|
||||
LES POVJOUETS 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,11 +23,18 @@
|
||||
/* ------------------------------------------------------------ */
|
||||
/* 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.33 scale 0.42 }
|
||||
normal { bumps 0.22 scale 0.42 }
|
||||
finish { phong 0.5 }
|
||||
|
||||
}
|
||||
@ -43,7 +50,7 @@
|
||||
#declare Texture_Roues = texture
|
||||
{
|
||||
pigment { color LightSteelBlue }
|
||||
finish { phong 0.7 }
|
||||
finish { phong 0.5 }
|
||||
}
|
||||
|
||||
#declare Texture_Chassis = texture
|
||||
|
@ -14,7 +14,7 @@ union
|
||||
}
|
||||
texture {
|
||||
pigment { color Yellow }
|
||||
finish { phong 0.7 }
|
||||
finish { phong 0.5 }
|
||||
}
|
||||
}
|
||||
|
||||
@ -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,8 +68,7 @@ difference
|
||||
box { <-2.2, 7, -21>, < 2.2, 14.8, -19> }
|
||||
box { <-2.2, 7, 21>, < 2.2, 14.8, 19> }
|
||||
}
|
||||
pigment { color Orange }
|
||||
finish { phong 0.5 }
|
||||
texture { Orange_Corail }
|
||||
}
|
||||
|
||||
#declare Toit_Corail = object
|
||||
@ -243,7 +242,7 @@ union
|
||||
object { Tuyaux_Corail }
|
||||
object { Interieur_Corail }
|
||||
object { Lumieres_Corail }
|
||||
object { Rampe }
|
||||
// object { Rampe }
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -106,8 +106,8 @@ union
|
||||
sphere { < 3, 8.5, 14>, 2 }
|
||||
sphere { <-3, 8.5, 14>, 2 }
|
||||
}
|
||||
texture { T_Chrome_2C }
|
||||
|
||||
// rotate 10*x
|
||||
texture { T_Chrome_3C }
|
||||
}
|
||||
|
||||
#declare Locomotive_Vapeur = object
|
||||
|
13
loco.pov
13
loco.pov
@ -1,6 +1,6 @@
|
||||
/*
|
||||
*
|
||||
*
|
||||
* LOCO.POV
|
||||
*/
|
||||
|
||||
#version 3.7;
|
||||
@ -13,23 +13,24 @@
|
||||
#include "incs/rails.inc"
|
||||
#include "incs/train.inc"
|
||||
#include "incs/locomotive.inc"
|
||||
// #include "electric.inc"
|
||||
#include "incs/electric.inc"
|
||||
|
||||
union {
|
||||
object { Un_Rail_Droit }
|
||||
object { Un_Rail_Droit translate z*-100 }
|
||||
object { Locomotive_Vapeur translate <0, 2, 15> }
|
||||
object { Locomotive_Vapeur translate <0, 2, 17.8> }
|
||||
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
|
||||
|
||||
/*------------------------------------------------------------------*/
|
||||
|
||||
@ -43,6 +44,4 @@ camera {
|
||||
light_source { <150, 118, -150> color Gray70 }
|
||||
light_source { <-170, 298, -250> color Gray70 }
|
||||
|
||||
light_source { <-700, 200, 150> color White }
|
||||
|
||||
/*------------------------------------------------------------------*/
|
||||
|
@ -22,7 +22,8 @@ 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 Blue }
|
||||
cylinder { <0, 0, 0>, <0, 5, 0>, 0.40
|
||||
pigment { color <0.5, 0.5, 0.9> }
|
||||
translate <xpos, 0, zpos> }
|
||||
#end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user