[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [42472] branches/soc-2011-tomato/source/ blender/editors/interface/interface_draw.c: Use bicubic interpolation for the tracker preview.

Keir Mierle mierle at gmail.com
Wed Dec 7 01:11:45 CET 2011


Revision: 42472
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=42472
Author:   keir
Date:     2011-12-07 00:11:39 +0000 (Wed, 07 Dec 2011)
Log Message:
-----------
Use bicubic interpolation for the tracker preview. It looks fantastic, but is
slower, so we may have to make this an option instead of the only choice.

Modified Paths:
--------------
    branches/soc-2011-tomato/source/blender/editors/interface/interface_draw.c

Modified: branches/soc-2011-tomato/source/blender/editors/interface/interface_draw.c
===================================================================
--- branches/soc-2011-tomato/source/blender/editors/interface/interface_draw.c	2011-12-06 22:55:41 UTC (rev 42471)
+++ branches/soc-2011-tomato/source/blender/editors/interface/interface_draw.c	2011-12-07 00:11:39 UTC (rev 42472)
@@ -1490,7 +1490,7 @@
 			CLAMP(src_x, 0, max_x);
 			CLAMP(src_y, 0, max_y);
 
-			bilinear_interpolation(ibuf, scaleibuf, src_x, src_y, x, y);
+			bicubic_interpolation(ibuf, scaleibuf, src_x, src_y, x, y);
 		}
 	}
 




More information about the Bf-blender-cvs mailing list