gzz-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gzz-commits] gzz/gfx demo/texlab.py libpaper/texcomb_NV1X.py...


From: Janne V. Kujala
Subject: [Gzz-commits] gzz/gfx demo/texlab.py libpaper/texcomb_NV1X.py...
Date: Thu, 10 Oct 2002 10:35:26 -0400

CVSROOT:        /cvsroot/gzz
Module name:    gzz
Changes by:     Janne V. Kujala <address@hidden>        02/10/10 10:35:26

Modified files:
        gfx/demo       : texlab.py 
        gfx/libpaper   : texcomb_NV1X.py textures.py 

Log message:
        Never make transparent passes more fuzzy

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/gfx/demo/texlab.py.diff?tr1=1.8&tr2=1.9&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/gfx/libpaper/texcomb_NV1X.py.diff?tr1=1.18&tr2=1.19&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/gfx/libpaper/textures.py.diff?tr1=1.23&tr2=1.24&r1=text&r2=text

Patches:
Index: gzz/gfx/demo/texlab.py
diff -c gzz/gfx/demo/texlab.py:1.8 gzz/gfx/demo/texlab.py:1.9
*** gzz/gfx/demo/texlab.py:1.8  Thu Oct 10 09:36:45 2002
--- gzz/gfx/demo/texlab.py      Thu Oct 10 10:35:26 2002
***************
*** 16,22 ****
        "seed", "2323" ]],
      
      [tres, tres, 0, 3, "RGB", "RGB", "fnoise",
!      ["scale", ".43", "freq", "1", "df", "1.5", "bias", "0.5" ]],
      
      [tres, tres, 0, 3, "RGB", "RGB", "fnoise",
       ["scale", ".3", "freq", "1", "df", "1.9", "bias", "0.5",
--- 16,22 ----
        "seed", "2323" ]],
      
      [tres, tres, 0, 3, "RGB", "RGB", "fnoise",
!      ["scale", ".43", "freq", "1", "df", "1.2", "bias", "0.5" ]],
      
      [tres, tres, 0, 3, "RGB", "RGB", "fnoise",
       ["scale", ".3", "freq", "1", "df", "1.9", "bias", "0.5",
Index: gzz/gfx/libpaper/texcomb_NV1X.py
diff -c gzz/gfx/libpaper/texcomb_NV1X.py:1.18 
gzz/gfx/libpaper/texcomb_NV1X.py:1.19
*** gzz/gfx/libpaper/texcomb_NV1X.py:1.18       Thu Oct 10 10:14:37 2002
--- gzz/gfx/libpaper/texcomb_NV1X.py    Thu Oct 10 10:35:26 2002
***************
*** 54,61 ****
          # types: 0=BAND-LIKE, 1=3-COL-LERP, 2=FRACTION-LINE
  
          # Random scaling of (dot) products
!         rndscale1 = exp(.3*rnd.nextGaussian())
!         rndscale2 = exp(.3*rnd.nextGaussian())
  
          def avg(*args):
              sum = 0
--- 54,66 ----
          # types: 0=BAND-LIKE, 1=3-COL-LERP, 2=FRACTION-LINE
  
          # Random scaling of (dot) products
!         if trans > 0:
!             # Try to keep the textures non-fuzzy
!             rndscale1 = exp(.3*abs(rnd.nextGaussian()))
!         else:
!             rndscale1 = exp(.5*rnd.nextGaussian())
! 
!         rndscale2 = exp(.3*abs(rnd.nextGaussian()))
  
          def avg(*args):
              sum = 0
Index: gzz/gfx/libpaper/textures.py
diff -c gzz/gfx/libpaper/textures.py:1.23 gzz/gfx/libpaper/textures.py:1.24
*** gzz/gfx/libpaper/textures.py:1.23   Thu Oct 10 09:36:45 2002
--- gzz/gfx/libpaper/textures.py        Thu Oct 10 10:35:26 2002
***************
*** 79,85 ****
      global ptextures
      ptextures["RGB2"] = map(NamedTexture, filter(lambda dict: dict["name"] in 
[
          "rgbw1",
!         #"rgbw2",
          "rgbw3",
          "turb",
          "pyramid",
--- 79,85 ----
      global ptextures
      ptextures["RGB2"] = map(NamedTexture, filter(lambda dict: dict["name"] in 
[
          "rgbw1",
!         "rgbw2",
          "rgbw3",
          "turb",
          "pyramid",
***************
*** 98,104 ****
          
          {"name" : "rgbw2",
           "args" : [tres, tres, 0, 3, "RGB", "RGB", "fnoise",
!                    ["scale", ".43", "freq", "1", "df", "1.5", "bias", "0.5" 
]],
           "scale" : 1./2,
           },
  
--- 98,104 ----
          
          {"name" : "rgbw2",
           "args" : [tres, tres, 0, 3, "RGB", "RGB", "fnoise",
!                    ["scale", ".43", "freq", "1", "df", "1.2", "bias", "0.5" 
]],
           "scale" : 1./2,
           },
  




reply via email to

[Prev in Thread] Current Thread [Next in Thread]