94 |
print "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!Time of", iters, "renders:", t, "s" |
print "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!Time of", iters, "renders:", t, "s" |
95 |
|
|
96 |
|
|
97 |
zoom = 900 |
zoom = 900.0 |
98 |
|
|
99 |
|
|
100 |
passmask = [1,1,1,1] |
passmask = [1,1,1,1] |
178 |
h = size.height |
h = size.height |
179 |
|
|
180 |
cs1 = vs.coords.affineCoordsys(0, 10, 0, 0, w, 0, 0, h) |
cs1 = vs.coords.affineCoordsys(0, 10, 0, 0, w, 0, 0, h) |
181 |
scale = zoom |
scale = float(zoom) |
182 |
cs2 = vs.coords.affineCoordsys(0, 0, 0, 0, scale / w, 0, 0, scale / h) |
cs2 = vs.coords.affineCoordsys(0, 0, 0, 0, scale / w, 0, 0, scale / h) |
183 |
|
|
184 |
cs1left = vs.coords.ortho(cs1, 0, 0, 0, .5, 1) |
cs1left = vs.coords.ortho(cs1, 0, 0, 0, .5, 1) |
187 |
cs2left = vs.coords.ortho(0, 0, 0, 0, scale / w * 2, scale / h) |
cs2left = vs.coords.ortho(0, 0, 0, 0, scale / w * 2, scale / h) |
188 |
cs2right = vs.coords.ortho(0, 0, -1, 0, scale / w * 2, scale / h) |
cs2right = vs.coords.ortho(0, 0, -1, 0, scale / w * 2, scale / h) |
189 |
|
|
190 |
|
print scale, w, h |
191 |
|
|
192 |
vs.matcher.add(cs1, "1") |
vs.matcher.add(cs1, "1") |
193 |
vs.matcher.add(cs2, "2") |
vs.matcher.add(cs2, "2") |
194 |
|
|
313 |
cs1w = .47*size.width/self.w |
cs1w = .47*size.width/self.w |
314 |
cs1h = .47*size.height/self.h |
cs1h = .47*size.height/self.h |
315 |
|
|
316 |
scale = zoom |
scale = float(zoom) |
317 |
cs2 = vs.coords.affineCoordsys(0, 1, 0, 0, scale/cs1w, 0, 0, scale/cs1h) |
cs2 = vs.coords.affineCoordsys(0, 1, 0, 0, scale/cs1w, 0, 0, scale/cs1h) |
318 |
vs.matcher.add(cs2, "tex") |
vs.matcher.add(cs2, "tex") |
319 |
|
|