PovJouets/monde.inc

48 lines
837 B
PHP
Raw Normal View History

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