gzz-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gzz-commits] gzz ./TODO gfx/demo/opengl/fragprog.py


From: Tuomas J. Lukka
Subject: [Gzz-commits] gzz ./TODO gfx/demo/opengl/fragprog.py
Date: Fri, 24 Jan 2003 07:08:48 -0500

CVSROOT:        /cvsroot/gzz
Module name:    gzz
Changes by:     Tuomas J. Lukka <address@hidden>        03/01/24 07:08:48

Modified files:
        .              : TODO 
        gfx/demo/opengl: fragprog.py 

Log message:
        Moving

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/TODO.diff?tr1=1.531&tr2=1.532&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/gfx/demo/opengl/fragprog.py.diff?tr1=1.2&tr2=1.3&r1=text&r2=text

Patches:
Index: gzz/TODO
diff -u gzz/TODO:1.531 gzz/TODO:1.532
--- gzz/TODO:1.531      Fri Jan 24 04:09:30 2003
+++ gzz/TODO    Fri Jan 24 07:08:48 2003
@@ -256,6 +256,8 @@
          color really is right)
     tjl:
        - xupdf: distorted multi-page PDF view with xu links
+           - buoy circle -> ellipse
+           - repaint first the existing vobscene!!
            - change memorypartitioner focus scale:  0..1 is not good,
              should be 0..2, where 0..1 as now, 1..2 = things that are so
              close to focus that they should be loaded at highest res.
Index: gzz/gfx/demo/opengl/fragprog.py
diff -u gzz/gfx/demo/opengl/fragprog.py:1.2 gzz/gfx/demo/opengl/fragprog.py:1.3
--- gzz/gfx/demo/opengl/fragprog.py:1.2 Fri Jan 24 07:01:22 2003
+++ gzz/gfx/demo/opengl/fragprog.py     Fri Jan 24 07:08:48 2003
@@ -1,3 +1,6 @@
+from gfx.util.demokeys import *
+from gfx.util.misc import *
+
 if globals().has_key("fp"):
        fp.deleteObject()
 
@@ -19,8 +22,10 @@
 
 class Scene:
     def __init__(self):
-       self.x = 512
-       self.y = 384
+       self.key = KeyPresses(self,
+           SlideLin("x", 512, 30, "x coord", "Left", "Right"),
+           SlideLin("y", 384, 30, "x coord", "Up", "Down"),
+       )
 
     def scene(self, vs):
        putnoc(vs, background((.5,.5,.5)))
@@ -42,7 +47,5 @@
         Disable FRAGMENT_PROGRAM_ARB
         """ % fp.getProgId()), cs1)
 
-    def key(self,k):
-       pass
 
 currentScene = Scene()




reply via email to

[Prev in Thread] Current Thread [Next in Thread]