-
Notifications
You must be signed in to change notification settings - Fork 0
/
01.prologue
37 lines (31 loc) · 1.03 KB
/
01.prologue
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
//Files with predefined colors and textures
#include "colors.inc"
#include "glass.inc"
#include "golds.inc"
#include "metals.inc"
#include "stones.inc"
#include "woods.inc"
//Place the camera
camera {
sky <0,0,1> //Don't change this
direction <-1,0,0> //Don't change this
right <-4/3,0,0> //Don't change this
//location <30,10,10> //Camera location
location <15, 15, 15>
look_at <0,0,0> //Where camera is pointing
//angle 10 //Angle of the view--increase to see more, decrease to see less
}
//Ambient light to "brighten up" darker pictures
global_settings { ambient_light White }
//Place a light--you can have more than one!
light_source {
<10,-10,10> //Change this if you want to put the light at a different point
color White*2 //Multiplying by 2 doubles the brightness
}
//Set a background color
background { color White }
//Create a "floor"
plane {
<0,0,1>, 0 //This represents the plane 0x+0y+z=0
texture { T_Silver_3A } //The texture comes from the file "metals.inc"
}