[gegl] plasma: Use nearest neighbour as that's good enough for plasma



commit 44e3a7a1687b191bf104cf1020bf4c8874d24168
Author: Mukund Sivaraman <muks banu com>
Date:   Thu Jun 30 14:21:21 2011 +0530

    plasma: Use nearest neighbour as that's good enough for plasma

 operations/workshop/plasma.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/operations/workshop/plasma.c b/operations/workshop/plasma.c
index a476fc6..3c0199c 100644
--- a/operations/workshop/plasma.c
+++ b/operations/workshop/plasma.c
@@ -167,13 +167,13 @@ do_plasma_big (GeglBuffer *output,
     if (x1 == x2 && y1 == y2) return FALSE;
 
     gegl_buffer_sample (output, x1, y1, 1.0, tl, babl_format ("RGBA float"),
-                       GEGL_INTERPOLATION_LINEAR);
+                       GEGL_INTERPOLATION_NEAREST);
     gegl_buffer_sample (output, x1, y2, 1.0, bl, babl_format ("RGBA float"),
-                       GEGL_INTERPOLATION_LINEAR);
+                       GEGL_INTERPOLATION_NEAREST);
     gegl_buffer_sample (output, x2, y1, 1.0, tr, babl_format ("RGBA float"),
-                       GEGL_INTERPOLATION_LINEAR);
+                       GEGL_INTERPOLATION_NEAREST);
     gegl_buffer_sample (output, x2, y2, 1.0, br, babl_format ("RGBA float"),
-                       GEGL_INTERPOLATION_LINEAR);
+                       GEGL_INTERPOLATION_NEAREST);
 
     ran =  ((gfloat) op->turbulance / (2.0 * scale_depth));
 



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