/[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.32 by jvk, Wed Oct 16 10:06:52 2002 UTC revision 1.33 by jvk, Wed Oct 16 14:50:11 2002 UTC
# Line 61  def init(): Line 61  def init():
61          "rgbw3",          "rgbw3",
62          "turb",          "turb",
63          "pyramid",          "pyramid",
64          "checkerboard",          ##"checkerboard",
65          "cone",          "cone",
66          #"checkerboard2",          ##"checkerboard2",
67          "saw",          "saw",
68          "triangle",          "triangle",
69            "rnd0",
70            "rnd1",
71            "rnd2",
72          "stripe",          "stripe",
73            "rnd0n",
74            "rnd1n",
75            "rnd2n",
76          ], [          ], [
77          {"name" : "rgbw1",          {"name" : "rgbw1",
78           "args" : [tres, tres, 0, 3, "RGB", "RGB", "fnoise",           "args" : [tres, tres, 0, 3, "RGB", "RGB", "fnoise",
# Line 152  def init(): Line 158  def init():
158           "minfilter" : "NEAREST",           "minfilter" : "NEAREST",
159           "magfilter" : "NEAREST",           "magfilter" : "NEAREST",
160           },           },
161          ]))  
162            {"name" : "rnd0",
163             "args" : [2, 2, 0, 3, "RGB", "RGB", "geometric", ["type", "7", "seed", "10"]],
164             "continuous" : 0,
165             "scale" : 1./2,
166             "featurescale" : 1./2,
167             },
168    
169            {"name" : "rnd1",
170             "args" : [2, 4, 0, 3, "RGB", "RGB", "geometric", ["type", "7", "seed", "11"]],
171             "continuous" : 0,
172             "scale" : 1./4,
173             "featurescale" : 1./4,
174             },
175    
176            {"name" : "rnd2",
177             "args" : [4, 4, 0, 3, "RGB", "RGB", "geometric", ["type", "7", "seed", "12"]],
178             "continuous" : 0,
179             "scale" : 1./4,
180             "featurescale" : 1./4,
181             },
182    
183            {"name" : "rnd0n",
184             "args" : [2, 2, 0, 3, "RGB", "RGB", "geometric", ["type", "7", "seed", "10"]],
185             "continuous" : 0,
186             "scale" : 1./2,
187             "featurescale" : 1./2,
188             "minfilter" : "NEAREST",
189             "magfilter" : "NEAREST",
190             },
191    
192            {"name" : "rnd1n",
193             "args" : [2, 4, 0, 3, "RGB", "RGB", "geometric", ["type", "7", "seed", "11"]],
194             "continuous" : 0,
195             "scale" : 1./4,
196             "featurescale" : 1./4,
197             "minfilter" : "NEAREST",
198             "magfilter" : "NEAREST",
199             },
200    
201            {"name" : "rnd2n",
202             "args" : [4, 4, 0, 3, "RGB", "RGB", "geometric", ["type", "7", "seed", "12"]],
203             "continuous" : 0,
204             "scale" : 1./4,
205             "featurescale" : 1./4,
206             "minfilter" : "NEAREST",
207             "magfilter" : "NEAREST",
208             },
209    ]))
210    
211      ptextures["DOT2"] = map(NamedTexture, [      ptextures["DOT2"] = map(NamedTexture, [
212          { "name" : "dotprodn",          { "name" : "dotprodn",
# Line 213  def init(): Line 267  def init():
267            },            },
268          { "name" : "dsdt_checkerboard",          { "name" : "dsdt_checkerboard",
269            "args" : [4, 4, 0, 2, "SIGNED_HILO_NV", "HILO_NV", "geometric",            "args" : [4, 4, 0, 2, "SIGNED_HILO_NV", "HILO_NV", "geometric",
270                      ["type", "1"]],                      ["type", "1", "scale", ".5"]],
271            "minfilter" : "NEAREST",            "minfilter" : "NEAREST",
272            "magfilter" : "NEAREST",            "magfilter" : "NEAREST",
273            },            },
# Line 237  def init(): Line 291  def init():
291            },            },
292          { "name" : "dsdt_rnd0",          { "name" : "dsdt_rnd0",
293            "args" : [2, 2, 0, 2, "SIGNED_HILO_NV", "HILO_NV", "geometric",            "args" : [2, 2, 0, 2, "SIGNED_HILO_NV", "HILO_NV", "geometric",
294                      ["type", "7"]],                      ["type", "7", "scale", "1", "seed", "100"]],
295            },            },
296          { "name" : "dsdt_rnd1",          { "name" : "dsdt_rnd1",
297            "args" : [4, 4, 0, 2, "SIGNED_HILO_NV", "HILO_NV", "geometric",            "args" : [4, 4, 0, 2, "SIGNED_HILO_NV", "HILO_NV", "geometric",
298                      ["type", "7"]],                      ["type", "7", "scale", ".5", "seed", "101"]],
299            },            },
300          { "name" : "dsdt_rnd2",          { "name" : "dsdt_rnd2",
301            "args" : [8, 8, 0, 2, "SIGNED_HILO_NV", "HILO_NV", "geometric",            "args" : [8, 8, 0, 2, "SIGNED_HILO_NV", "HILO_NV", "geometric",
302                      ["type", "7"]],                      ["type", "7", "scale", ".3", "seed", "102"]],
303            },            },
304          { "name" : "dsdt_rnd3",          { "name" : "dsdt_rnd3",
305            "args" : [16, 16, 0, 2, "SIGNED_HILO_NV", "HILO_NV", "geometric",            "args" : [16, 16, 0, 2, "SIGNED_HILO_NV", "HILO_NV", "geometric",
306                      ["type", "7"]],                      ["type", "7", "scale", ".2", "seed", "103"]],
307            },            },
308          { "name" : "dsdt_rnd4",          { "name" : "dsdt_rnd4",
309            "args" : [32, 32, 0, 2, "SIGNED_HILO_NV", "HILO_NV", "geometric",            "args" : [32, 32, 0, 2, "SIGNED_HILO_NV", "HILO_NV", "geometric",
310                      ["type", "7"]],                      ["type", "7", "scale", ".1", "seed", "104"]],
311            },            },
312          ]))          ]))
313    

Legend:
Removed from v.1.32  
changed lines
  Added in v.1.33

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