/[libvob]/libvob/vob/paper/papermill.py
ViewVC logotype

Diff of /libvob/vob/paper/papermill.py

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

revision 1.3 by humppake, Tue Apr 29 11:48:51 2003 UTC revision 1.4 by humppake, Tue Apr 29 13:33:24 2003 UTC
# Line 115  class ThePaperMill(PaperMill): Line 115  class ThePaperMill(PaperMill):
115      def getPaper(self, seed, passmask=[1,1,1,1,1,1,1],      def getPaper(self, seed, passmask=[1,1,1,1,1,1,1],
116                   numcolors = 8,                   numcolors = 8,
117                   minlum = 80,                   minlum = 80,
118                   blend = 0):                   blend = 0,
119                     vecs = None):
120          pap = PaperHanger()          pap = PaperHanger()
121          pap.reg = Registry()          pap.reg = Registry()
122    
# Line 135  class ThePaperMill(PaperMill): Line 136  class ThePaperMill(PaperMill):
136          colors = Colors(rng.nextInt(), colors = numcolors, minlum = minlum,          colors = Colors(rng.nextInt(), colors = numcolors, minlum = minlum,
137                          blend = blend)                          blend = blend)
138          textures = Textures(rng.nextInt())          textures = Textures(rng.nextInt())
139          rootrep = TexGenXYRepeatUnit(rng, scale = 0.3 * scaleFactor)          rootrep = TexGenXYRepeatUnit(rng, scale = 0.3 * scaleFactor, vecs = vecs)
   
         # Storing the repeating unit  
         pap.repeatingUnit = rootrep  
140    
141          pap.setNPasses(len(passes))          pap.setNPasses(len(passes))
142    

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