Germano Cavalcante
2ba0951e52
Snap system: Adds support to Clip Planes and uses a clip plane to simulate occlusion
...
This patch adds support for clip_planes (ie ignore what is behind a face)...
The idea is to first execute a raycast to get the polygon to which the mouse cursor points.
Then a snap test is done on the vertices or edges of the polygon.
Then with the normal and location obtained in raycast a new clip_plane is created and the snap over the whole scene is processed ignoring the elements behind the clip_plane.
Here 2 gif of how the previous patch would work on blender2.79:
{F497176}
{F497177}
Reviewers: mont29, campbellbarton
Reviewed By: campbellbarton
Subscribers: bliblubli
Tags: #bf_blender_2.8
Differential Revision: https://developer.blender.org/D2527
2018-05-16 10:32:54 -03:00
..
2018-05-16 10:32:54 -03:00
2017-05-27 15:34:55 -04:00
2016-06-08 19:12:23 +10:00
2016-05-30 16:18:24 +10:00
2018-03-28 11:23:38 +02:00
2018-03-15 01:53:20 +11:00
2018-03-20 11:56:11 +01:00
2015-06-13 22:19:50 +02:00
2018-04-21 20:22:12 +02:00
2016-02-13 18:59:56 +11:00
2015-03-29 03:56:39 +11:00
2018-02-18 21:27:33 +11:00
2018-02-01 13:40:53 +11:00
2018-04-17 17:51:28 +02:00
2017-11-09 14:59:31 +01:00
2017-07-27 07:29:16 +10:00
2016-01-19 07:51:03 +11:00
2018-03-16 12:16:29 +01:00
2018-02-18 21:27:33 +11:00
2018-02-18 21:27:33 +11:00
2017-02-06 10:44:56 +01:00
2017-04-24 10:42:10 +02:00
2018-02-15 23:39:08 +11:00
2015-07-14 11:33:50 +02:00
2017-05-27 15:34:55 -04:00
2018-02-01 07:59:52 -07:00
2017-09-29 19:16:34 +10:00
2018-03-14 02:08:07 +11:00
2018-02-15 23:39:08 +11:00
2018-03-19 09:12:48 +01:00
2018-02-15 23:39:08 +11:00
2018-03-09 11:52:11 +11:00
2018-02-18 21:27:33 +11:00
2018-05-16 10:32:54 -03:00
2017-09-03 23:43:14 +10:00
2018-02-18 21:27:33 +11:00
2018-02-28 01:29:26 +01:00
2018-04-16 10:18:43 +02:00
2018-02-15 23:39:08 +11:00
2018-01-19 21:39:18 +11:00
2018-04-03 17:05:21 +02:00
2018-03-16 06:03:29 +11:00
2017-12-15 16:54:28 +01:00
2018-04-29 18:00:45 -04:00
2018-05-15 14:10:41 -03:00
2017-07-27 07:29:16 +10:00
2016-02-18 02:16:49 +11:00
2017-11-14 16:10:48 +11:00
2017-12-19 14:03:29 +11:00
2017-11-01 21:57:39 +03:00
2015-07-13 18:05:38 +02:00
2018-05-14 23:12:51 +02:00
2015-07-13 18:05:38 +02:00
2015-08-05 02:09:03 +10:00
2018-04-22 08:45:52 +02:00
2015-10-20 14:44:15 +02:00
2018-02-15 23:39:08 +11:00
2017-04-17 17:35:53 +02:00
2018-02-23 12:59:55 +11:00
2018-02-18 21:27:33 +11:00
2016-06-16 19:25:02 +10:00
2017-11-14 16:10:48 +11:00
2017-08-27 16:19:34 +10:00
2018-02-15 23:39:08 +11:00
2018-03-31 19:25:27 +02:00
2017-06-06 12:13:45 +02:00
2017-06-07 11:37:28 +02:00
2017-10-17 13:49:20 +11:00
2018-04-05 18:37:54 +02:00
2017-09-19 20:16:05 +10:00
2018-04-05 16:44:48 +02:00
2017-11-30 18:05:21 +11:00
2016-08-16 15:06:16 +02:00
2018-01-21 11:41:52 +11:00
2018-02-16 01:13:46 +11:00
2015-12-21 13:02:38 +11:00
2017-09-19 20:22:24 +10:00
2018-04-16 17:16:29 +02:00
2017-09-19 20:16:05 +10:00
2018-05-14 09:00:42 +02:00
2017-08-07 20:34:36 +02:00
2018-02-23 12:59:55 +11:00
2015-11-06 20:09:56 +11:00
2017-05-27 15:34:55 -04:00
2018-04-20 10:34:48 +02:00
2017-02-07 10:14:46 +01:00