Bastien Montagne
8952f58375
Add tangent space computation/access from RNA (i.e. python).
...
This simply mimics code used for loopnormals, to enable py scripts to generate and access (temporary)
a tangent 3D vector and bitangent sign for each loop. Together with the split normals, this allow
to recreate a complete tangent space for normal mapping (bitangent = bitangent_sign * cross(normal, tangent)).
Expects all faces to be tri or quads.
Reviewed By: Brecht, campbellbarton
Differential Revision: https://developer.blender.org/D185
2014-01-11 11:51:19 +01:00
..
2014-01-11 11:51:19 +01:00
2013-12-25 16:43:26 +06:00
2013-09-12 03:02:50 +00:00
2013-12-26 17:24:42 +06:00
2013-10-22 11:36:48 +00:00
2013-08-19 10:14:22 +00:00
2013-06-18 18:11:52 +00:00
2014-01-03 17:08:23 +11:00
2012-05-12 20:39:39 +00:00
2013-04-15 23:12:40 +00:00
2013-07-02 10:14:59 +00:00
2013-09-16 02:24:41 +00:00
2012-05-12 20:39:39 +00:00
2013-11-19 14:31:26 +11:00
2013-12-29 12:51:27 +11:00
2013-09-12 03:02:50 +00:00
2013-12-26 08:27:08 +11:00
2013-08-24 16:06:18 +00:00
2012-06-06 22:38:39 +00:00
2014-01-04 18:10:01 +11:00
2012-12-23 11:31:15 +00:00
2014-01-04 18:10:01 +11:00
2013-12-23 12:12:40 +11:00
2012-05-12 20:39:39 +00:00
2013-11-20 03:40:10 +11:00
2013-11-17 05:23:05 +11:00
2014-01-10 01:23:49 +06:00
2013-12-26 08:27:08 +11:00
2013-12-26 17:24:42 +06:00
2013-07-15 14:47:58 +00:00
2013-11-18 18:25:47 +11:00
2013-10-28 02:05:33 +00:00
2013-03-26 07:29:01 +00:00
2014-01-01 22:32:48 +06:00
2012-12-11 14:29:01 +00:00
2014-01-07 17:12:24 +11:00
2013-03-23 03:00:37 +00:00
2013-10-29 18:10:52 +00:00
2013-11-25 12:21:45 +01:00
2013-12-26 17:24:42 +06:00
2012-12-10 15:18:00 +00:00
2013-03-24 12:13:13 +00:00
2013-12-13 00:35:12 +11:00
2013-12-13 16:30:00 +06:00
2013-08-19 10:36:39 +00:00
2013-09-01 15:01:15 +00:00
2013-12-09 15:41:54 +11:00
2013-12-30 13:25:27 +11:00
2013-03-23 03:00:37 +00:00
2013-12-26 17:24:42 +06:00
2013-12-27 18:34:36 +06:00
2013-12-14 10:48:12 +01:00
2013-12-26 17:24:42 +06:00
2013-12-12 17:37:16 +11:00
2014-01-11 11:51:19 +01:00
2013-12-22 04:37:26 +11:00
2013-04-04 09:50:51 +00:00
2013-03-24 12:13:13 +00:00
2013-09-12 03:02:50 +00:00
2013-03-24 12:13:13 +00:00
2013-12-28 16:57:02 +01:00
2013-05-15 15:52:48 +00:00
2014-01-09 00:17:18 +01:00
2013-09-18 00:07:17 +00:00
2013-03-09 05:35:49 +00:00
2013-09-13 23:58:00 +00:00
2013-08-19 10:11:48 +00:00
2013-12-18 18:36:07 +02:00
2013-09-03 19:58:09 +00:00
2012-12-16 08:43:05 +00:00
2013-09-01 15:01:15 +00:00
2013-12-26 21:33:58 +01:00
2012-11-05 19:42:27 +00:00
2013-12-26 17:24:42 +06:00
2013-12-17 03:55:45 +11:00
2013-12-26 17:24:42 +06:00
2013-12-26 17:24:42 +06:00
2013-03-26 07:29:01 +00:00
2013-12-26 17:24:42 +06:00
2013-03-26 07:29:01 +00:00
2013-03-27 07:19:54 +00:00
2013-07-02 10:14:59 +00:00
2013-10-01 09:17:35 +00:00
2012-12-31 14:49:27 +00:00
2014-01-04 18:10:01 +11:00
2013-10-20 13:01:07 +00:00
2014-01-01 22:32:48 +06:00
2013-08-23 20:35:00 +00:00
2014-01-04 18:10:01 +11:00
2012-12-10 15:18:00 +00:00
2013-02-05 12:46:15 +00:00
2013-11-07 13:32:32 +00:00
2014-01-04 13:17:07 +11:00
2014-01-10 01:23:49 +06:00
2013-03-24 12:13:13 +00:00
2013-11-25 15:16:46 +11:00
2014-01-09 11:44:59 +11:00