PovJouets/monde.inc

48 lines
837 B
PHP
Raw Normal View History

2021-03-07 20:58:18 +01:00
/*
*
*
*/
/*------------------------------------------------------------------*/
2021-03-23 09:55:20 +01:00
#declare R_monde = 290; /* le rayon du monde */
2021-03-16 00:48:07 +01:00
cylinder {
2021-03-23 09:55:20 +01:00
<0, -0.2, 0>, 0, R_monde
2021-03-07 20:58:18 +01:00
pigment {
image_map {
png "picz/plancher.png" interpolate 2
}
rotate x*90
translate <-0.5, 0, -0.5>
2021-03-16 00:48:07 +01:00
scale <250, 1, 250>
2021-03-07 20:58:18 +01:00
}
}
2021-03-23 09:55:20 +01:00
#for (foo, 0, 360, 1)
#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 }
translate <xpos, 0, zpos> }
#end
2021-03-07 20:58:18 +01:00
sky_sphere {
pigment
{
gradient y
color_map
{
2021-03-13 18:56:21 +01:00
[0 color Khaki ]
[0.2 color Gray20 ]
[0.87 color LightBlue ]
[1 color Khaki ]
2021-03-07 20:58:18 +01:00
}
2021-03-15 03:08:13 +01:00
turbulence 0.25
2021-03-07 20:58:18 +01:00
}
rotate 50
2021-03-15 03:08:13 +01:00
scale 0.15
2021-03-07 20:58:18 +01:00
translate -1
}
/*------------------------------------------------------------------*/