Emmanuele Bassi
22ce4409b3
Add interpolation for matrices
...
Interpolating between two transformations expressed using a 3D matrix
can be achieved by decomposing the matrices into their transformations
and do a simple numeric interpolation between the initial and final
states, like we do for other data types.
Luckily for us, the CSS Transforms specification from the W3C provides
the decomposition algorithm, using the "unmatrix" code taken from the
book "Graphics Gems II, edited by Jim Arvo".
Once the matrices have been decomposed, we can simply interpolate the
transformations, and re-apply them onto the result matrix, using the
facilities that Clutter provides for interpolating between two known
GTypes.
2012-09-03 20:54:43 +01:00
..
2012-07-11 13:22:19 +01:00
2011-11-10 19:05:39 +01:00
2012-06-23 08:23:11 +01:00
2012-08-10 15:05:43 +01:00
2012-09-03 15:58:17 +01:00
2012-07-11 13:22:19 +01:00
2012-07-29 13:39:13 +01:00
2012-07-11 13:22:19 +01:00
2012-07-11 13:22:19 +01:00
2012-07-11 13:22:19 +01:00
2012-07-11 13:22:19 +01:00
2012-09-02 22:48:52 +01:00
2012-02-23 17:32:32 +00:00
2010-05-26 14:09:24 +01:00
2011-09-29 19:34:32 +02:00
2012-04-27 12:30:47 +01:00
2011-09-29 19:34:24 +02:00
2011-10-01 12:40:11 +02:00
2012-02-23 12:01:11 +00:00
2012-08-19 17:23:26 +01:00
2012-09-03 13:03:16 +01:00
2012-08-19 17:23:26 +01:00
2012-06-27 21:28:01 +01:00
2011-10-11 17:59:46 +01:00
2012-04-27 14:21:56 +01:00
2012-04-27 12:30:48 +01:00
2012-02-09 16:34:25 +00:00
2012-08-12 19:21:22 +01:00
2012-02-21 17:46:11 +00:00
2012-09-03 20:54:43 +01:00
2011-10-17 10:24:25 +01:00
2008-12-05 13:13:37 +00:00
2012-08-20 14:50:39 +01:00
2012-04-27 12:30:49 +01:00
2012-06-27 21:28:01 +01:00
2011-10-11 17:59:46 +01:00
2012-06-12 17:44:16 -07:00
2012-06-10 23:34:47 +01:00
2012-02-21 17:46:11 +00:00
2011-01-20 16:35:26 +00:00
2012-08-20 17:52:38 +01:00
2012-06-04 16:16:41 +02:00
2012-09-03 05:02:48 -03:00
2012-03-07 14:02:55 +00:00
2012-04-27 12:30:48 +01:00
2012-04-27 12:28:49 +01:00
2012-06-14 14:57:28 +01:00
2012-03-16 17:30:26 +00:00
2011-03-03 11:47:49 +00:00
2011-09-12 13:12:14 +01:00
2012-01-12 10:27:17 +00:00
2011-10-11 17:59:46 +01:00
2012-08-10 15:05:43 +01:00
2011-10-19 15:23:55 +01:00
2012-02-21 17:46:11 +00:00
2011-09-05 17:22:14 +01:00
2012-06-12 17:44:16 -07:00
2012-04-27 12:30:47 +01:00
2012-02-21 17:46:11 +00:00
2011-02-16 14:11:59 +00:00
2011-01-19 14:33:27 +00:00
2011-11-14 13:33:04 +08:00
2012-05-14 16:18:13 +08:00
2012-05-01 19:00:35 +01:00
2011-09-29 19:34:31 +02:00
2012-03-17 16:40:55 +00:00
2012-01-16 23:37:13 +00:00
2012-03-16 12:33:37 +00:00
2012-03-16 12:33:37 +00:00
2012-03-16 17:30:26 +00:00
2011-11-18 17:54:19 +00:00
2012-04-27 12:30:48 +01:00
2010-11-18 18:23:49 +00:00
2012-07-17 21:49:26 +01:00
2012-02-21 17:46:11 +00:00
2011-01-20 16:35:26 +00:00
2012-07-17 21:49:26 +01:00
2012-07-17 21:49:26 +01:00
2011-01-21 10:25:43 +00:00
2012-08-27 16:21:13 +01:00
2012-08-16 18:21:07 +02:00
2012-06-22 21:40:08 +01:00
2011-06-20 15:25:54 +01:00
2012-07-19 22:13:24 -04:00
2012-07-19 22:13:24 -04:00
2011-06-13 16:00:45 +01:00
2012-04-27 12:30:48 +01:00
2011-10-11 17:59:46 +01:00
2009-05-29 12:40:23 +01:00
2012-08-28 10:11:16 -03:00
2012-03-19 14:29:24 +00:00
2011-01-21 10:25:43 +00:00
2011-01-21 10:25:43 +00:00
2012-07-18 17:14:18 -04:00
2012-07-18 17:14:18 -04:00
2012-03-07 12:36:43 +00:00
2011-10-11 17:59:46 +01:00
2012-01-27 15:45:11 +00:00
2009-10-14 11:31:29 +01:00
2011-05-13 01:46:32 +01:00
2011-05-13 01:46:32 +01:00
2012-07-11 13:22:21 +01:00
2011-10-11 17:59:46 +01:00
2012-09-03 10:21:24 +02:00
2012-09-03 10:21:24 +02:00
2012-07-11 13:22:21 +01:00
2012-06-05 12:28:25 +02:00
2012-01-16 23:35:16 +00:00
2011-05-26 08:48:13 -04:00
2011-02-18 15:53:27 +00:00
2012-06-08 14:33:00 +01:00
2012-06-04 10:34:22 +01:00
2012-08-19 10:05:34 +01:00
2012-07-17 21:49:26 +01:00
2012-06-23 08:23:11 +01:00
2012-06-08 17:32:51 +01:00
2012-05-15 17:41:24 +02:00
2012-04-27 12:30:48 +01:00
2012-03-07 12:36:43 +00:00
2012-06-11 13:46:38 +01:00
2012-06-11 13:47:29 +01:00
2012-07-18 17:23:35 -04:00
2012-07-11 13:22:21 +01:00
2010-08-10 17:12:06 +01:00
2012-04-30 17:17:41 +01:00
2012-03-17 16:40:55 +00:00
2009-02-14 11:31:00 +00:00
2012-04-30 17:17:41 +01:00
2012-08-16 11:27:25 +01:00
2012-07-11 13:22:19 +01:00
2012-08-28 10:11:16 -03:00
2012-07-11 13:22:19 +01:00
2012-04-27 12:30:48 +01:00
2012-02-09 18:40:03 +00:00
2012-03-17 16:40:55 +00:00
2011-06-07 16:06:24 +01:00
2011-02-28 14:34:36 +00:00
2012-04-27 12:30:48 +01:00
2012-02-27 16:35:09 +00:00
2011-03-03 11:47:49 +00:00
2011-01-20 16:35:26 +00:00
2012-03-20 16:19:23 +00:00
2012-03-20 16:19:23 +00:00
2012-04-27 12:30:48 +01:00
2012-04-30 17:45:01 +01:00
2012-03-16 17:30:26 +00:00
2011-03-07 13:26:20 +00:00
2012-08-10 15:05:43 +01:00
2012-08-28 10:11:16 -03:00
2012-08-28 10:11:16 -03:00
2011-03-03 11:47:49 +00:00
2011-01-20 16:35:26 +00:00
2012-04-27 12:28:49 +01:00
2012-06-23 08:23:11 +01:00
2012-09-03 20:54:43 +01:00
2011-11-18 17:44:42 +00:00
2012-03-22 12:00:55 +00:00
2012-06-18 22:21:14 +01:00
2012-03-20 11:59:32 +00:00
2012-08-27 14:05:44 +01:00
2012-08-07 09:39:04 +01:00
2012-04-27 12:30:50 +01:00
2012-04-27 12:30:46 +01:00
2012-06-23 08:23:11 +01:00
2012-04-27 12:30:48 +01:00
2011-06-07 16:06:24 +01:00
2011-06-07 16:06:24 +01:00
2012-05-18 18:00:30 +01:00
2012-04-27 12:30:50 +01:00
2011-10-11 17:52:17 +01:00
2012-03-07 12:36:43 +00:00
2011-01-20 16:35:26 +00:00
2012-04-27 12:30:48 +01:00
2011-09-30 11:51:37 +01:00
2012-06-12 17:44:16 -07:00
2011-06-07 16:06:24 +01:00
2012-03-07 12:36:43 +00:00
2011-10-11 17:59:46 +01:00
2010-10-21 13:13:00 +01:00
2012-03-07 12:36:43 +00:00
2012-02-27 15:21:32 +00:00
2012-06-22 21:40:08 +01:00
2012-03-01 15:07:44 +00:00
2012-03-01 15:07:44 +00:00
2012-08-12 11:14:54 +01:00
2012-02-23 17:21:57 +00:00
2011-06-10 15:15:15 +01:00
2011-10-11 17:59:46 +01:00
2012-08-27 16:23:34 +01:00
2012-06-08 12:05:50 +01:00
2012-01-17 14:29:45 +00:00
2012-02-27 16:35:09 +00:00
2012-08-19 10:05:34 +01:00
2012-02-27 16:35:09 +00:00
2012-07-11 13:22:21 +01:00
2012-07-19 22:13:24 -04:00
2012-07-19 22:13:24 -04:00
2012-04-27 12:30:48 +01:00
2012-04-27 12:30:48 +01:00
2012-06-18 23:00:08 +01:00
2012-04-27 12:30:47 +01:00
2012-09-03 20:54:43 +01:00
2012-04-27 12:30:48 +01:00
2011-10-11 17:59:46 +01:00
2012-09-03 20:54:43 +01:00
2012-04-30 17:17:41 +01:00
2012-08-20 18:28:22 +01:00
2012-08-20 18:28:22 +01:00
2012-08-28 10:11:16 -03:00
2012-01-11 12:23:46 +00:00
2012-09-03 10:21:24 +02:00
2012-07-30 10:54:18 +01:00
2012-08-28 10:11:16 -03:00