[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gzz-commits] gzz/gfx/libpaper texcomb_NV1X.py
From: |
Janne V. Kujala |
Subject: |
[Gzz-commits] gzz/gfx/libpaper texcomb_NV1X.py |
Date: |
Thu, 10 Oct 2002 11:40:04 -0400 |
CVSROOT: /cvsroot/gzz
Module name: gzz
Changes by: Janne V. Kujala <address@hidden> 02/10/10 11:40:04
Modified files:
gfx/libpaper : texcomb_NV1X.py
Log message:
Change 3-COL-LREP texture scaling ad hoc constant
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/gfx/libpaper/texcomb_NV1X.py.diff?tr1=1.20&tr2=1.21&r1=text&r2=text
Patches:
Index: gzz/gfx/libpaper/texcomb_NV1X.py
diff -c gzz/gfx/libpaper/texcomb_NV1X.py:1.20
gzz/gfx/libpaper/texcomb_NV1X.py:1.21
*** gzz/gfx/libpaper/texcomb_NV1X.py:1.20 Thu Oct 10 11:07:14 2002
--- gzz/gfx/libpaper/texcomb_NV1X.py Thu Oct 10 11:40:04 2002
***************
*** 112,118 ****
""")
elif type == 1:
scale = nvcode.combinerscale(avg(*texscales) * 8.0 * rndscale)
! alphascale = nvcode.combinerscale(exp(.3 *
abs(rnd.nextGaussian())))
# Interpolate between three colors:
# d0 = t0 . r0
--- 112,118 ----
""")
elif type == 1:
scale = nvcode.combinerscale(avg(*texscales) * 8.0 * rndscale)
! alphascale = nvcode.combinerscale(exp(.5 *
abs(rnd.nextGaussian())))
# Interpolate between three colors:
# d0 = t0 . r0