Commit graph

225 commits

Author SHA1 Message Date
David Rowe
2a2f058898 Fix Tools menu header underline color 2017-08-23 21:59:55 +12:00
David Rowe
be45f600d4 Style Create palette items 2017-08-23 21:56:59 +12:00
David Rowe
1aba95ecb8 Style Tools menu buttons 2017-08-23 18:20:51 +12:00
David Rowe
0ef03eb52a Remove extraneous panels 2017-08-23 10:42:24 +12:00
David Rowe
7051ff8f1f Rename "tool menu" to "tools menu" 2017-08-23 09:41:46 +12:00
David Rowe
d6a23abb7c Tools menu header and panel 2017-08-23 09:30:19 +12:00
David Rowe
44778e791f Fix entity creation position 2017-08-22 22:55:43 +12:00
David Rowe
f542c54e6c Lay out Create palette entity items 2017-08-22 22:40:38 +12:00
David Rowe
5a4ebbd54d Style Create palette header and panel 2017-08-22 21:59:31 +12:00
David Rowe
bb7e4fa302 Revise coordinate system 2017-08-22 16:02:24 +12:00
David Rowe
79056c385f Fix options buttons not pressing 2017-08-22 14:57:17 +12:00
David Rowe
c953df0040 Fix "Finish" buttons not clearing tool properly 2017-08-22 14:35:56 +12:00
David Rowe
cc0b95c70a Lint 2017-08-21 17:32:40 +12:00
David Rowe
fcf4831a3b Center Tools menu and options UI 2017-08-21 17:26:03 +12:00
David Rowe
0064c51610 Add "Finish" buttons for scale, clone, and delete tools 2017-08-21 16:24:55 +12:00
David Rowe
ca3eadb82f Don't display menu buttons when tool options panel open, and vice versa 2017-08-21 16:04:34 +12:00
David Rowe
e34e8ff2c0 Fix color circle and slider changes not being applied when coloring 2017-08-21 13:24:07 +12:00
David Rowe
9434ef44c3 Delay physics kick in order to avoid some erratic behavior 2017-08-20 14:15:34 +12:00
David Rowe
5dd74d71fb Activate the color picker 2017-08-18 09:55:09 +12:00
David Rowe
32113e84e4 Move color circle crosshairs witih laser 2017-08-17 14:45:47 +12:00
David Rowe
069102f68b Initial color circle UI elements 2017-08-17 13:59:56 +12:00
David Rowe
35d06c0244 Make space for color circle 2017-08-17 10:12:28 +12:00
David Rowe
90c2036be7 Fix physics options labels being displayed when options pane opens 2017-08-17 00:08:09 +12:00
David Rowe
2287e16ea7 Set physics values per picklist items 2017-08-17 00:04:14 +12:00
David Rowe
2c2f866c82 Close picklist if click elsewhere 2017-08-16 21:33:34 +12:00
David Rowe
f9de451b30 Make picklist label display "CUSTOM" when slider value is changed 2017-08-16 21:11:10 +12:00
David Rowe
30e9b8ea45 Update picklist label when item is picked 2017-08-16 20:56:08 +12:00
David Rowe
bfaae7c220 Add picklist options 2017-08-16 20:22:24 +12:00
David Rowe
c705bb7fad Add picklist button 2017-08-16 14:55:44 +12:00
David Rowe
cca862b6ba Apply physics to just the root entity 2017-08-16 13:47:14 +12:00
David Rowe
b1938bafea Apply slider values to entities 2017-08-16 13:40:06 +12:00
David Rowe
cb53ad43e0 Tidying 2017-08-15 18:16:21 +12:00
David Rowe
8d01c02c29 Tidy clearing color swatches 2017-08-15 17:54:21 +12:00
David Rowe
8cf18c1b03 Tidy applying color swatches 2017-08-15 17:47:59 +12:00
David Rowe
3a1fc1f11c Remember Physics slider values 2017-08-15 17:44:42 +12:00
David Rowe
504857a1b8 Set up Physics sliders 2017-08-15 10:23:36 +12:00
David Rowe
441ba15708 Fix swatch colors 2017-08-14 17:23:02 +12:00
David Rowe
71993972a2 Improve ungrouping behavior 2017-08-13 14:04:01 +12:00
David Rowe
bc00bcd02c For development testing, apply physics to the entity intersected 2017-08-12 16:59:28 +12:00
David Rowe
c281d5f94b Highlight and color single entities with Color tool 2017-08-12 15:46:53 +12:00
David Rowe
541402b559 Distinguish properly between intersected and root entities 2017-08-12 14:56:22 +12:00
David Rowe
2bf0ea1dff Fix display artifact that occurs when overlay dimension is 0 2017-08-11 22:31:04 +12:00
David Rowe
a96d9ab85b Apply physics toggle button values 2017-08-11 22:11:34 +12:00
David Rowe
ee225e6a8d Implement toggle buttons 2017-08-11 18:23:20 +12:00
David Rowe
c82a4d6d56 Layout mockup of Physics options 2017-08-11 13:15:07 +12:00
David Rowe
0b063926b6 Move image slider to Color options 2017-08-11 11:41:33 +12:00
David Rowe
c34344161e Improve App object handling 2017-08-11 10:09:52 +12:00
David Rowe
37f57852da Set hand highlight sphere size from grab radius 2017-08-11 09:56:47 +12:00
David Rowe
6d61c188f8 Tighten up grabbing created entity 2017-08-10 21:22:11 +12:00
David Rowe
20c7e17fb6 Tidy up logging 2017-08-10 21:13:40 +12:00
David Rowe
b58cac1c56 Tidying 2017-08-10 17:28:43 +12:00
David Rowe
4b3f7d6614 Reorient Tools menu and slightly adjust Create palette position 2017-08-10 16:46:39 +12:00
David Rowe
a6af6e0bff Add extra color swatches for user tests 2017-08-10 16:27:19 +12:00
David Rowe
594d144210 Finesse sliders to produce values that fully got to 0.0 and 1.0 2017-08-10 15:45:05 +12:00
David Rowe
9442a667b4 Raise sliders on hover 2017-08-10 15:32:48 +12:00
David Rowe
cc64644946 Don't press sliders down when click on them 2017-08-10 15:02:19 +12:00
David Rowe
e1adb3a20e Add image slider (for H, S, V or similar values) 2017-08-10 12:44:30 +12:00
David Rowe
397527d3f3 Add image UI element 2017-08-10 10:23:13 +12:00
David Rowe
1aeaee8153 Rename slider to barSlider 2017-08-10 09:04:28 +12:00
David Rowe
1c2d3ced89 Add some further entities to the Create palette 2017-08-09 17:28:28 +12:00
David Rowe
c19ec58220 Halve hand highlight and grab sphere radius 2017-08-09 15:51:37 +12:00
David Rowe
938b09c1a4 Slider display per intersection value 2017-08-09 15:19:25 +12:00
David Rowe
3d4cec63cd Calculate slider value from laser intersection 2017-08-09 14:36:17 +12:00
David Rowe
c79931106d Add basic element of slider 2017-08-09 12:06:35 +12:00
David Rowe
28f9f9e4d0 Add a "Physics" button and panel 2017-08-09 11:02:33 +12:00
David Rowe
22432671ca Fix newly created entity not being grabbed 2017-08-09 09:26:33 +12:00
David Rowe
046ce353fd Fix highlight overlay getting deleted 2017-08-08 21:56:01 +12:00
David Rowe
42284796a1 Remember swatch colors 2017-08-08 21:44:54 +12:00
David Rowe
0b8ea29193 Clear swatch with grip click 2017-08-08 20:37:41 +12:00
David Rowe
6621b43fae Make some swatches start with "no color"; color them when clicked 2017-08-08 16:34:45 +12:00
David Rowe
1231491a72 Add color picker 2017-08-07 17:29:58 +12:00
David Rowe
0f44e36128 Fix buttons sometimes staying pressed 2017-08-05 18:04:39 +12:00
David Rowe
4e87c13020 Tidy group buttons' enabling 2017-08-05 17:52:54 +12:00
David Rowe
bff3ad342d Tidy command and callback handling 2017-08-05 17:37:40 +12:00
David Rowe
e6456ca501 Tidy and fix options handling 2017-08-05 17:08:56 +12:00
David Rowe
23fab65f27 Tidying 2017-08-05 12:08:36 +12:00
David Rowe
24f36c1ae5 Default current color and remember current color over tool/app toggles 2017-08-05 12:07:33 +12:00
David Rowe
ceba5769e0 Apply color to entities when click them 2017-08-04 18:07:42 +12:00
David Rowe
75b481adab Update icon color as current color is changed 2017-08-04 17:52:53 +12:00
David Rowe
d0143c2c19 Add color swatch buttons and "current color" circle 2017-08-04 17:33:00 +12:00
David Rowe
ed497afdc3 Add "Color" tool button, icon, and empty options panel 2017-08-04 14:08:57 +12:00
David Rowe
2237290b2e Add labels to buttons 2017-08-04 13:22:48 +12:00
David Rowe
4d8226ac02 Abstract out some common constants missing from the API 2017-08-04 09:23:40 +12:00
David Rowe
110355796c Add delete tool 2017-08-04 08:55:43 +12:00
David Rowe
1ba658ee45 Implement grouping and ungrouping 2017-08-03 19:52:39 +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
37c1060080 Fix button highlighting and clicking 2017-08-03 11:06:51 +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
26a14d0934 Swap button and tool icon colours to match grouping highlights 2017-08-02 14:41:42 +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
12d911f290 Add "group" bool button and icon 2017-08-02 08:41:53 +12:00
David Rowe
ca7c747c96 Create entities at hand position rather than in front of avatar 2017-08-01 11:46:22 +12:00
David Rowe
59dc5ec3b8 Refactor tool buttons 2017-08-01 10:20:55 +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
18a9dad918 Add button for clone tool 2017-07-29 17:15:33 +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
30595c78a0 Fix button not unpressing when cursor moves off it 2017-07-29 14:51:58 +12:00
David Rowe
52a2538d73 Fix scale handles not displaying after delete entity 2017-07-29 14:41:58 +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
21c15120ba Raise Tool menu up a little to accommodate wooden mannequin's hand 2017-07-28 09:24:15 +12:00
David Rowe
01f37b53e9 Fix non-dominant hand ciursor dot showing when it shouldn't 2017-07-28 09:20:21 +12:00
David Rowe
86f33727eb Add prototype Create palette 2017-07-27 16:53:15 +12:00
David Rowe
e8c5e1c2d5 Make the button move down when pressed 2017-07-27 16:05:32 +12:00
David Rowe
3b111b85ef Move UI to hand 2017-07-27 15:56:42 +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
6203a1ad68 Wire up button to toggle scale-with-hands / scale-with-handles 2017-07-26 22:41:38 +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
52759be618 Don't transition laser length when start intersecting UI 2017-07-26 20:40:12 +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
194a82974b Make laser dot a minimum size commensurate with near laser beam width 2017-07-26 15:53:34 +12:00
David Rowe
bf69402219 Laser intersect but don't highlight non-editable entities 2017-07-26 15:31:54 +12:00
David Rowe
1f244fb487 Better way of handling grip click 2017-07-24 15:25: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
233655b76b Split script into multiple files 2017-07-22 11:20:17 +12:00