/[libvob]/libvob/vob/fillet/light3d.py
ViewVC logotype

Diff of /libvob/vob/fillet/light3d.py

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

revision 1.10 by jvk, Fri Jun 27 12:09:12 2003 UTC revision 1.11 by jvk, Fri Jun 27 14:34:23 2003 UTC
# Line 111  commonkeys = [ Line 111  commonkeys = [
111              SlideLin("size", 100, 10, "Node size", "K", "k"),              SlideLin("size", 100, 10, "Node size", "K", "k"),
112              SlideLin("dice", 20, 1, "Dice factor", "P", "p"),              SlideLin("dice", 20, 1, "Dice factor", "P", "p"),
113              Toggle("fillet3d", 0, "3D fillets", "3"),              Toggle("fillet3d", 0, "3D fillets", "3"),
114                Toggle("blend3d", 0, "3D fillets blend", "4"),
115              SlideLin("linewidth", 2, 1, "line width", "B", "b"),              SlideLin("linewidth", 2, 1, "line width", "B", "b"),
116              Toggle("perspective", 0, "perspective", "F"),              Toggle("perspective", 0, "perspective", "F"),
117              Toggle("texture", 0, "texture", "x"),              Toggle("texture", 0, "texture", "x"),
# Line 161  def drawFillets(self, vs, pc): Line 162  def drawFillets(self, vs, pc):
162              GLRen.createFillet3D(border, self.dice, 1),              GLRen.createFillet3D(border, self.dice, 1),
163              2)              2)
164    
165                    conns3dblend = GLRen.createFillet3DBlend(self.dice);
166    
167    
168    
# Line 198  def drawFillets(self, vs, pc): Line 199  def drawFillets(self, vs, pc):
199                  uLookAt 400 400 -1000 400 400 400 0 -1 0                  uLookAt 400 400 -1000 400 400 400 0 -1 0
200                  """))                  """))
201    
202              pc(conns3d)              if not self.blend3d:
203                    pc(conns3d)
204    
205                if self.blend3d:
206                    pc(conns3dblend)
207    
208              vs.put(getDListNocoords("""              vs.put(getDListNocoords("""
209              MatrixMode PROJECTION              MatrixMode PROJECTION

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

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