preparing the next release, stay tuned
This commit is contained in:
53
essai.pov
53
essai.pov
@@ -12,11 +12,28 @@
|
||||
#include "hexabenz.inc"
|
||||
|
||||
// =======================================================
|
||||
|
||||
#declare QuadriPole = object
|
||||
{
|
||||
#local R = 0.02;
|
||||
#local E = 0.25;
|
||||
#local H = H_cone*2;
|
||||
union {
|
||||
cylinder { 0, y*H, R translate -x*E }
|
||||
cylinder { 0, y*H, R translate x*E }
|
||||
cylinder { 0, y*H, R translate -z*E }
|
||||
cylinder { 0, y*H, R translate z*E }
|
||||
}
|
||||
texture { WIP_color }
|
||||
#undef E
|
||||
#undef H
|
||||
#undef R
|
||||
}
|
||||
// =======================================================
|
||||
|
||||
#macro Bubble ()
|
||||
sphere {
|
||||
0, 0.06
|
||||
0, 0.065
|
||||
#if ( rand(Rng1) < 0.333 )
|
||||
texture { Ruby_Glass }
|
||||
#elseif ( rand(Rng1) < 0.666 )
|
||||
@@ -38,36 +55,38 @@ union {
|
||||
#declare Les_Machins = object
|
||||
{
|
||||
union {
|
||||
#local Rk = 4.95;
|
||||
#for (foo, 0, 360, 15)
|
||||
#local Rk = 2.55;
|
||||
#for (foo, 0, 359, 45)
|
||||
#local Xpos = Rk * sin(radians(foo));
|
||||
#local Zpos = Rk * cos(radians(foo));
|
||||
#if ( rand(Rng1) < 0.40 )
|
||||
object { GyroPhare () translate <Xpos, 0, Zpos> }
|
||||
#else
|
||||
object { Un_Machin () translate <Xpos, 0.33, Zpos> }
|
||||
#end
|
||||
|
||||
#local RND = rand(Rng1);
|
||||
object { GyroPhare () translate <Xpos, 0, Zpos> }
|
||||
#end
|
||||
|
||||
#undef RND
|
||||
#undef Rk
|
||||
}
|
||||
}
|
||||
|
||||
object { Les_Machins translate y*0.01}
|
||||
// =======================================================
|
||||
|
||||
object { Le_Sol }
|
||||
// object { Repere }
|
||||
|
||||
// =======================================================
|
||||
|
||||
object { OpenBox translate y*1.2 }
|
||||
object { Les_Machins }
|
||||
object { Le_Decor }
|
||||
|
||||
object { Repere }
|
||||
|
||||
// =======================================================
|
||||
|
||||
// light_source { <-8, 7, -9>, rgb <0.81, 0.65, NormClock> }
|
||||
// light_source { < 11, 7, 4>, rgb <1-NormClock, 0.28, 0.80> }
|
||||
|
||||
#local CamX = -12.7 + (5.8*NormClock);
|
||||
#local CamY = 8.81 + (14*sqrt(NormClock));
|
||||
#local CamX = -2.7 + (3.8*NormClock);
|
||||
#local CamY = 1.81 + (4*sqrt(NormClock));
|
||||
camera {
|
||||
location <CamX, CamY, 9.99>
|
||||
look_at <0, 0, 0>
|
||||
angle 42 + 8*Cos_01(NormClock)
|
||||
look_at <0, 0.5, 0>
|
||||
angle 42 - 4*Cos_01(NormClock)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user