From df3c287f03ebf684fd2235d127c1ebbdd7b40a85 Mon Sep 17 00:00:00 2001 From: Yutao Yuan Date: Tue, 14 Jun 2016 21:34:24 +0800 Subject: [PATCH] Add waterlily --- alpha/waterlily.pgm | 19 +++++++++++++++++++ color/waterlily_1.ppm | 4 ++++ color/waterlily_2.ppm | 4 ++++ index/waterlily.pgm | 19 +++++++++++++++++++ rules/flowers.py | 3 +++ 5 files changed, 49 insertions(+) create mode 100644 alpha/waterlily.pgm create mode 100644 color/waterlily_1.ppm create mode 100644 color/waterlily_2.ppm create mode 100644 index/waterlily.pgm create mode 100644 rules/flowers.py diff --git a/alpha/waterlily.pgm b/alpha/waterlily.pgm new file mode 100644 index 0000000..59925f8 --- /dev/null +++ b/alpha/waterlily.pgm @@ -0,0 +1,19 @@ +P2 +16 16 +1 +0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 +0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 +0 0 1 1 1 1 1 1 1 1 1 1 1 1 0 0 +0 0 1 1 1 1 1 1 1 1 1 1 1 1 0 0 +0 0 1 1 1 1 1 1 1 1 1 1 1 1 0 0 +0 0 1 1 1 1 1 1 1 1 1 1 1 1 0 0 +0 0 1 1 1 1 1 1 1 1 1 1 1 1 0 0 +0 0 1 1 1 1 1 1 1 1 1 1 1 1 0 0 +0 0 1 1 1 1 1 1 1 1 1 1 1 1 0 0 +0 0 1 1 1 1 1 1 1 1 1 1 1 1 0 0 +0 0 0 0 0 0 1 1 1 1 1 1 1 1 0 0 +0 0 0 0 0 0 1 1 1 1 1 1 1 1 0 0 +0 0 0 0 0 0 1 1 1 1 1 1 1 1 0 0 +0 0 0 0 0 0 1 1 1 1 1 1 1 1 0 0 +0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 +0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 diff --git a/color/waterlily_1.ppm b/color/waterlily_1.ppm new file mode 100644 index 0000000..0d09e33 --- /dev/null +++ b/color/waterlily_1.ppm @@ -0,0 +1,4 @@ +P3 +2 1 +255 +134 191 77 116 166 66 diff --git a/color/waterlily_2.ppm b/color/waterlily_2.ppm new file mode 100644 index 0000000..460f9ce --- /dev/null +++ b/color/waterlily_2.ppm @@ -0,0 +1,4 @@ +P3 +2 1 +255 +242 242 255 218 218 230 diff --git a/index/waterlily.pgm b/index/waterlily.pgm new file mode 100644 index 0000000..4e54b68 --- /dev/null +++ b/index/waterlily.pgm @@ -0,0 +1,19 @@ +P2 +16 16 +3 +0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 +0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 +0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 +0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 +0 0 0 0 2 2 2 0 0 0 0 0 0 0 0 0 +0 0 0 0 2 2 2 0 0 0 0 0 0 0 0 0 +0 0 0 0 2 2 2 0 0 0 0 0 0 0 0 0 +0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 +0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 +0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 +0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 +0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 +0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 +0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 +0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 +0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 diff --git a/rules/flowers.py b/rules/flowers.py new file mode 100644 index 0000000..4995e83 --- /dev/null +++ b/rules/flowers.py @@ -0,0 +1,3 @@ +textures = { + 'flowers_waterlily': (('waterlily_1', 'waterlily_2'), 'waterlily', 'waterlily'), +}