gigantic refactoring, part one
This commit is contained in:
37
orbite.pov
37
orbite.pov
@@ -6,16 +6,12 @@
|
||||
|
||||
#include "globals.inc"
|
||||
|
||||
#include "colors.inc"
|
||||
#include "metals.inc"
|
||||
#include "textures.inc"
|
||||
#include "stones.inc"
|
||||
|
||||
#include "contexte.inc"
|
||||
#include "elements.inc"
|
||||
#include "hexabenz.inc"
|
||||
|
||||
// =======================================================
|
||||
#declare R_planete = 2.1;
|
||||
#declare R_planete = 1.72;
|
||||
|
||||
#declare Croute = object
|
||||
{
|
||||
@@ -32,7 +28,8 @@ difference {
|
||||
box { <-BN, -BN, -HC>, <BN, BN, HC> }
|
||||
}
|
||||
texture {
|
||||
pigment { color Gray10 }
|
||||
pigment { color rgb <0.20, 0.40, 0.10> }
|
||||
finish { reflection 0.25 }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -40,8 +37,8 @@ texture {
|
||||
{
|
||||
sphere { 0, R_planete }
|
||||
texture {
|
||||
pigment { color Gray80 }
|
||||
finish { reflection 0.500 }
|
||||
pigment { rgb <0.70, 0.50, 0.70> }
|
||||
finish { reflection 0.25 }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -54,23 +51,31 @@ union {
|
||||
}
|
||||
// =======================================================
|
||||
|
||||
#local RO = 4.10;
|
||||
#local RO = 4.15;
|
||||
#local CK = NormClock * 7.87;
|
||||
|
||||
#declare PosX = RO * sin(CK);
|
||||
#declare PosY = 0;
|
||||
#declare PosZ = RO * cos(CK);
|
||||
|
||||
object { HexaCone
|
||||
rotate -y*CK translate <PosX, PosY, PosZ>
|
||||
object { HexaBenz ()
|
||||
rotate -y*CK*2.333 translate <PosX, PosY, PosZ>
|
||||
}
|
||||
#declare PosX = RO * sin(CK+2.12);
|
||||
#declare PosY = 0;
|
||||
#declare PosZ = RO * cos(CK+2.23);
|
||||
object { HexaCone ()
|
||||
rotate y*CK*3.222 translate <PosX, PosY, PosZ>
|
||||
}
|
||||
|
||||
object { Planete rotate (-clock*0.21)*y }
|
||||
light_source { <19, 7, 14>, rgb <0.77, 0.79, 0.80> }
|
||||
light_source { <19, 6, 15>, rgb <0.77, 0.79, 0.80> }
|
||||
|
||||
camera {
|
||||
location <3, 2.01, 7.59>
|
||||
location <3, 1.50, 7.59>
|
||||
look_at <0.0, 0.0, 0>
|
||||
angle 58
|
||||
focal_point <0.07, 0.0, 0>
|
||||
aperture 0.046
|
||||
blur_samples 30
|
||||
angle 62
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user