Created
November 13, 2008 18:09
-
-
Save rn0/24539 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 "colors.inc" | |
#include "shapes.inc" | |
#include "textures.inc" | |
camera { | |
location <5, 9, -15> | |
look_at <0, 0, 0> | |
} | |
light_source { | |
<0, 10, -10> White | |
} | |
light_source { | |
<3, 20, 5> White | |
} | |
cylinder { | |
<5, 0, 5> | |
<5, 0, -5> | |
2 | |
texture {pigment {color Green}} | |
} | |
cylinder { | |
<-5, 0, 5> | |
<-5, 0, -5> | |
2 | |
texture {pigment {color Green}} | |
} | |
cylinder { | |
<5, 0, 5.5> | |
<5, 0, -5.5> | |
1 | |
texture {pigment {color Black}} | |
} | |
cylinder { | |
<-5, 0, 5.5> | |
<-5, 0, -5.5> | |
1 | |
texture {pigment {color Black}} | |
} | |
intersection { | |
box { | |
<-8, 0, 4> | |
<8, 4, -4> | |
texture {pigment {color Blue}} | |
} | |
sphere { | |
<0, 0, 0> | |
9 | |
texture {pigment {color Yellow}} | |
} | |
} | |
difference { | |
box { | |
<-5, 4, 4> | |
<5, 7, -4> | |
texture {pigment {color Red}} | |
} | |
box { | |
<-4.5, 3.5, 5> | |
<4.5, 6.5, -5> | |
texture {pigment {color White}} | |
} | |
} |
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 "colors.inc" | |
#include "shapes.inc" | |
#include "textures.inc" | |
camera { | |
location <5, 9, -15> | |
look_at <0, 0, 0> | |
} | |
light_source { | |
<0, 10, -10> White | |
} | |
light_source { | |
<3, 20, 5> White | |
} | |
sphere { | |
<0, -5, 0> | |
3 | |
texture {pigment {color Red}} | |
} | |
sphere { | |
<0, 0, 0> | |
2 | |
texture {pigment {color Red}} | |
} | |
cylinder { | |
<0, 2, 0> | |
<0, 2.5, 0> | |
2.5 | |
texture {pigment {color Brown}} | |
} | |
cylinder { | |
<0, 2.5, 0> | |
<0, 5, 0> | |
1 | |
texture {pigment {color Brown}} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment