2021-03-07 20:58:18 +01:00
|
|
|
|
|
|
|
/*
|
|
|
|
*
|
2021-03-15 03:08:13 +01:00
|
|
|
* pour plus de details:
|
|
|
|
* http://la.buvette.org/POV/jouets/
|
2021-03-07 20:58:18 +01:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2021-03-15 03:08:13 +01:00
|
|
|
#version 3.7;
|
|
|
|
global_settings { assumed_gamma 1.0 }
|
|
|
|
#include "contexte.inc"
|
|
|
|
|
2021-03-07 20:58:18 +01:00
|
|
|
#include "colors.inc"
|
|
|
|
#include "metals.inc"
|
|
|
|
#include "textures.inc"
|
|
|
|
|
|
|
|
/*------------------------------------------------------------------*/
|
|
|
|
|
2021-03-15 03:08:13 +01:00
|
|
|
#include "monde.inc"
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-03-07 20:58:18 +01:00
|
|
|
|
|
|
|
#include "incs/rails.inc"
|
|
|
|
#include "incs/train.inc"
|
|
|
|
#include "incs/benne.inc"
|
|
|
|
#include "incs/citerne.inc"
|
|
|
|
#include "incs/ridelles.inc"
|
|
|
|
#include "incs/corail.inc"
|
|
|
|
#include "incs/locomotive.inc"
|
|
|
|
|
|
|
|
union
|
|
|
|
{
|
|
|
|
object { Un_Rail_Droit }
|
|
|
|
object { Un_Rail_Droit translate z*-100 }
|
|
|
|
object { Un_Rail_Droit translate z* 100 }
|
|
|
|
|
|
|
|
object { Locomotive_Vapeur translate <0, 2, -56> }
|
|
|
|
object { Wagon_Citerne translate <0, 2, -25> }
|
|
|
|
object { Wagon_Benne translate <0, 2, 2> }
|
|
|
|
object { Wagon_Corail translate <0, 2, 39> }
|
|
|
|
object { Wagon_Ridelles translate <0, 2, 78> }
|
|
|
|
}
|
|
|
|
|
|
|
|
#include "incs/poteaux.inc"
|
|
|
|
|
|
|
|
#declare foo = -300;
|
|
|
|
#while (foo < 300)
|
|
|
|
object { Poteau_1 translate <25, 0, foo> }
|
|
|
|
#declare foo = foo + 42;
|
|
|
|
#end
|
|
|
|
|
|
|
|
/*------------------------------------------------------------------*/
|
|
|
|
|
|
|
|
camera
|
|
|
|
{
|
|
|
|
location <130, 18, 15>
|
2021-03-11 23:33:35 +01:00
|
|
|
right image_width/image_height*x
|
2021-03-07 20:58:18 +01:00
|
|
|
look_at <0, 3, 10>
|
2021-03-15 03:08:13 +01:00
|
|
|
angle ANGLE_CAM
|
2021-03-07 20:58:18 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
light_source { <150, 98, -150> color Orange }
|
|
|
|
light_source { <170, 88, -170> color Yellow }
|
|
|
|
|
|
|
|
// light_source { <100, 100, 50> color White }
|
|
|
|
|
|
|
|
/*------------------------------------------------------------------*/
|