pfeueue...

This commit is contained in:
le vieux
2021-03-23 09:55:20 +01:00
parent 40f7b689db
commit 2a983b8335
9 changed files with 52 additions and 22 deletions

View File

@@ -18,10 +18,7 @@ union {
cylinder { <0, 4.5, 9.75>, <0, 4.5, 12>, .8 }
}
translate y*6
texture {
pigment { color Green }
finish { phong 0.5 }
}
texture { Vert_Train_1 }
}
//-----------------------------------------------------------------

View File

@@ -3,6 +3,9 @@
* Une citerne de St Chinian
*/
//-----------------------------------------------------------------
#include "incs/constantes.inc"
#declare Diam_Citerne = 4.6;
#declare Epp_Cerclage = 0.233;
#declare Diam_Cerclage = (Diam_Citerne+Epp_Cerclage);
@@ -40,11 +43,8 @@ union {
}
}
scale <1, 0.882, 1>
translate y*10.7
texture {
pigment { color rgb <0.96, 0.25, 0.2> }
finish { phong 0.6 }
}
translate y*10.7 // ???
texture { Rouge_Train_1 }
}
//-----------------------------------------------------------------

View File

@@ -5,7 +5,7 @@
#ifdef(Jouets_Constantes)
// do nothing
#error "constantes deja definies\n"
#warning "*** constantes deja definies\n"
#else
#declare Jouets_Constantes=version;
@@ -23,6 +23,23 @@
/* ------------------------------------------------------------ */
/* il nous faut quelques textures 'standards' */
#declare Vert_Train_1 = texture
{
// pour la benne
pigment { color Green }
normal { bumps 0.33 scale 0.42 }
finish { phong 0.5 }
}
#declare Rouge_Train_1 = texture
{
// pour la citerne
pigment { color rgb <0.96, 0.25, 0.2> }
normal { bumps 0.33 scale 0.42 }
finish { phong 0.5 }
}
/* ------------------------------------------------------------ */
#end // #ifdef

View File

@@ -19,7 +19,7 @@ texture {
pigment { color MediumWood }
finish { roughness .83 }
}
translate y*5.75
translate y*5.85
}
/* avant et arriere */

View File

@@ -14,7 +14,7 @@
#declare Texture_Chassis = texture
{
pigment { color Yellow }
finish { phong 0.6 ambient 0.4 }
finish { phong 0.5 ambient 0.4 }
}
//-----------------------------------------------------------------
@@ -105,7 +105,7 @@ union {
#declare Chassis_Court = object
{
union {
box { <-3.5, 0, -12>, <3.5, 2, 12> }
box { <-3.5, 0.2, -12>, <3.5, 1.8, 12> }
box { <-3.6, 0.7, -12.5>, <3.6, 1.3, 12.5> }
}
translate y*4.1
@@ -115,7 +115,7 @@ texture { Texture_Chassis }
#declare Chassis_Long = object
{
union {
box { <-3.5, 0, -15.5>, <3.5, 2, 15.5> }
box { <-3.5, 0.2, -15.5>, <3.5, 1.8, 15.5> }
box { <-4, 0.5, -16>, <4, 1.5, 16> }
}
translate y*4.1