[gegl] map-relative: reference-composition: use perlin noise



commit 6abbb603e1d05a0873ebbd4350b4cfaecece8c35
Author: Øyvind Kolås <pippin gimp org>
Date:   Fri May 23 05:43:09 2014 +0200

    map-relative: reference-composition: use perlin noise

 operations/common/map-relative.c |   25 ++++++++++++-------------
 1 files changed, 12 insertions(+), 13 deletions(-)
---
diff --git a/operations/common/map-relative.c b/operations/common/map-relative.c
index 7d38c53..599adaf 100644
--- a/operations/common/map-relative.c
+++ b/operations/common/map-relative.c
@@ -145,23 +145,22 @@ gegl_op_class_init (GeglOpClass *klass)
 {
   GeglOperationClass         *operation_class;
   GeglOperationComposerClass *composer_class;
-  gchar                      *composition = "<?xml version='1.0' encoding='UTF-8'?>"
+  gchar                      *composition = 
     "<gegl>"
-    "<node operation='gegl:map-relative'>"
-    "  <params>"
-    "    <param name='scaling'>100</param>"
-    "  </params>"
-    "  <node operation='gegl:load'>"
-    "    <params><param name='path'>standard-aux.png</param></params>"
-    "  </node>"
-    "</node>"
-    "<node operation='gegl:load'>"
-    "  <params>"
-    "    <param name='path'>standard-input.png</param>"
-    "  </params>"
+    "<node operation='gegl:crop' width='200' height='200'/>"
+    "<node operation='gegl:over'>"
+      "<node operation='gegl:map-relative'>"
+      "  <params>"
+      "    <param name='scaling'>30</param>"
+      "  </params>"
+      "  <node operation='gegl:perlin-noise' />"
+      "</node>"
+      "<node operation='gegl:load' path='standard-input.png'/>"
     "</node>"
+    "<node operation='gegl:checkerboard' color1='rgb(0.25,0.25,0.25)' color2='rgb(0.75,0.75,0.75)'/>"
     "</gegl>";
 
+
   operation_class = GEGL_OPERATION_CLASS (klass);
   composer_class  = GEGL_OPERATION_COMPOSER_CLASS (klass);
 


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