/[libvob]/libvob/vob/demo/multifil/fillet3d.py
ViewVC logotype

Diff of /libvob/vob/demo/multifil/fillet3d.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by jvk, Thu Jun 26 13:14:10 2003 UTC revision 1.4 by jvk, Fri Jun 27 08:39:51 2003 UTC
# Line 34  from vob.fillet import light3d; Line 34  from vob.fillet import light3d;
34  class Scene:  class Scene:
35      "3D filleting"      "3D filleting"
36      def __init__(self):      def __init__(self):
37            self.depthTexture = GL.createTexture()
38            self.depthTexture.loadNull2D(0, "DEPTH_COMPONENT",
39                        1024, 1024, 0, "DEPTH_COMPONENT",
40                        "BYTE")
41            self.depthTexture.setTexParameter("TEXTURE_2D",
42                        "TEXTURE_MAX_LEVEL", 0)
43            self.depthTexture.setTexParameter("TEXTURE_2D",
44                        "TEXTURE_BASE_LEVEL", 0)
45            self.depthTexture.setTexParameter("TEXTURE_2D",
46                        "TEXTURE_MIN_FILTER", "NEAREST")
47            self.depthTexture.setTexParameter("TEXTURE_2D",
48                        "TEXTURE_MAG_FILTER", "NEAREST")
49          self.key = KeyPresses(          self.key = KeyPresses(
50              self,              self,
51              SlideLin("x", 200, 20, "x", "Left", "Right"),              SlideLin("x", 200, 20, "x", "Left", "Right"),
# Line 115  class Scene: Line 127  class Scene:
127              PopAttrib              PopAttrib
128          """))          """))
129    
130    

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26