-
-
Save Gro-Tsen/59e103964476781e623e3cb6b05f773a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "consts.inc" | |
#include "colors.inc" | |
#declare sph = 1-((clock-0.5)*2)*((clock-0.5)*2); | |
camera { | |
location <5*sin(pi/4)*cos(-5*pi/12), -5*sin(pi/4)*sin(-5*pi/12), 5*cos(pi/4)> | |
look_at <0, 0, 0> | |
angle 106.25 | |
// angle 120 | |
sky <0,0,1> | |
} | |
sky_sphere { | |
pigment { color rgbf <0.5,0.8,1> } | |
} | |
// global_settings { | |
// ambient_light rgbf<1,1,1> | |
// } | |
sphere { | |
<0,0,1+sph>, 1 | |
texture { finish { reflection 0.9 } } | |
} | |
sphere { | |
<-2,0,0.5>, 0.5 | |
texture { finish { reflection rgb <0.9,0.5,0.5> } } | |
} | |
sphere { | |
<1,sqrt(3),0.5>, 0.5 | |
texture { finish { reflection rgb <0.5,0.9,0.5> } } | |
} | |
sphere { | |
<1,-sqrt(3),0.5>, 0.5 | |
texture { finish { reflection rgb <0.5,0.5,0.9> } } | |
} | |
light_source { | |
<0,0,10> | |
color White | |
fade_distance 10 | |
fade_power 10 | |
shadowless | |
} | |
plane { | |
<0,0,1>,0 | |
texture { | |
finish { ambient 0 specular 1 } | |
pigment { checker pigment{White}, pigment{Black} scale 0.5 } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment