/[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.28 by jvk, Thu Jul 3 15:06:45 2003 UTC revision 1.29 by jvk, Fri Jul 4 12:49:53 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", "<", ">"),
205  ]  ]
206    
207  width = 0  width = 0
# Line 282  def drawFillets(self, vs, pc): Line 283  def drawFillets(self, vs, pc):
283              GLRen.createFillet3D(border, self.dice, 1),              GLRen.createFillet3D(border, self.dice, 1),
284              2)              2)
285    
286          conns3dblend = GLRen.createFillet3DBlend(self.dice, self.dicelen);          conns3dblend = GLRen.createFillet3DBlend(self.dice, self.dicelen, self.tblsize);
287    
288          thick = vs.coords.rational1D22(0, self.thick, 0, 0,  1, 1, 0);          thick = vs.coords.rational1D22(0, self.thick, 0, 0,  1, 1, 0);
289          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 327  def drawFillets(self, vs, pc): Line 328  def drawFillets(self, vs, pc):
328                  uLookAt 400 400 -1000 400 400 400 0 -1 0                  uLookAt 400 400 -1000 400 400 400 0 -1 0
329                  """))                  """))
330    
             if self.drawInside:  
                 pc(conns3d, [thick, angle])  
   
331              if self.blend3d:              if self.blend3d:
332                  pc(conns3dblend, [thick, angle])                  pc(conns3dblend, [thick, angle])
333                elif self.drawInside:
334                    pc(conns3d, [thick, angle])
335    
336              vs.put(getDListNocoords("""              vs.put(getDListNocoords("""
337              MatrixMode PROJECTION              MatrixMode PROJECTION

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

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