/[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.29 by jvk, Fri Jul 4 12:49:53 2003 UTC revision 1.30 by jvk, Fri Jul 4 13:57:31 2003 UTC
# Line 201  commonkeys = [ Line 201  commonkeys = [
201              Toggle("perspective", 0, "perspective", "F"),              Toggle("perspective", 0, "perspective", "F"),
202              Toggle("texture", 0, "texture", "x"),              Toggle("texture", 0, "texture", "x"),
203              SlideLin("dicelen", 100, 5, "Dice length", "G", "g"),              SlideLin("dicelen", 100, 5, "Dice length", "G", "g"),
204              SlideLin("tblsize", 100, 1, "Table size", "<", ">"),              SlideLin("tblsize", 20, 1, "Table size", "<", ">"),
205                SlideLin("mode", 0, 1, "Blending mode", "M", "m"),
206  ]  ]
207    
208  width = 0  width = 0
# Line 283  def drawFillets(self, vs, pc): Line 284  def drawFillets(self, vs, pc):
284              GLRen.createFillet3D(border, self.dice, 1),              GLRen.createFillet3D(border, self.dice, 1),
285              2)              2)
286    
287          conns3dblend = GLRen.createFillet3DBlend(self.dice, self.dicelen, self.tblsize);          conns3dblend = GLRen.createFillet3DBlend(self.dice, self.dicelen, self.tblsize, self.mode);
288    
289          thick = vs.coords.rational1D22(0, self.thick, 0, 0,  1, 1, 0);          thick = vs.coords.rational1D22(0, self.thick, 0, 0,  1, 1, 0);
290          angle = vs.coords.rational1D22(0, self.angle, 0, 0,  1, 0, 0);          angle = vs.coords.rational1D22(0, self.angle, 0, 0,  1, 0, 0);
# Line 330  def drawFillets(self, vs, pc): Line 331  def drawFillets(self, vs, pc):
331    
332              if self.blend3d:              if self.blend3d:
333                  pc(conns3dblend, [thick, angle])                  pc(conns3dblend, [thick, angle])
334              elif self.drawInside:  
335                if self.drawInside:
336                  pc(conns3d, [thick, angle])                  pc(conns3d, [thick, angle])
337    
338              vs.put(getDListNocoords("""              vs.put(getDListNocoords("""

Legend:
Removed from v.1.29  
changed lines
  Added in v.1.30

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