Fortraneries/BloubWorld/scene.pov

77 lines
1.5 KiB
POVRay
Raw Normal View History

2022-02-06 23:45:08 +01:00
/*
* BLOUBSWORLD
* new Sun 06 Feb 2022 01:33:39 PM CET, rue Ernest Renan
*/
#version 3.7;
global_settings {
2022-02-08 18:56:51 +01:00
ambient_light rgb <0.12, 0.01, 0.01>
2022-02-06 23:45:08 +01:00
assumed_gamma 1.0
}
#include "colors.inc"
2022-02-08 18:56:51 +01:00
#include "nbimg.inc"
#declare NormClock = clock / NbImg;
// ----------------------------------------------------------
2022-02-06 23:45:08 +01:00
#include "bloubs.inc"
object {
Bloubs
texture {
2022-02-08 18:56:51 +01:00
pigment { color Gray60 }
finish { phong 0.58 specular 0.45 }
2022-02-06 23:45:08 +01:00
}
}
plane {
<0, 1, 0>, 0
texture {
2022-02-08 18:56:51 +01:00
pigment { color Black }
2022-02-07 01:50:49 +01:00
finish { phong 0.18 metallic 0.45 }
2022-02-06 23:45:08 +01:00
}
}
2022-02-07 01:50:49 +01:00
// ----------------------------------------------------------
#declare BH = 5;
#declare BV = 3;
2022-02-08 02:53:49 +01:00
#declare BR = 0.025;
#declare Une_Borne = object
{
union {
cylinder { <0, 0, 0>, <0, BV, 0>, BR }
2022-02-09 00:42:32 +01:00
cylinder { <0, 0, 0>, <0, 0.02, 0>, BR*7 }
2022-02-08 02:53:49 +01:00
}
}
#declare Les_Bornes = object
{
2022-02-07 01:50:49 +01:00
union {
2022-02-08 02:53:49 +01:00
object { Une_Borne translate <-BH, 0, -BH> pigment { color Blue } }
object { Une_Borne translate < BH, 0, -BH> pigment { color Green } }
object { Une_Borne translate <-BH, 0, BH> pigment { color Green } }
object { Une_Borne translate < BH, 0, BH> pigment { color Red } }
2022-02-07 01:50:49 +01:00
}
}
object { Les_Bornes }
// ----------------------------------------------------------
light_source { <4, 12, -11> color Gray80 }
2022-02-08 18:56:51 +01:00
light_source { <7, 19, 9> color Gray60 }
2022-02-09 00:42:32 +01:00
#declare HCAM = 5 + (7 * NormClock);
2022-02-06 23:45:08 +01:00
camera {
2022-02-08 18:56:51 +01:00
location <6, HCAM, -16>
look_at <0, 0, 0>
2022-02-06 23:45:08 +01:00
right x*image_width/image_height
2022-02-09 00:42:32 +01:00
angle 48
2022-02-06 23:45:08 +01:00
}