-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.py
73 lines (57 loc) · 1.19 KB
/
variables.py
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
windowId = -1
#parametros del punto de vista
# punto de vista inicial
IVX = 12
IVY = 12
IVZ = 12
# objetivo de camara inicial
LAX = 0
LAY = 0
LAZ = 0
# objetivo de camara inicial
LAX = 0
LAY = 0
LAZ = 0
#el punto desde el cual miro
VIEWPOINT_X = IVX
VIEWPOINT_Y = IVY
VIEWPOINT_Z = IVZ
#el punto al cual miro
LOOK_AT_X = LAX
LOOK_AT_Y = LAY
LOOK_AT_Z = LAZ
#el vector que indica hacia donde es 'arriba' para la camara
UP_VECTOR_X = 0
UP_VECTOR_Y = 1
UP_VECTOR_Z = 0
#resolucion de la ventana
WIDTH = 800
HEIGHT = 600
#variables de los planos
SECTIONS = 2.0 #numero de parches por unidad de espacio
# 0 = cargar
# 1 = calcular
VSB = 0
FFT = 0
shoots = 10
# intensidad de fuentes luminosas
INITINTEN = 500.0
INTENSITY = 1
# variables de los planos
size = 9.0
step = 1.0 / SECTIONS
XY_reflectance_red = 0.5
XY_reflectance_green = 0.5
XY_reflectance_blue = 0.5
XZ_reflectance_red = 0.1
XZ_reflectance_green = 0.8
XZ_reflectance_blue = 0.1
YZ_reflectance_red = 0.1
YZ_reflectance_green = 0.1
YZ_reflectance_blue = 0.8
FormFactors = None
Visibilidad = None
#lista completa de los parches
patchesList = []
#lista de luces
lightsList = []