Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
3194 commits
Select commit Hold shift + click to select a range
35020cf
fix testing for mobile safari on iPhone
benptc May 26, 2023
32d6dd6
Added mention of van der Corput sequence to JSDoc for maximallyDiffer…
dangond-ptc May 30, 2023
a5ffc11
optimize for mobile browser remote operator
benptc May 31, 2023
88d3575
rename webkitWasTamperedWith
benptc May 31, 2023
cc9206b
properly cache floor position
benptc Jun 1, 2023
52ba47d
Merge pull request #476 from benptc/mobile-remote-operator
benptc Jun 1, 2023
3ed1dfd
Somewhat hacky fix for live poses not keeping last active analytics' …
dangond-ptc Jun 1, 2023
492876e
adds swift api to getManagerBaseURL programmatically
benptc Jun 1, 2023
932cb11
Merge pull request #477 from ptcrealitylab/defaultAnalyticsLensUpdate
dangond-ptc Jun 2, 2023
01f2834
Sends live poses to the default analytics session instead of the acti…
dangond-ptc Jun 6, 2023
dae1d63
Made analytics settings panels different for default and recorded (to…
dangond-ptc Jun 6, 2023
f10399d
Use class instead of adding redundant id for hpa-settings-title
dangond-ptc Jun 6, 2023
fe53931
Removed syncing of lenses between live analytics and tool-based analy…
dangond-ptc Jun 7, 2023
b92f025
Live analytics menu can now be open alongside tool-based analytics menus
dangond-ptc Jun 7, 2023
cc0b036
Merge pull request #480 from ptcrealitylab/livePosesToDefaultAnalytics
dangond-ptc Jun 7, 2023
7485a84
Merge pull request #478 from benptc/custom-manager-url-support
benptc Jun 9, 2023
52d5052
Improve support for region cards with no poses
hobinjk-ptc Apr 28, 2023
7e02ec4
Improve empty regioncard start and end times
hobinjk-ptc Apr 28, 2023
e21be30
Gracefully handle missing start/end times
hobinjk-ptc Apr 28, 2023
b8323c5
Assign accent color to region cards; Draw region cards on timeline
hobinjk-ptc Jun 9, 2023
88bfd24
Move region card accent color to dot; add border when shown
hobinjk-ptc Jun 12, 2023
108f97f
Add play/pause control to timeline
hobinjk-ptc Jun 12, 2023
6a55e23
adds modeTransition.js to initialize and load in the remote operator …
benptc Jun 14, 2023
f506aaa
add transition percentage to remote operator activation
benptc Jun 14, 2023
72209c7
Fix relative paths of pause/play icons
hobinjk-ptc Jun 14, 2023
41919ee
Upgrade eslint
hobinjk-ptc Jun 14, 2023
22e7a36
Bump eslint from 8.42.0 to 8.43.0
dependabot[bot] Jun 19, 2023
520ff47
invert remop dependencies for fade effect; add deviceNode to sceneGraph
benptc Jun 21, 2023
a273ae4
adds pinch gesture to trigger AR/VR mode
benptc Jun 21, 2023
06ecb05
small updates to deviceNode and pinch gesture
benptc Jun 22, 2023
bc93cb1
add second overlayDiv for second finger
benptc Jun 22, 2023
3250505
fix projection matrix when switching from AR to VR mode
benptc Jun 26, 2023
e7f88bf
Add cursor: pointer to buttons
hobinjk-ptc Jun 26, 2023
1bd35b3
adds setFull2D API for embedded tools to use to remove their touch ov…
benptc Jun 26, 2023
3721691
cleanup changes
benptc Jun 26, 2023
181dddb
further cleanup modeTransition.js
benptc Jun 26, 2023
8d958f1
cleanup PinchGestureRecognizer
benptc Jun 26, 2023
18c95af
fix linting issues
benptc Jun 26, 2023
e6905fc
Merge pull request #487 from benptc/remop-mode
benptc Jun 26, 2023
629941c
Squashed: Vite builds
hobinjk-ptc Jun 14, 2023
e36c568
Bump eslint from 8.43.0 to 8.44.0
dependabot[bot] Jul 3, 2023
dfc8e7c
Bump vite from 4.3.9 to 4.4.2
dependabot[bot] Jul 7, 2023
c3cc648
Bump vite from 4.4.2 to 4.4.3
dependabot[bot] Jul 12, 2023
9e0c6bb
adjust spatial cursor when drag-and-drop-files; add nodeAdded listene…
benptc Jul 13, 2023
1a01371
Bump vite from 4.4.3 to 4.4.4
dependabot[bot] Jul 14, 2023
96a0f3c
Bump eslint from 8.44.0 to 8.45.0
dependabot[bot] Jul 17, 2023
aa1b673
cleanup drag-and-drop-files
benptc Jul 17, 2023
bcf0c32
refactor screen top notifications
benptc Jul 17, 2023
4bec776
Merge pull request #494 from ptcrealitylab/drag-and-drop-files
benptc Jul 17, 2023
81f045b
OAuth functionality and swap to localhost to enable OAuth flows
dangond-ptc Jun 26, 2023
3128d2c
Bugfix with refresh tokens
dangond-ptc Jun 26, 2023
ae51a92
set pointerevents:none on tool iframes to fix chrome bug with dragove…
benptc Jul 17, 2023
b3a91d0
normalize iframe matrix3d to fix drag-and-drop chrome bug; revert pre…
benptc Jul 19, 2023
c2502ca
Trigger patch cloning on region card creation
hobinjk-ptc Apr 28, 2023
77d37fa
Draw patches based on timeline state
hobinjk-ptc Apr 28, 2023
b210481
Reset patch visibility on analytics timeline hide
hobinjk-ptc Apr 28, 2023
26c13aa
Hide cloned patches after brief delay
hobinjk-ptc May 1, 2023
c128ff1
Remove unused spatialInterface analytics methods
hobinjk-ptc Jun 26, 2023
1413164
Close analytics when tool deleted
hobinjk-ptc Jun 27, 2023
d805183
Adjust patch showing/hiding; Decrease patch width on timeline
hobinjk-ptc Jul 12, 2023
1798b03
Clean up logic of analytics frame messages
hobinjk-ptc Jul 12, 2023
8704c0b
Manage patch visibility within analytics intelligently
hobinjk-ptc Jul 18, 2023
e682f22
Allow creating region cards from live poses
hobinjk-ptc Jul 18, 2023
9329a2b
Merge pull request #496 from ptcrealitylab/fix-drag-and-drop-localhost
benptc Jul 20, 2023
ef792d5
pass parent location into tool iframes, for toolsocket to work on ext…
benptc Jul 24, 2023
fe6eb7d
Merge pull request #498 from ptcrealitylab/pass-parent-location-into-…
benptc Jul 24, 2023
98cb058
Removed secrets from client side
dangond-ptc Jul 25, 2023
5a4cdb8
Allow missing bestWorldObject
hobinjk-ptc Jul 26, 2023
8711f2a
load rvl earlier and add error handling around the initService calls …
benptc Jul 26, 2023
8a48c3d
use alert for initError if screenTopNotification is unavailable
benptc Jul 27, 2023
0c35f78
Merge pull request #502 from ptcrealitylab/guard-init-errors
benptc Jul 27, 2023
0ee8339
Cleaned up logging
dangond-ptc Jul 28, 2023
ab58adc
Merge branch 'master' into logCleanup
dangond-ptc Jul 28, 2023
30e41a8
Cleaned up logs
dangond-ptc Jul 28, 2023
c20ab19
Fix eslint issues
dangond-ptc Jul 28, 2023
d51f4c1
Removed unnecessary second loop through all objects
dangond-ptc Jul 28, 2023
f184cef
Improved error handling and re-styled authentication redirect page to…
dangond-ptc Jul 28, 2023
be26ba3
Merge branch 'master' into secretSupport
dangond-ptc Jul 28, 2023
74085f6
Added support for toolboxedge based OAuth redirects
dangond-ptc Jul 28, 2023
6f3d0e1
Added matrix listeners & events in userInterface
Steve-KX-RL Jul 30, 2023
8a9a416
addPostMessageHandler('getSpatialCursorEvent')
Steve-KX-RL Jul 31, 2023
8dfed86
delete unused event data from postEventInfoIframe()
Steve-KX-RL Jul 31, 2023
8b671c0
Merge pull request #503 from ptcrealitylab/logCleanup
dangond-ptc Aug 2, 2023
5ca9044
code clean up
Steve-KX-RL Aug 7, 2023
958e89d
code clean up
Steve-KX-RL Aug 7, 2023
b47c7b6
Merge remote-tracking branch 'origin/master' into Added-matrix-listen…
Steve-KX-RL Aug 7, 2023
766221d
node.js cli code clean up
Steve-KX-RL Aug 7, 2023
ef69207
Update upon code reviews
Steve-KX-RL Aug 8, 2023
3ea0684
Bump eslint from 8.45.0 to 8.46.0
dependabot[bot] Jul 31, 2023
1cc9bfa
Bump vite from 4.4.4 to 4.4.9
dependabot[bot] Aug 9, 2023
53b4197
Merge pull request #507 from ptcrealitylab/Added-matrix-listeners-&-e…
Steve-KX-RL Aug 9, 2023
103d41e
Bump eslint from 8.46.0 to 8.47.0
dependabot[bot] Aug 14, 2023
73bf938
updated onLoadOcclusionObject for avatars and changed network to dire…
ktheo-ptc Aug 14, 2023
42dedf6
Update toolsocket
hobinjk-ptc Aug 9, 2023
8e3f50a
Remove unnecessary toolsocket package files
hobinjk-ptc Aug 15, 2023
4a046de
add callbacks to videoPlayback so desktopCamera can subscribe to tool…
benptc Aug 7, 2023
6564c51
updates videoPlayback.js for updated cameraFollowCoordinator in remot…
benptc Aug 8, 2023
b163fae
adds camera mesh group to video playback
benptc Aug 10, 2023
c1ae95b
rename CameraFollowTarget.js -> Followable.js, and split CameraFollow…
benptc Aug 16, 2023
fb76a9a
cleanup/document Followable and videoPlayback
benptc Aug 16, 2023
8485212
comment added
ktheo-ptc Aug 21, 2023
8a4d9e0
fix video jittering while following
benptc Aug 22, 2023
5fe4e1a
Merge pull request #513 from benptc/follow-video
benptc Aug 24, 2023
5825405
Merge pull request #514 from ptcrealitylab/avatar-sync-update
benptc Aug 24, 2023
f0a6097
Started expending body pose data types with hand 'joints'.
ptc-mklaudiny Jul 28, 2023
62ed43f
Changed human pose visualisation so hand and head joints have smaller…
ptc-mklaudiny Aug 11, 2023
6aa7bf1
Colored all new bones between head joints with neck reba score.
ptc-mklaudiny Aug 11, 2023
6918ac3
Added REBA score calculation for wrists.
ptc-mklaudiny Aug 17, 2023
c78cfa9
Added general switch for displaying hands and showing wrist reba.
ptc-mklaudiny Aug 23, 2023
e463fd8
Decided to remove poses.js script. Its remaining debug visualisation …
ptc-mklaudiny Aug 24, 2023
36d3a64
Cleaned minor issues.
ptc-mklaudiny Aug 24, 2023
adc64f6
Commented unused vars.
ptc-mklaudiny Aug 24, 2023
49f0333
Human tracking hand pose fix (#516)
ptc-mklaudiny Aug 25, 2023
978ed83
increase renderOrder of spatial cursors so they dont z-fight with 2d …
benptc Aug 25, 2023
4d535ab
Bump ecmascript version
hobinjk-ptc Aug 28, 2023
bc7c84e
Bump es version correctly
hobinjk-ptc Aug 28, 2023
94f1b37
Bump eslint from 8.47.0 to 8.48.0
dependabot[bot] Aug 28, 2023
a082ee4
Merge pull request #517 from benptc/fix-render-order-spatial-cursor
benptc Aug 29, 2023
e5b257d
Spatial cursor shaders, AreaTarget mesh shaders, UI update
Steve-KX-RL Aug 30, 2023
a677c3b
Merge remote-tracking branch 'origin/master' into Added-spatial-curso…
Steve-KX-RL Aug 30, 2023
3381c03
Node CLI code correct format
Steve-KX-RL Aug 30, 2023
145b7d9
Node CLI code correct format
Steve-KX-RL Aug 30, 2023
d5c6561
Adds ProfilerSettingsUI and profiling.js
benptc Sep 8, 2023
ac07f91
various cleanups for profiling; adds new logMessage and countMessage …
benptc Sep 8, 2023
fabd021
cleanup APIs and remove duplicate CSS
benptc Sep 13, 2023
e992d07
cleanup and add profiling about cameraUpdates
benptc Sep 13, 2023
d2d59d7
cleanup commented code
benptc Sep 13, 2023
d636808
dont download all icon.gif files if UI is overridden (e.g. with pop-u…
benptc Sep 14, 2023
120ffbb
implements new sendCoordinateSystems API and adds a few optimizations
benptc Sep 14, 2023
1d2e554
remove outdated documentation
benptc Sep 14, 2023
7defd39
Merge pull request #521 from benptc/profiling-ui-simplified
benptc Sep 15, 2023
f50ee4b
Bump eslint from 8.48.0 to 8.49.0
dependabot[bot] Sep 11, 2023
3a5cedf
Bump ecmascript version
hobinjk-ptc Sep 18, 2023
0062354
Save and restore bindVertexArray calls
hobinjk-ptc Sep 18, 2023
2b90360
Warn on missing texture bind
hobinjk-ptc Sep 18, 2023
ef366dd
Merge branch 'master' into secretSupport
dangond-ptc Sep 19, 2023
9a3d28b
renaming variables for clarity
dangond-ptc Sep 19, 2023
28c7c76
Merge pull request #522 from benptc/skip-downloading-icons
benptc Sep 19, 2023
8e4e5e3
Merge pull request #523 from benptc/new-matrix-apis
benptc Sep 19, 2023
db84128
Toolbox Edge url fix
dangond-ptc Sep 19, 2023
bd41cda
hide other tools and icons when a full2d tool is open (when the backg…
benptc Sep 20, 2023
7906b41
make hidden tools and icons show with more reliable querySelector
benptc Sep 20, 2023
2322280
Merge pull request #525 from benptc/hide-other-tools-while-full2d-open
benptc Sep 20, 2023
5744d90
Bump eslint from 8.49.0 to 8.50.0
dependabot[bot] Sep 25, 2023
c71219c
hides tools with visibility:hidden instead of display:none while a fu…
benptc Sep 28, 2023
3adf5b0
improve documentation of full2D updates
benptc Sep 28, 2023
86a032a
cleanup the logic for hiding things behind the blurred background
benptc Sep 28, 2023
b7f2aa3
fix typo
benptc Sep 28, 2023
cd14493
Merge pull request #527 from benptc/improved-hidden-blur
benptc Sep 28, 2023
a4d2b6e
Properly creates redirect url for oauth callbacks
dangond-ptc Oct 2, 2023
ce944ce
Always refresh access token on tool request, onshape was removing acc…
dangond-ptc Oct 2, 2023
3627d65
Merge branch 'master' into secretSupport
dangond-ptc Oct 2, 2023
4195cab
Factored out and improved toolboxedge detection
dangond-ptc Oct 3, 2023
daee2d2
Merge pull request #500 from ptcrealitylab/secretSupport
dangond-ptc Oct 3, 2023
8ea98ed
Bump vite from 4.4.9 to 4.4.10
dependabot[bot] Oct 4, 2023
0873c6f
Bump postcss from 8.4.27 to 8.4.31
dependabot[bot] Oct 4, 2023
9abe9f9
Bump vite from 4.4.10 to 4.4.11
dependabot[bot] Oct 5, 2023
b99e18b
Added new version of human joint set with detailed hands.
ptc-mklaudiny Oct 6, 2023
fe59ed8
Bump eslint from 8.50.0 to 8.51.0
dependabot[bot] Oct 9, 2023
5c75b6c
spatial snapshot is partially working on mobile/AR devices, in a clun…
benptc Sep 29, 2023
dc892fb
refactor SpatialPatchCoordinator out of the remote-operator-addon
benptc Oct 3, 2023
208351a
not quite working alignment of spatial patches taken on remote operat…
benptc Oct 4, 2023
ba017ca
cleanup and use flat shader for snapshots as a debugging step
benptc Oct 6, 2023
78eab42
first truly working version - snapshots can be taken on mobile device…
benptc Oct 6, 2023
632d7a7
cleanup spatial snapshot, and post the texture into the frame that re…
benptc Oct 6, 2023
283a93b
fixes spatial snapshots to appear on iOS as well as in remote operato…
benptc Oct 9, 2023
e93325e
cleanup spatial patch + shader code. update to new API names, get spa…
benptc Oct 10, 2023
3b99f9e
Fixes live analytics menu from being offscreen due to session menu no…
dangond-ptc Oct 12, 2023
26f04fc
Merge pull request #534 from ptcrealitylab/liveAnalyticsOffscreenFix
dangond-ptc Oct 12, 2023
c69ebd5
Loosen comparison of target ip if one ip is localhost
hobinjk-ptc Oct 3, 2023
00886b2
ToolSocket.Io.connect reuses underlying object
hobinjk-ptc Oct 12, 2023
d738ba0
remove unnecessary script tags; remove unused namespace placeholder o…
benptc Oct 12, 2023
2d6450f
update envelope to require focus in order to accept nested tools, so …
benptc Oct 12, 2023
61697a8
Path finding & cloth simulation support, various bug fixes
Steve-KX-RL Oct 12, 2023
2cece8d
Node CLI code clean-up
Steve-KX-RL Oct 12, 2023
23e4961
Node CLI code clean-up 2
Steve-KX-RL Oct 12, 2023
dd8c7e3
Adjust map settings UI css
Steve-KX-RL Oct 12, 2023
8c63320
Merge remote-tracking branch 'origin/master' into Added-spatial-curso…
Steve-KX-RL Oct 12, 2023
edea2ee
Updated Reba score calculation for wrists using full hand skeletons.
ptc-mklaudiny Oct 13, 2023
ca0e649
Merge pull request #533 from benptc/spatial-snapshot-mobile
benptc Oct 13, 2023
b76d014
basic Value Add/Waste Time functionality for analytics
dangond-ptc Oct 13, 2023
81b14d0
Minor bug fixes
Steve-KX-RL Oct 16, 2023
1628493
Merge remote-tracking branch 'origin/master' into Added-spatial-curso…
Steve-KX-RL Oct 16, 2023
3e895d8
Temporarily disable cloth simulation on mobile app
Steve-KX-RL Oct 16, 2023
9ea74d3
Fixes live analytics menu from being offscreen due to session menu no…
dangond-ptc Oct 12, 2023
7134e2c
Fixed backwards compatibility with older data with smaller joint sets…
ptc-mklaudiny Oct 17, 2023
2735bd6
Nicer buttons in region card menu
dangond-ptc Oct 17, 2023
dd2eee6
More intuitive to drag on timeline, can grab any row to select a region
dangond-ptc Oct 17, 2023
c8cb84c
Added subset functionality to Timeline
dangond-ptc Oct 17, 2023
fb7988b
Added duration property to regions
dangond-ptc Oct 17, 2023
29ce015
Display value add waste time percentages for steps in region cards
dangond-ptc Oct 17, 2023
5b72d72
Update toolsocket
hobinjk-ptc Oct 17, 2023
f86697f
Caught edge case for tooltips not updating value add waste time details
dangond-ptc Oct 17, 2023
f909fe6
Bump vite from 4.4.11 to 4.5.0
dependabot[bot] Oct 18, 2023
af4c80c
Changed 3d skeleton visualisation so that hand and face bones are thi…
ptc-mklaudiny Oct 18, 2023
577652b
Fixes OAuth redirecting to new scan page on mobile, now redirects to …
dangond-ptc Oct 19, 2023
f270677
Bugfix, did not pass window.location to function
dangond-ptc Oct 19, 2023
4e7b7aa
Was using the wrong port to check local server
dangond-ptc Oct 19, 2023
69ced75
Bump eslint from 8.51.0 to 8.52.0
dependabot[bot] Oct 23, 2023
ad56891
Merge pull request #538 from ptcrealitylab/oauthLocalNewScanFix
dangond-ptc Oct 23, 2023
d7e15b2
Code clean up & a little performance boost
Steve-KX-RL Oct 24, 2023
d191281
Merge remote-tracking branch 'origin/master' into Added-spatial-curso…
Steve-KX-RL Oct 24, 2023
30c7234
Node CLI code cleanup
Steve-KX-RL Oct 24, 2023
fac7ad7
Merge pull request #519 from ptcrealitylab/Added-spatial-cursor-and-a…
Steve-KX-RL Oct 27, 2023
10d035a
first attempt at rendering your own avatar pointer line
benptc Oct 27, 2023
3b5ef9e
Merge branch 'master' into render-my-avatar-pointers
benptc Oct 27, 2023
dbd85ec
update my laser beam to render to correct screenxy
benptc Oct 27, 2023
ccd43ad
Fixed render my avatar no endWorldPoint bug
Steve-KX-RL Oct 31, 2023
565fd04
Fixed laser pointer misalignment when outside area target mesh
Steve-KX-RL Oct 31, 2023
1902169
Lens support for Value Add and Waste Time
dangond-ptc Oct 31, 2023
d0d6138
Merge master
dangond-ptc Oct 31, 2023
e9955c5
allows multiple lines from avatars to be drawn to the screen at once …
benptc Oct 31, 2023
f22b4b3
fix width of line drawn from your own avatar pointer
benptc Oct 31, 2023
c7a3473
Merge pull request #541 from ptcrealitylab/render-my-avatar-pointers
benptc Oct 31, 2023
0925c73
fix the restoration of the virtualizer visibility after you press P t…
benptc Nov 1, 2023
54f8f9f
Merge pull request #542 from ptcrealitylab/fix-camera-visibility-afte…
Steve-KX-RL Nov 2, 2023
2aecd51
Bump eslint from 8.52.0 to 8.53.0
dependabot[bot] Nov 6, 2023
9d069ba
Allow culling multiple untextured meshes
hobinjk-ptc Nov 6, 2023
bd01ff9
Reenable fancy AT material shader on desktop without frustum culling
hobinjk-ptc Nov 6, 2023
da83edd
Fix off-by-one error in material animation
hobinjk-ptc Nov 6, 2023
118e218
Merge master
dangond-ptc Nov 7, 2023
370acba
Merge pull request #535 from ptcrealitylab/analyticsValueAddWasteTime
dangond-ptc Nov 7, 2023
829bbcc
Move timeline lower for very short screens
hobinjk-ptc Nov 9, 2023
5bd2416
Make "Error initializing" popup last much longer
hobinjk-ptc Nov 9, 2023
e6f408e
Merge branch 'master' into human_tracking_full_hands_tracking
ptc-mklaudiny Nov 10, 2023
a943cf6
Fixed compatibility with previously recorded human pose data.
ptc-mklaudiny Nov 10, 2023
66e85f7
Added more naming explanations.
ptc-mklaudiny Nov 13, 2023
dc93570
Merge pull request #546 from ptcrealitylab/human_tracking_full_hands_…
ptc-mklaudiny Nov 14, 2023
de1426e
Update cloth simulation wrapping & collision method
Steve-KX-RL Nov 14, 2023
604c7f4
Add button to parse and use step labels during analytics recording
hobinjk-ptc Sep 5, 2023
fa715a6
Adjust opacities
hobinjk-ptc Sep 20, 2023
1c26ec8
Show 2d analytics ui on mobile
hobinjk-ptc Sep 20, 2023
c436348
Adjust step label positioning
hobinjk-ptc Nov 13, 2023
a508221
Move export csv and upload step file into region cards container
hobinjk-ptc Nov 14, 2023
eb168ea
Fix analytics z-index relative to pop-up addon ui
hobinjk-ptc Nov 14, 2023
184b490
Use newly added space for region cards container
hobinjk-ptc Nov 14, 2023
040a53f
Update display of various analytics items
hobinjk-ptc Nov 14, 2023
bd20803
Hide timeline on mobile
hobinjk-ptc Nov 14, 2023
6853802
Fix off-by-one error in step label
hobinjk-ptc Nov 14, 2023
bb30531
Renamed analytics to motionStudy to work around adblockers
dangond-ptc Nov 17, 2023
100f491
Bump eslint from 8.53.0 to 8.54.0
dependabot[bot] Nov 20, 2023
50f084b
Merge pull request #549 from ptcrealitylab/analyticsRename
dangond-ptc Dec 4, 2023
25ecf62
fix billboarding to not rotate as you approach vertical viewing angle
benptc Dec 4, 2023
16c2681
better document getFinalMatrixScreenZ
benptc Dec 4, 2023
3cbfb07
Bump eslint from 8.54.0 to 8.55.0
dependabot[bot] Dec 4, 2023
3453549
Bump vite from 4.5.0 to 5.0.5
dependabot[bot] Dec 4, 2023
63032f9
Bump vitest and @vitest/coverage-v8
dependabot[bot] Dec 5, 2023
6665a81
Merge pull request #557 from benptc/improved-billboarding
benptc Dec 5, 2023
2c007ca
Set geometry from depth in SpatialPatch
hobinjk-ptc Nov 13, 2023
877a336
Add patches to cursor raycast list
hobinjk-ptc Nov 13, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
15 changes: 15 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# EditorConfig is awesome: http://EditorConfig.org
root = true

[*]
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = false

[*.{js,css,html}]
indent_style = space
indent_size = 4

[{.*,package.json,.travis.yml}]
indent_style = space
indent_size = 2
7 changes: 7 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
thirdPartyCode/
frames/resources/
frames/pushMe.hyperesources/
frames/objectDefaultFiles/pep.min.js
docs/
dist/
.eslintrc.js
99 changes: 99 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
module.exports = {
"env": {
"browser": true,
"es2020": true
},
"extends": "eslint:recommended",
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly",
"Stats": "readonly",

"Block": "writable",
"BlockLink": "writable",
"CRAFTING_GRID_HEIGHT": "writable",
"CRAFTING_GRID_WIDTH": "writable",
"DEBUG_DATACRAFTING": "writable",
"Frame": "writable",
"Logic": "writable",
"LogicGUIState": "writable",
"Objects": "writable",
"SEA3D": "writable",
"TEMP_DISABLE_MEMORIES": "writable",
"THREE": "writable",
"ToolSocket": "writable",
"TWEEN": "writable",
"WebKitPoint": "writable",
"acceptUDPBeats": "writable",
"boundListeners": "writable",
"cc": "writable",
"cout": "writable",
"createNameSpace": "writable",
"d3": "writable",
"editingAnimationsMatrix": "writable",
"globalCanvas": "writable",
"globalDOMCache": "writable",
"globalProgram": "writable",
"globalFrameScaleAdjustment": "writable",
"globalNodeScaleAdjustment": "writable",
"globalStates": "writable",
"httpPort": "writable",
"defaultHttpPort": "writable",
"hull": "writable",
"io": "writable",
"objects": "writable",
"overlayDiv": "writable",
"overlayDiv2": "writable",
"p5": "writable",
"pocketBegin": "writable",
"pocketDropAnimation": "writable",
"pocketFrame": "writable",
"pocketItem": "writable",
"pocketItemId": "writable",
"pocketNode": "writable",
"publicDataCache": "writable",
"realityEditor": "writable",
"realityElements": "writable",
"rotateX": "writable",
"rotationXMatrix": "writable",
"rr": "writable",
"shadowObjects": "writable",
"targetDownloadStates": "writable",
"timeCorrection": "writable",
"timeForContentLoaded": "writable",
"visibleObjectTapDelay": "writable",
"visibleObjectTapInterval": "writable",
"webkitConvertPointFromPageToNode": "writable",
},
"parserOptions": {
"ecmaVersion": 2022,
"sourceType": "module",
},
"rules": {
"no-prototype-builtins": "off",
"no-redeclare": [
"error",
{"builtinGlobals": false}
],
"no-unused-vars": [
"error",
{
"varsIgnorePattern": "^_",
"argsIgnorePattern": "^_",
},
],
"no-inner-declarations": "off",
},
"overrides": [{
"files": [
"src/constructors.js",
"src/device/utilities.js",
"src/objects.js",
"src/states.js",
],
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "script"
}
}]
};
8 changes: 8 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
version: 2
updates:
- package-ecosystem: npm
directory: "/"
schedule:
interval: daily
time: "10:00"
open-pull-requests-limit: 10
24 changes: 24 additions & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Node.js CI

on: [push]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [16.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm run build --if-present
- run: npm test
env:
CI: true
14 changes: 13 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# idea editing tools
.idea
.editorconfig

# osx directory files
.DS_Store
.DS_Store

# documentation can be regenerated by running "bash generate_docs.sh"
docs/

node_modules/

*.swp

dist/

coverage/
76 changes: 76 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
# Contributor Covenant Code of Conduct

## Our Pledge

In the interest of fostering an open and welcoming environment, we as
contributors and maintainers pledge to making participation in our project and
our community a harassment-free experience for everyone, regardless of age, body
size, disability, ethnicity, sex characteristics, gender identity and expression,
level of experience, education, socio-economic status, nationality, personal
appearance, race, religion, or sexual identity and orientation.

## Our Standards

Examples of behavior that contributes to creating a positive environment
include:

* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members

Examples of unacceptable behavior by participants include:

* The use of sexualized language or imagery and unwelcome sexual attention or
advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic
address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting

## Our Responsibilities

Project maintainers are responsible for clarifying the standards of acceptable
behavior and are expected to take appropriate and fair corrective action in
response to any instances of unacceptable behavior.

Project maintainers have the right and responsibility to remove, edit, or
reject comments, commits, code, wiki edits, issues, and other contributions
that are not aligned to this Code of Conduct, or to ban temporarily or
permanently any contributor for other behaviors that they deem inappropriate,
threatening, offensive, or harmful.

## Scope

This Code of Conduct applies both within project spaces and in public spaces
when an individual is representing the project or its community. Examples of
representing a project or community include using an official project e-mail
address, posting via an official social media account, or acting as an appointed
representative at an online or offline event. Representation of a project may be
further defined and clarified by project maintainers.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported by contacting the project team at realityLab@ptc.com. All
complaints will be reviewed and investigated and will result in a response that
is deemed necessary and appropriate to the circumstances. The project team is
obligated to maintain confidentiality with regard to the reporter of an incident.
Further details of specific enforcement policies may be posted separately.

Project maintainers who do not follow or enforce the Code of Conduct in good
faith may face temporary or permanent repercussions as determined by other
members of the project's leadership.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html

[homepage]: https://www.contributor-covenant.org

For answers to common questions about this code of conduct, see
https://www.contributor-covenant.org/faq
42 changes: 42 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
## How To Contribute

Thank you for your interest! We love all community contributions. They are
great ways to suggest new features, call attention to bugs, or see your work
come to life! There are a couple different ways to contribute:

### Talking in the Forum

The best place to go for all things Spatial Toolbox is our [forum at
forum.spatialtoolbox.vuforia.com](https://forum.spatialtoolbox.vuforia.com/).
There you can ask open-ended questions and discuss feature ideas without
commiting to filing a GitHub issue.

### Bugs and Features

If you do want to make an official tracked report or request, check out the
Issues list linked to in this repository's GitHub page. It's possible that
someone has already had the same idea or same problem.

If it's a new bug then please provide as much information as possible. First,
provide a description of the problem, e.g. "the tools on screen disappear after
pressing the pocket button." This includes the platforms and versions involved,
e.g. Spatial Toolbox 1.3.0 on an iPhone 10 talking to a Spatial Edge Server
running on Node 12 on Ubuntu 18.04. Next, any steps to reproduce the bug would
be wonderful. For example, "this happened most often when I created three
tools, restarted the server, then pressed the pocket button in my app."

If it's a new feature just let us know why it's the best and greatest feature
in the world. Maybe you'll convince a wandering contributor to submit a pull
request!

### Pull Requests

Submitting pull requests is a great way to contribute! For more information
about pull requests, check out [GitHub's
documentation](https://docs.github.com/en/free-pro-team@latest/github/collaborating-with-issues-and-pull-requests/about-pull-requests).

It helps out your pull request if you make sure that your code is easy to read
and understand. One test we use for this is running eslint, a style checker for
JavaScript. You can either run [eslint
locally](https://eslint.org/docs/user-guide/command-line-interface) or check
out its results on the pull request itself.
Loading