start of cleanup

This commit is contained in:
Tonton Th 2024-12-30 04:41:51 +01:00
parent 11741fd72e
commit d0edb79cb6
5 changed files with 24 additions and 18 deletions

View File

@ -1,5 +1,5 @@
/*
LES JOUETS DE TONTON TH
LES POVJOUETS DE TONTON TH
Quelque constantes utiles
*/
@ -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

View File

@ -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 }
}
}

View File

@ -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

View File

@ -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 }
/*------------------------------------------------------------------*/

View File

@ -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