/[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.6 by tjl, Fri Jun 6 20:04:23 2003 UTC revision 1.7 by tjl, Wed Jun 25 11:23:32 2003 UTC
# Line 41  from java.lang import Math Line 41  from java.lang import Math
41  from org.nongnu.libvob.gl import PaperOptions  from org.nongnu.libvob.gl import PaperOptions
42  paperopt = PaperOptions.instance();  paperopt = PaperOptions.instance();
43    
44  dbg=0  dbg=1
45  # Discriminate between different renderers.  # Discriminate between different renderers.
46  # These are for debug output only.  # These are for debug output only.
47  if dbg:  if dbg:
# Line 127  class ThePaperMill(PaperMill): Line 127  class ThePaperMill(PaperMill):
127          colors = Colors(rng.nextInt(), colors = numcolors, minlum = minlum,          colors = Colors(rng.nextInt(), colors = numcolors, minlum = minlum,
128                          blend = blend)                          blend = blend)
129          textures = Textures(rng.nextInt())          textures = Textures(rng.nextInt())
130          rootrep = TexGenXYRepeatUnit(rng, scale = 0.3 * scaleFactor, vecs = vecs)          rootrep = TexGenXYRepeatUnit(rng, scale = 60 * scaleFactor, vecs = vecs)
131          passes = [ { "trans" : 0, "emboss" : 0 },          passes = [ { "trans" : 0, "emboss" : 0 },
132                     { "trans" : .5, "emboss" : 0 },                     { "trans" : .5, "emboss" : 0 },
133                     { "trans" : .9375, "emboss" : 0 },                     { "trans" : .9375, "emboss" : 0 },
# Line 250  class ThePaperMill(PaperMill): Line 250  class ThePaperMill(PaperMill):
250              ActiveTexture TEXTURE0              ActiveTexture TEXTURE0
251          """)          """)
252    
253            print "Ret: ",npap.toString(), npap.getPass(0).getNTexGens()
254    
255          return npap          return npap
256    
257    

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

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