Parent Directory | Revision Log | 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 |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |