/[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.31 by jvk, Wed Oct 16 08:41:27 2002 UTC revision 1.32 by jvk, Wed Oct 16 10:06:52 2002 UTC
# Line 181  def init(): Line 181  def init():
181            },            },
182          ])          ])
183    
184      ptextures["DSDT_HILO"] = map(NamedTexture, [      ptextures["DSDT_HILO"] = map(NamedTexture,
185                                     filter(lambda dict: dict["name"] in [
186            "dsdt_w1",
187            "dsdt_turb",
188            "dsdt_pyramid",
189            "dsdt_checkerboard",
190            "dsdt_cone",
191            "dsdt_saw",
192            "dsdt_triangle",
193            "dsdt_stripe",
194            "dsdt_rnd0",
195            "dsdt_rnd1",
196            "dsdt_rnd2",
197            "dsdt_rnd3",
198            "dsdt_rnd4",
199            ], [
200          { "name" : "dsdt_w1",          { "name" : "dsdt_w1",
201            "args" : [tres, tres, 0, 2, "SIGNED_HILO_NV", "HILO_NV", "fnoise",            "args" : [tres, tres, 0, 2, "SIGNED_HILO_NV", "HILO_NV", "fnoise",
202                      ["scale", ".43", "freq", "1", "df", "1", "bias", "0.5",                      ["scale", ".43", "freq", "1", "df", "1", "bias", "0.5",
# Line 191  def init(): Line 206  def init():
206            "args" : [tres, tres, 0, 2, "SIGNED_HILO_NV", "HILO_NV", "fnoise",            "args" : [tres, tres, 0, 2, "SIGNED_HILO_NV", "HILO_NV", "fnoise",
207                      ["turb", "1", "scale", ".3", "freq", "1",                      ["turb", "1", "scale", ".3", "freq", "1",
208                       "freq2", "100", "df", "1", "bias", "0"]],                       "freq2", "100", "df", "1", "bias", "0"]],
209            }            },
210          ])          { "name" : "dsdt_pyramid",
211              "args" : [64, 64, 0, 2, "SIGNED_HILO_NV", "HILO_NV", "geometric",
212                        ["type", "0", "scale", ".5"]],
213              },
214            { "name" : "dsdt_checkerboard",
215              "args" : [4, 4, 0, 2, "SIGNED_HILO_NV", "HILO_NV", "geometric",
216                        ["type", "1"]],
217              "minfilter" : "NEAREST",
218              "magfilter" : "NEAREST",
219              },
220            { "name" : "dsdt_cone",
221              "args" : [64, 64, 0, 2, "SIGNED_HILO_NV", "HILO_NV", "geometric",
222                        ["type", "2", "scale", ".5"]],
223              },
224            { "name" : "dsdt_saw",
225              "args" : [64, 64, 0, 2, "SIGNED_HILO_NV", "HILO_NV", "geometric",
226                        ["type", "4"]],
227              },
228            { "name" : "dsdt_triangle",
229              "args" : [64, 64, 0, 2, "SIGNED_HILO_NV", "HILO_NV", "geometric",
230                        ["type", "5"]],
231              },
232            { "name" : "dsdt_stripe",
233              "args" : [2, 2, 0, 2, "SIGNED_HILO_NV", "HILO_NV", "geometric",
234                        ["type", "6"]],
235              "minfilter" : "NEAREST",
236              "magfilter" : "NEAREST",
237              },
238            { "name" : "dsdt_rnd0",
239              "args" : [2, 2, 0, 2, "SIGNED_HILO_NV", "HILO_NV", "geometric",
240                        ["type", "7"]],
241              },
242            { "name" : "dsdt_rnd1",
243              "args" : [4, 4, 0, 2, "SIGNED_HILO_NV", "HILO_NV", "geometric",
244                        ["type", "7"]],
245              },
246            { "name" : "dsdt_rnd2",
247              "args" : [8, 8, 0, 2, "SIGNED_HILO_NV", "HILO_NV", "geometric",
248                        ["type", "7"]],
249              },
250            { "name" : "dsdt_rnd3",
251              "args" : [16, 16, 0, 2, "SIGNED_HILO_NV", "HILO_NV", "geometric",
252                        ["type", "7"]],
253              },
254            { "name" : "dsdt_rnd4",
255              "args" : [32, 32, 0, 2, "SIGNED_HILO_NV", "HILO_NV", "geometric",
256                        ["type", "7"]],
257              },
258            ]))
259    
260      ptextures["FOOBAR"] = [ ptextures["RGB2"][-1] ]      ptextures["FOOBAR"] = [ ptextures["RGB2"][-1] ]
261            

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

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