/[gzz]/gzz/gfx/libpaper/texcomb_NV1X.py
ViewVC logotype

Diff of /gzz/gfx/libpaper/texcomb_NV1X.py

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

revision 1.18 by jvk, Thu Oct 10 14:14:37 2002 UTC revision 1.19 by jvk, Thu Oct 10 14:35:26 2002 UTC
# Line 54  class TransparentCombinerPass: Line 54  class TransparentCombinerPass:
54          # types: 0=BAND-LIKE, 1=3-COL-LERP, 2=FRACTION-LINE          # types: 0=BAND-LIKE, 1=3-COL-LERP, 2=FRACTION-LINE
55    
56          # Random scaling of (dot) products          # Random scaling of (dot) products
57          rndscale1 = exp(.3*rnd.nextGaussian())          if trans > 0:
58          rndscale2 = exp(.3*rnd.nextGaussian())              # Try to keep the textures non-fuzzy
59                rndscale1 = exp(.3*abs(rnd.nextGaussian()))
60            else:
61                rndscale1 = exp(.5*rnd.nextGaussian())
62    
63            rndscale2 = exp(.3*abs(rnd.nextGaussian()))
64    
65          def avg(*args):          def avg(*args):
66              sum = 0              sum = 0

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19

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