/[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.20 by jvk, Thu Oct 10 15:07:14 2002 UTC revision 1.21 by jvk, Thu Oct 10 15:40:04 2002 UTC
# Line 112  class TransparentCombinerPass: Line 112  class TransparentCombinerPass:
112              """)              """)
113          elif type == 1:          elif type == 1:
114              scale = nvcode.combinerscale(avg(*texscales) * 8.0 * rndscale)              scale = nvcode.combinerscale(avg(*texscales) * 8.0 * rndscale)
115              alphascale = nvcode.combinerscale(exp(.3 * abs(rnd.nextGaussian())))              alphascale = nvcode.combinerscale(exp(.5 * abs(rnd.nextGaussian())))
116                            
117              # Interpolate between three colors:              # Interpolate between three colors:
118              # d0 = t0 . r0              # d0 = t0 . r0

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21

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