Commit graph

166 commits

Author SHA1 Message Date
David Rowe
110355796c Add delete tool 2017-08-04 08:55:43 +12:00
David Rowe
e29bed7f07 Don't auto-grab if trigger fully pressed when laser starts intersecting 2017-08-03 20:26:21 +12:00
David Rowe
1ba658ee45 Implement grouping and ungrouping 2017-08-03 19:52:39 +12:00
David Rowe
1e1cb3a02e Fix scale tool highlight color 2017-08-03 13:24:38 +12:00
David Rowe
1b866fdf9e Enable/disable grouping buttons depending on current group selection 2017-08-03 13:20:14 +12:00
David Rowe
c4eac1660c Fix app toggling and hand swapping issues 2017-08-03 11:46:05 +12:00
David Rowe
25bbdba987 Add Tool menu options panels, in particular grouping buttons 2017-08-02 22:17:02 +12:00
David Rowe
83f580c514 Generalize Tool menu UI 2017-08-02 19:07:11 +12:00
David Rowe
fb1284ad61 Clear grouping selection when choose another tool 2017-08-02 16:12:49 +12:00
David Rowe
53d755d8da Clear grouping selection when drop tool 2017-08-02 14:45:19 +12:00
David Rowe
65e57a9262 Highlight grouping entities 2017-08-02 14:38:26 +12:00
David Rowe
c686cef4a0 Collect grouping data 2017-08-02 13:15:53 +12:00
David Rowe
7e1584a43e Add grouping state 2017-08-02 12:27:02 +12:00
David Rowe
6d90b6d0fd Simplify trigger click usage 2017-08-02 11:49:10 +12:00
David Rowe
a94b2b367b Simplify grip click handling 2017-08-02 09:16:24 +12:00
David Rowe
12d911f290 Add "group" bool button and icon 2017-08-02 08:41:53 +12:00
David Rowe
f2cf2cab6e Generalize tool selected 2017-08-01 16:02:04 +12:00
David Rowe
ab8bccf16b Implement cloning action 2017-07-30 11:03:19 +12:00
David Rowe
48ee7a3b1a Add icon for clone tool 2017-07-29 17:39:23 +12:00
David Rowe
676deb8a5c Make grip naming consistent with trigger naming 2017-07-29 16:16:48 +12:00
David Rowe
1d500dd3aa Use dominant hand setting and handle setting changes 2017-07-29 16:10:48 +12:00
David Rowe
9f90960a12 Make grip press discard tool 2017-07-29 13:31:08 +12:00
David Rowe
f4b2e399ef Fix multiple and malingering tool icons 2017-07-29 12:54:21 +12:00
David Rowe
c201e7b65a Display placeholder for tool icon on dominant hand 2017-07-29 10:59:15 +12:00
David Rowe
64f5fe4009 Make Create palette a separate object 2017-07-28 10:36:54 +12:00
David Rowe
9fe3a823ee Fix unexpectedly deleting multiple entities 2017-07-28 09:35:29 +12:00
David Rowe
573a49853a Tidying 2017-07-27 15:09:22 +12:00
David Rowe
136ea78873 Use overlays instead of entities 2017-07-27 13:47:35 +12:00
David Rowe
d4b872d9e1 Detect button press 2017-07-26 22:30:52 +12:00
David Rowe
3566609173 Highlight button as it is hovered 2017-07-26 21:34:13 +12:00
David Rowe
8dceb3cc6c Show laser dot on UI even if trigger isn't squeezed 2017-07-26 17:26:43 +12:00
David Rowe
0f2176127e Fix locations of dominant hand settings and update setup 2017-07-26 15:41:16 +12:00
David Rowe
bf69402219 Laser intersect but don't highlight non-editable entities 2017-07-26 15:31:54 +12:00
David Rowe
72e3c9a881 Insert UI handling between input updates and editor actions 2017-07-24 16:59:34 +12:00
David Rowe
51522edd94 Separate out input objects from editor object 2017-07-24 16:32:10 +12:00
David Rowe
1f244fb487 Better way of handling grip click 2017-07-24 15:25:00 +12:00
David Rowe
4353400d23 Fix null state transition 2017-07-22 17:55:00 +12:00
David Rowe
a7f7a2c401 Add representative Tool menu UI elements 2017-07-22 17:47:49 +12:00
David Rowe
9cb8aea4fd Make grip click delete selection 2017-07-22 13:06:15 +12:00
David Rowe
44fe60ddda Stub dominant hand setting support 2017-07-22 11:47:14 +12:00
David Rowe
233655b76b Split script into multiple files 2017-07-22 11:20:17 +12:00
David Rowe
7e4e68ccf9 Fix highlight overlay sometimes being out of position 2017-07-21 14:52:24 +12:00
David Rowe
f858abcf7c Resume app from idle state 2017-07-21 14:31:15 +12:00
David Rowe
218b13b0e9 Turn off laser when grabbing or scaling with hand 2017-07-21 14:17:50 +12:00
David Rowe
1434f98dab Fix multi-selection scale handles box after toggling while grabbed 2017-07-21 13:49:26 +12:00
David Rowe
cf51c546d3 Fix direct scaling scale and position 2017-07-21 13:43:20 +12:00
David Rowe
e09113fef5 Fix handle scaling down to very small dimensions 2017-07-21 13:18:10 +12:00
David Rowe
e2cace2372 Fix laser not turning off when lose controller tracking 2017-07-20 22:29:13 +12:00
David Rowe
da97662ee1 Make hovered handles brighter 2017-07-20 22:23:48 +12:00
David Rowe
1009b67600 Fix unhandled state condition 2017-07-20 21:38:03 +12:00
David Rowe
3b966072a3 Fix grabbing a handle without hovering entity beforehand 2017-07-20 21:30:39 +12:00
David Rowe
571d10fa89 Improve editor state update code 2017-07-20 21:05:21 +12:00
David Rowe
880a711d2b Prevent invalid direct / handle scaling transition while scaling 2017-07-20 18:36:02 +12:00
David Rowe
5551bb70d4 Disable collisions and dynamic behavior while entities are being moved 2017-07-20 18:33:23 +12:00
David Rowe
2bd3f87d73 Tidying 2017-07-19 18:11:45 +12:00
David Rowe
e4123070c4 Add handle scaling of multiple entities 2017-07-19 18:10:39 +12:00
David Rowe
f1fd6264f3 Fix handle scaling entity with non-center registration point 2017-07-19 17:51:36 +12:00
David Rowe
5cb5c71966 Avoid bounding box center calcs 2017-07-19 16:33:05 +12:00
David Rowe
ce6e711f2d Fix old scale handles displaying when switch hands 2017-07-19 12:12:20 +12:00
David Rowe
0f64da23bd Improve debug 2017-07-19 12:09:52 +12:00
David Rowe
4c98cd26a4 Fix corner handle scaling 2017-07-18 20:48:16 +12:00
David Rowe
3d69e240a9 Fix entity losing previous scale when resume direct scaling 2017-07-18 20:29:41 +12:00
David Rowe
485190456d Update handles when scale 2017-07-18 20:29:02 +12:00
David Rowe
718d7a1120 Scale with handles first pass 2017-07-18 16:59:54 +12:00
David Rowe
74dccace6a Grab handles state while scaling with handles 2017-07-17 21:57:32 +12:00
David Rowe
22422f3059 Scaling with handles state and transitions 2017-07-17 21:29:37 +12:00
David Rowe
cb894ccbcb Display and hover sizing handles 2017-07-17 18:02:35 +12:00
David Rowe
1ad3041bae Direct scaling 2017-07-17 15:33:39 +12:00
David Rowe
7b3956df28 Grabbing state 2017-07-17 12:05:36 +12:00
David Rowe
cb827d9e85 Idle, searching, and highlighting states 2017-07-17 11:10:50 +12:00
David Rowe
ae1b6e20f2 Clear out state code for rework 2017-07-17 09:20:38 +12:00
David Rowe
c422eaec11 Move laser functionality into Laser object 2017-07-14 18:12:13 +12:00
David Rowe
35e8e7762f Move hand intersection into Hand object 2017-07-14 15:35:03 +12:00
David Rowe
2acb7335f1 Move hand functionality into new Hand object 2017-07-14 14:37:54 +12:00
David Rowe
0506f516d4 Rename Hand to Editor 2017-07-14 12:54:08 +12:00
David Rowe
85c5b8778a Simplify left/right side value handling 2017-07-14 12:45:19 +12:00
David Rowe
ee21797fcd Simplify scale-with-handles state handling 2017-07-14 12:22:21 +12:00
David Rowe
7933280d03 Clear highlights etc. when turn application off 2017-07-14 12:08:22 +12:00
David Rowe
ab6e278a48 Intersect and hover overlay handles with laser 2017-07-13 17:01:56 +12:00
David Rowe
9cbde6d99e Hover intersected handle 2017-07-13 15:05:04 +12:00
David Rowe
e644aabaf7 Intersect overlays with hands 2017-07-13 15:04:25 +12:00
David Rowe
23ebb791e8 Fix don't scale with hands if scaling multiple entities with handles 2017-07-12 19:22:08 +12:00
David Rowe
1fc2d7ed1b Display corner scale handles 2017-07-12 18:44:08 +12:00
David Rowe
972cf1a1be Size handles to compensate for physical distance 2017-07-12 16:11:59 +12:00
David Rowe
2c3cd53f8d Display face scale handles only for single entities 2017-07-12 15:30:13 +12:00
David Rowe
850b94220f Display face scale handles 2017-07-12 15:22:44 +12:00
David Rowe
196f5a43b1 Don't scale with hands if scaling with handles 2017-07-12 12:18:59 +12:00
David Rowe
db37417ccd Tidying 2017-07-12 11:15:55 +12:00
David Rowe
68cdc23530 Display selection bounding box for scaling with handles 2017-07-12 11:04:02 +12:00
David Rowe
657ac1aaeb Fix enumeration of entity tree 2017-07-11 21:16:21 +12:00
David Rowe
3450d64bed Hover with "scale" color if in scale-with-handles mode 2017-07-11 17:37:09 +12:00
David Rowe
ed3c0cdced Use grip click to toggle scale-with-hands / scale-with-handles 2017-07-11 17:16:38 +12:00
David Rowe
e8d8a5c0a2 Rotate entity selection while scaling 2017-07-08 12:27:48 +12:00
David Rowe
73c6414f93 Natural scale of entity selection with hands / lasers 2017-07-08 12:07:20 +12:00
David Rowe
a35d5fe128 Different color highlight for about-to-scale 2017-07-07 15:49:52 +12:00
David Rowe
5da8fe19de Fix highlights not moving when entities being moved by other hand 2017-07-07 15:10:07 +12:00
David Rowe
998d27d66d Logic and stub for grab versus scale 2017-07-07 15:06:18 +12:00
David Rowe
0ba11ffdc9 Make each hand aware of other 2017-07-07 14:51:20 +12:00
David Rowe
cab2caaf27 Apply edit and highlight after calculating both hands' inputs 2017-07-07 14:45:49 +12:00
David Rowe
c2159bc52a Fix laser not disappearing when lose hand tracking 2017-07-06 16:44:58 +12:00