gigantic refactoring, part one
This commit is contained in:
27
contexte.inc
27
contexte.inc
@@ -29,13 +29,13 @@ union {
|
||||
object { HexaBalls
|
||||
texture { Lightning1 scale 0.33 }
|
||||
rotate <clock/3, clock/6, clock/9>
|
||||
translate <3, -1.6+1.01*Cos_010(NormClock), 5>
|
||||
translate <3, -1.2+1.01*Cos_010(NormClock), 5>
|
||||
}
|
||||
|
||||
object { HexaBalls
|
||||
texture { Lightning2 scale 0.56 }
|
||||
// rotate <-clock, clock*0.33333, clock>
|
||||
translate <5, -1+0.42*Cos_010(NormClock), -4>
|
||||
translate <5, -1+0.82*Cos_010(NormClock), -4>
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -62,16 +62,23 @@ blob {
|
||||
|
||||
// =======================================================
|
||||
|
||||
#declare SzSol = 26;
|
||||
|
||||
#declare Le_Sol = object
|
||||
{
|
||||
height_field {
|
||||
png "datas/hf.png"
|
||||
smooth
|
||||
translate <-.5, 0, -.5>
|
||||
scale <21, 0.88, 21>
|
||||
scale <SzSol, 0.98, SzSol>
|
||||
texture {
|
||||
pigment { color DarkGreen }
|
||||
normal { bumps 0.035 scale 0.186 }
|
||||
pigment {
|
||||
// color DarkGreen
|
||||
image_map { png "datas/cmap.png" }
|
||||
translate <-.5, 0, -.5>
|
||||
scale <SzSol, 0.98, SzSol>
|
||||
}
|
||||
// normal { bumps 0.035 scale 0.186 }
|
||||
finish { phong 0.125 }
|
||||
}
|
||||
}
|
||||
@@ -90,7 +97,7 @@ union {
|
||||
union {
|
||||
#if (1)
|
||||
light_source {
|
||||
<0.3, 2.50, 2.8> color Gray90
|
||||
<0.3, 3.50, 2.8> color Gray90
|
||||
spotlight
|
||||
radius 14 falloff 10 tightness 10
|
||||
point_at <0, 0.95, 0.22222222>
|
||||
@@ -99,7 +106,7 @@ union {
|
||||
|
||||
#if ( (clock>166) & (clock<213) )
|
||||
light_source {
|
||||
<2, 0.30, -2> color Yellow
|
||||
<2, 10.30, -2> color Yellow
|
||||
spotlight
|
||||
radius 12 falloff 20 tightness 10
|
||||
point_at <-0.08, 0.80, 0.17>
|
||||
@@ -116,8 +123,8 @@ union {
|
||||
#end
|
||||
color Couleur
|
||||
spotlight
|
||||
radius 9 falloff 10 tightness 5
|
||||
point_at <0, 0.95, -0.22>
|
||||
radius 12 falloff 10 tightness 5
|
||||
point_at <0, 0.95, -0.22>
|
||||
}
|
||||
#end
|
||||
}
|
||||
@@ -139,7 +146,7 @@ sky_sphere {
|
||||
scale 1.804
|
||||
// translate -1
|
||||
}
|
||||
#local Kem = 0.15;
|
||||
#local Kem = 0.09;
|
||||
emission rgb <Kem, Kem, Kem>
|
||||
}
|
||||
// }
|
||||
|
||||
Reference in New Issue
Block a user