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

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

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

revision 1.26 by jvk, Tue Oct 15 11:36:33 2002 UTC revision 1.27 by jvk, Tue Oct 15 12:03:48 2002 UTC
# Line 160  def init(): Line 160  def init():
160                  #              "SIGNED_HILO_NV", "HILO_NV",  # XXX signed                  #              "SIGNED_HILO_NV", "HILO_NV",  # XXX signed
161                  #              "rd1", ["iter", "3000", "F", ".04", "k", ".06"]]),                  #              "rd1", ["iter", "3000", "F", ".04", "k", ".06"]]),
162          ])          ])
163    
164        ptextures["DSDT"] = map(NamedTexture, [
165            { "name" : "dsdtn",
166              "args" : [512, 512, 0, 2,
167                        "DSDT_NV", "DSDT_NV",  # XXX signed
168                        "noise", ["type", "normal", "freq", "10", "scale", "0.2", "bias", ".5"]]
169              },
170            ])
171    
172        ptextures["FOOBAR"] = [ ptextures["RGB2"][-1] ]
173            
174  def getPaperTexture(type, gen):  def getPaperTexture(type, gen):
175      return selectRandom(ptextures[type], gen)      return selectRandom(ptextures[type], gen)

Legend:
Removed from v.1.26  
changed lines
  Added in v.1.27

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