[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gzz-commits] gzz/gfx/util disp.py
From: |
Janne V. Kujala |
Subject: |
[Gzz-commits] gzz/gfx/util disp.py |
Date: |
Tue, 04 Mar 2003 04:11:18 -0500 |
CVSROOT: /cvsroot/gzz
Module name: gzz
Changes by: Janne V. Kujala <address@hidden> 03/03/04 04:11:18
Modified files:
gfx/util : disp.py
Log message:
displaying one image works
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/gfx/util/disp.py.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
Patches:
Index: gzz/gfx/util/disp.py
diff -u gzz/gfx/util/disp.py:1.1 gzz/gfx/util/disp.py:1.2
--- gzz/gfx/util/disp.py:1.1 Tue Mar 4 03:57:58 2003
+++ gzz/gfx/util/disp.py Tue Mar 4 04:11:18 2003
@@ -43,15 +43,14 @@
xs,ys = 1280, 960
xt, yt = xs, ys
-while xt > 1 or yt > 1:
- xt *= .5
- yt *= .5
+while xt > 1: xt *= .5
+while yt > 1: yt *= .5
def filescene(vs, file):
m = MipzipLoader(file)
- m.loadToBaseLevelSynch(10)
+ m.loadToBaseLevelSynch(0)
tex = m.getTexture()
texid = tex.getTexId()
@@ -96,8 +95,7 @@
w = gfxapi.createWindow()
w.setLocation(0,0,xs,ys)
- file =
File("../mstmpimg/011D75251F04C8BF89A44C88D875886B2B5172522A-170-1.mipzip")
-
+ file = File("tmp/tmp_0_0_0.mipzip")
vs = w.createVobScene()
filescene(vs, file)
w.renderStill(vs, 0)
- [Gzz-commits] gzz/gfx/util disp.py,
Janne V. Kujala <=
- [Gzz-commits] gzz/gfx/util disp.py, Janne V. Kujala, 2003/03/04
- [Gzz-commits] gzz/gfx/util disp.py, Janne V. Kujala, 2003/03/04
- [Gzz-commits] gzz/gfx/util disp.py, Janne V. Kujala, 2003/03/04
- [Gzz-commits] gzz/gfx/util disp.py, Janne V. Kujala, 2003/03/04
- [Gzz-commits] gzz/gfx/util disp.py, Janne V. Kujala, 2003/03/05
- [Gzz-commits] gzz/gfx/util disp.py, Janne V. Kujala, 2003/03/05