Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2969 commits
Select commit Hold shift + click to select a range
11cf237
toolbox desktop and mobile flags used to display UI for correct device
ktheo-ptc Apr 12, 2023
262841c
merge main with feature
ktheo-ptc Apr 12, 2023
ad86295
render the tool iframes on top of the glcanvas, so the fullscreen cha…
benptc Apr 12, 2023
848f34e
ru-container desktop styles updated
ktheo-ptc Apr 12, 2023
a225a36
Merge pull request #411 from benptc/z-index-reorder
benptc Apr 12, 2023
8ae4926
desktop layout updated
ktheo-ptc Apr 13, 2023
550d99f
Merge branch 'master' into ru-tools-ui-update
ktheo-ptc Apr 13, 2023
e491868
fixed bug where close and minimize buttons disappeared behind chat modal
ktheo-ptc Apr 14, 2023
2e8bb47
commented out scale transform in envelopeMenuButton:hover to fix butt…
ktheo-ptc Apr 14, 2023
6f95f10
Updated addToolAtScreenCenter() to work with the new off-center camer…
Steve-KX-RL Apr 14, 2023
0ff9205
Merge pull request #410 from ptcrealitylab/ru-tools-ui-update
ktheo-ptc Apr 14, 2023
9b14e40
change default tool scale from 0.5 to 1.0
benptc Apr 17, 2023
5adb0d7
closing envelope only closes the focused envelope, not all non-focuse…
benptc Apr 17, 2023
f03346e
hide X button if no focused envelopes; cleanup updateExitButton function
benptc Apr 17, 2023
21921d3
Refactor out HumanPoseAnalyzer; Add support for multiple HPAs
hobinjk-ptc Apr 14, 2023
008d321
Add support for new analytics envelope events
hobinjk-ptc Apr 14, 2023
77fbc08
Fix issue where history line hiding would exit early
hobinjk-ptc Apr 14, 2023
72219f7
Clear up unused variable
hobinjk-ptc Apr 14, 2023
9859d1d
Improve logic around focus/blur/close
hobinjk-ptc Apr 14, 2023
056adff
Cache poseRenderInstances on a per-HPA basis
hobinjk-ptc Apr 17, 2023
a44aac6
Adjust csv link positioning for minimize button
hobinjk-ptc Apr 17, 2023
a10d232
Remove unused tracking variable
hobinjk-ptc Apr 17, 2023
37ca51e
Properly reset poseRenderInstances
hobinjk-ptc Apr 17, 2023
fb98406
Remove draw's poseRenderInstance tracker
hobinjk-ptc Apr 17, 2023
ab1d927
Merge pull request #413 from benptc/ben-burckhardt-edits
benptc Apr 17, 2023
95e4113
Encapsulate childHumanPosesVisible
hobinjk-ptc Apr 18, 2023
a353502
Add basic vehicleDeleted handling to RecentlyUsedBar
hobinjk-ptc Apr 18, 2023
ce281bf
fix refactored updateExitButton function
benptc Apr 18, 2023
7d5bee4
Merge branch 'master' into fix-env-buttons
benptc Apr 18, 2023
deed80c
Merge pull request #417 from benptc/fix-env-buttons
benptc Apr 18, 2023
b8c034d
properly update material numFrustums uniform when a frustum is removed
benptc Apr 18, 2023
de53671
Merge pull request #418 from benptc/disable-frustum-cutout
benptc Apr 19, 2023
6a51768
adds canvas to recentlyUsedBar that draws lines from icons to their t…
benptc Apr 19, 2023
1fcf898
Refactor out HumanPoseAnalyzer; Add support for multiple HPAs
hobinjk-ptc Apr 14, 2023
b69802b
Add support for new analytics envelope events
hobinjk-ptc Apr 14, 2023
67982da
Fix issue where history line hiding would exit early
hobinjk-ptc Apr 14, 2023
3214043
Clear up unused variable
hobinjk-ptc Apr 14, 2023
6d19a53
Improve logic around focus/blur/close
hobinjk-ptc Apr 14, 2023
1af98f0
Cache poseRenderInstances on a per-HPA basis
hobinjk-ptc Apr 17, 2023
d67314a
Adjust csv link positioning for minimize button
hobinjk-ptc Apr 17, 2023
05d755f
Remove unused tracking variable
hobinjk-ptc Apr 17, 2023
1a7fd4b
Properly reset poseRenderInstances
hobinjk-ptc Apr 17, 2023
fdb3d82
Remove draw's poseRenderInstance tracker
hobinjk-ptc Apr 17, 2023
41a007b
Encapsulate childHumanPosesVisible
hobinjk-ptc Apr 18, 2023
21b9c2c
Swap around settings between global and local
hobinjk-ptc Apr 19, 2023
0e30f4f
add animation to line from icon to tool
benptc Apr 19, 2023
9b25b0d
cleanup recentlyUsed hover animation
benptc Apr 19, 2023
75c87b8
fix bug when recently used line goes left/up instead of right/down
benptc Apr 19, 2023
ab15223
adjust perceived animation speed by adding multiple layers that draw …
benptc Apr 19, 2023
9898265
adjust speed of line
benptc Apr 19, 2023
584d1f7
add pointer-events:none to ru-canvas (used to draw lines from icons t…
benptc Apr 20, 2023
4964787
swaps out the [-] minimize button with a [-><-] collapse button
benptc Apr 20, 2023
fd24f17
Merge pull request #420 from benptc/recently-used-lines
benptc Apr 20, 2023
6039082
only show minimize button if the active envelope is not a full2D enve…
benptc Apr 20, 2023
addba1e
Enable human tracking on opening spatialAnalytics tool
hobinjk-ptc Apr 18, 2023
82ff53e
Update AnalyticsMobile mock methods; Remove unused toggle function
hobinjk-ptc Apr 18, 2023
300545f
Merge pull request #421 from benptc/new-minimize-icon
benptc Apr 20, 2023
b50d28a
envelopes open in minimized state for others; recently used bar prope…
benptc Apr 20, 2023
4533812
Merge pull request #422 from benptc/open-minimized-for-others
benptc Apr 20, 2023
3611ccd
emphasize the minimized icons by coloring them green
benptc Apr 20, 2023
7459f62
further emphasize the green color of icons; refactor styles to css
benptc Apr 20, 2023
e568973
Ignore requests to reopen first icon in recently-used bar
hobinjk-ptc Apr 20, 2023
5ebe683
load new icon-foreground.svg instead of icon.gif
benptc Apr 20, 2023
ea7ff1a
minimized tool icons are black with animated color gradient and a whi…
benptc Apr 21, 2023
ef25782
Remove untextured "mesh_0" from gltf
hobinjk-ptc Apr 21, 2023
868ffde
Merge pull request #424 from benptc/emphasize-icons
benptc Apr 21, 2023
4be3a51
Merge pull request #412 from ptcrealitylab/Spatial-Cursor-addToolAtSc…
benptc Apr 21, 2023
ca14eaa
Fixed the remote operator ESC key exit fly mode
Steve-KX-RL Apr 18, 2023
579760a
Merge pull request #415 from ptcrealitylab/Remote-operator-fly-mode-E…
benptc Apr 21, 2023
9915c96
change z-index of fullscreen tools to 1 instead of 100, so you can cl…
benptc Apr 21, 2023
33763f7
buttons at top of remote operator aligned
ktheo-ptc Apr 21, 2023
0fbdadb
make sure touch events work to click on other icons when a fullscreen…
benptc Apr 21, 2023
affbd1c
fix bug with envelopes closing when they shouldnt on other clients
benptc Apr 21, 2023
66fa1ef
Merge pull request #426 from benptc/move-drawing-behind-icons
benptc Apr 21, 2023
b8685a7
update the minimize button
benptc Apr 21, 2023
486a097
restored ru-icon sizes
ktheo-ptc Apr 21, 2023
0aa136a
merge master with feature
ktheo-ptc Apr 21, 2023
5113b66
setup listener that pop-up menu can use to hide when full2D open; fix…
benptc Apr 21, 2023
5ed1cdc
fix typo
benptc Apr 21, 2023
562ff2c
guard against error if tool icon not available
benptc Apr 21, 2023
2b96a8d
Fixed iOS add tool when spatial cursor outside of AreaTarget mesh bug
Steve-KX-RL Apr 21, 2023
7dd2657
Merge pull request #428 from ptcrealitylab/add-tool-at-screen-center-…
benptc Apr 21, 2023
e581292
Merge pull request #429 from benptc/ux-improvements
benptc Apr 21, 2023
b489c8d
Merge pull request #427 from ptcrealitylab/ru-tool-icon-adjustments
ktheo-ptc Apr 21, 2023
5cb5892
if a toolId is present in the URL, attempts to open the envelope when…
benptc Apr 21, 2023
1c2929c
guard against multiple openings of toolId from URL
benptc Apr 21, 2023
f92667e
Merge pull request #430 from benptc/open-toolId-from-url
benptc Apr 21, 2023
b5e6715
Slightly lower top of pinned region cards container
hobinjk-ptc Apr 21, 2023
608169c
Added color highlighting to analytics
dangond-ptc Apr 24, 2023
3fe838c
Storing colors in spaghetti points for later use
dangond-ptc Apr 24, 2023
0fd36fc
Beginning refactoring
dangond-ptc Apr 24, 2023
696cae4
New getPointFromIntersect helper function in meshPath
dangond-ptc Apr 24, 2023
8d4bf30
Working refactor for spaghetti selection, prevents hovering over poin…
dangond-ptc Apr 24, 2023
3493e18
Fixed issue with drag selection on timeline flickering
dangond-ptc Apr 24, 2023
9bdaecf
Removing completed todos
dangond-ptc Apr 24, 2023
5ed34e4
Re-added measurement label
dangond-ptc Apr 24, 2023
8335a11
Moved label up a bit to prevent blocking of visibility
dangond-ptc Apr 24, 2023
f3ac0bf
Fixed bug where hovering out of selection range on spaghetti paused p…
dangond-ptc Apr 24, 2023
6f4cf19
Disable loadHistory on mobile; Respect recordingClones; Reduce max po…
hobinjk-ptc Apr 24, 2023
a96ed92
Allow historical poses to be cloned
hobinjk-ptc Apr 24, 2023
49aab27
Bump eslint from 8.38.0 to 8.39.0
dependabot[bot] Apr 24, 2023
8ba9e2f
Disable limitScanRAM functionality
hobinjk-ptc Apr 25, 2023
ad7641d
Remove commented-out code
hobinjk-ptc Apr 26, 2023
c71f1ef
Delay avatar object discovery when missing own avatar id
hobinjk-ptc Apr 25, 2023
1e0af96
Correctly wrap keepObjectAlive action
hobinjk-ptc Apr 25, 2023
0722d11
Broadcast action over udp/action sockets on local RO
hobinjk-ptc Apr 26, 2023
adc69db
Added API to toggle stationary device mode.
ptc-mklaudiny Apr 25, 2023
8405efa
Create new Analytics coordinator for every spatialAnalytics tool
hobinjk-ptc Apr 24, 2023
c995f5e
Enable more analytics features on mobile
hobinjk-ptc Apr 24, 2023
c8bd638
Only load data into analytics if display region changes; Clean up code
hobinjk-ptc Apr 24, 2023
82885ab
Better handle analyticsFocus and analyticsBlur messages
hobinjk-ptc Apr 27, 2023
8c06978
Increase scan timeout to 5 minutes
hobinjk-ptc Apr 28, 2023
241fa71
Make network offline message permanent
hobinjk-ptc Apr 28, 2023
9bec6c9
Initial refactoring, spaghetti rendering but not interactable yet
dangond-ptc Apr 28, 2023
2e7eb17
Selection now working, just need to re-implement coloring and bugfix
dangond-ptc Apr 28, 2023
960b92b
Added proper coloring with transparency
dangond-ptc May 1, 2023
2b0d609
Bug fix
dangond-ptc May 1, 2023
235571d
Cleaning up coloring for acceleration lens and removing redundant/con…
dangond-ptc May 1, 2023
a8145a1
Applying state coloring to live-added points as well, cleared outdate…
dangond-ptc May 1, 2023
fa5a23c
Aligned PoseObjectIdLens's coloring for spaghetti line with others, n…
dangond-ptc May 1, 2023
d3a8111
Fixed the measurement label for the new spaghetti system
dangond-ptc May 1, 2023
c826fac
Removed outdated todos
dangond-ptc May 1, 2023
f3defea
Implemented proper resetting of spaghetti object
dangond-ptc May 1, 2023
01f8e0f
functions added for locating tools at screen coords
ktheo-ptc May 1, 2023
07c5c93
Merged with master
dangond-ptc May 1, 2023
807dcd2
Out-of-range faded spaghetti that is in the way no longer blocks poin…
dangond-ptc May 2, 2023
1425a2f
Fix use of old global setCursorTime
hobinjk-ptc Apr 28, 2023
44777d8
Adjusting colors to Valentin's liking
dangond-ptc May 2, 2023
eb6790a
Made meshpath double-sided
dangond-ptc May 2, 2023
95e049f
Fixed conflict with master
dangond-ptc May 2, 2023
7ac03c7
Greatly increase baseline pose renderer opacity
hobinjk-ptc May 1, 2023
1fa8bac
Use POSE_OPACITY_BASE constant instead of hardcoded value
hobinjk-ptc May 1, 2023
5bfc818
Further raise base opacity
hobinjk-ptc May 2, 2023
7c7171c
Merge branch 'master' into add-tool-at-specified-location
ktheo-ptc May 2, 2023
6e3ce92
updated comment
ktheo-ptc May 2, 2023
0bf6a8a
Bugfix
dangond-ptc May 2, 2023
60bd915
Merge pull request #442 from ptcrealitylab/analytics-spaghetti-refactor
dangond-ptc May 3, 2023
dee5409
Alter three's updateMatrixWorld to not touch hidden objects
hobinjk-ptc May 2, 2023
5b827ca
Merge pull request #443 from ptcrealitylab/add-tool-at-specified-loca…
ktheo-ptc May 3, 2023
b0bd202
Avoid array recreation
hobinjk-ptc May 4, 2023
bc4799f
Fix spaghettiLine break logic
hobinjk-ptc May 4, 2023
2cd2ffd
Spaghetti now fades out if it is not the one the user is interacting …
dangond-ptc May 5, 2023
a44afba
Remove log statement
dangond-ptc May 5, 2023
db58f5b
Fades out-of-range spaghettis when selecting on timeline
dangond-ptc May 5, 2023
60576a4
Bugfix
dangond-ptc May 5, 2023
d2bc586
Fixes weird behavior with selecting out-of-range spaghetti when cance…
dangond-ptc May 5, 2023
1ac3e72
Deselecting timeline or spaghetti now deselects the other
dangond-ptc May 5, 2023
d8215a6
apply -webkit-user-drag:none to all elements, and only add hover line…
benptc May 5, 2023
054a03d
Prevents analytics settings ui interactions from propagating elsewhere
dangond-ptc May 5, 2023
e03d1e2
Spaghetti now keeps selection state when switching lenses
dangond-ptc May 5, 2023
0e820f7
WIP: Analytics fixes
hobinjk-ptc May 4, 2023
2eb14e3
Prevent setDisplayRegion on fallback 'none' analytics
hobinjk-ptc May 5, 2023
70f602e
Widen clones by timestamp window
hobinjk-ptc May 5, 2023
2af7038
slight increase to hover line animation time
benptc May 5, 2023
f00019c
Replace avatar laser beam with animated line from avatar icon to worl…
Steve-KX-RL May 5, 2023
c5e9c5e
Modify lines.js color parameter to support the new avatar animated li…
Steve-KX-RL May 5, 2023
3cbcff6
Clean up avatar animated line
Steve-KX-RL May 5, 2023
c048d7f
Adjusted pointer events to address comments
dangond-ptc May 5, 2023
91c22cb
Merge branch 'master' into analytics-active-spaghetti
dangond-ptc May 5, 2023
10bf075
Merge pull request #446 from ptcrealitylab/analytics-active-spaghetti
dangond-ptc May 5, 2023
52173d9
Larger animated dots on the phone
Steve-KX-RL May 5, 2023
3cf8b9d
Clean up
Steve-KX-RL May 5, 2023
d2af6a7
Merge branch 'ptcrealitylab:master' into ui-edits
benptc May 5, 2023
4047eb7
Human tracking multiview triangulation (#447)
ptc-mklaudiny May 8, 2023
2324387
Merge pull request #450 from ptcrealitylab/avatar-lines
benptc May 8, 2023
566dd4e
Merge pull request #451 from benptc/ui-edits
benptc May 8, 2023
9480c36
Analytics tools pre-recording state no longer loads all history
dangond-ptc May 8, 2023
307630f
Prevent setDisplayRegion in timeline from modifying passed region
dangond-ptc May 8, 2023
e3b6cf6
Fix issue with human poses remaining visible when closed as a new ana…
dangond-ptc May 8, 2023
cdd4803
Make hideInstance per-frame instead of shared
hobinjk-ptc May 8, 2023
9c34c47
Merge pull request #453 from ptcrealitylab/load-history-fix
dangond-ptc May 8, 2023
1b4aaea
Display region fix
dangond-ptc May 8, 2023
ccc3a33
Fix setCursor pretending to be from spaghetti
dangond-ptc May 8, 2023
b568102
Revert "Fix setCursor pretending to be from spaghetti"
hobinjk-ptc May 8, 2023
dc86a83
Give HPA a reference to its containing analytics session
hobinjk-ptc May 8, 2023
c57cb22
Use msgData.frame to filter SetDisplayRegion
hobinjk-ptc May 8, 2023
5ba7d86
Merge pull request #454 from ptcrealitylab/display-region-fix
dangond-ptc May 8, 2023
4b49da9
drag icons from ru-bar to trash to delete them
benptc May 9, 2023
947b0a7
fix dragging ru-icons on mobile; deleting ru-icon of full2d open enve…
benptc May 9, 2023
4658495
fix linting
benptc May 9, 2023
dc8e09f
Merge pull request #455 from benptc/ru-icons-to-trash
benptc May 9, 2023
440657f
Show fallback's 3d ui for initial pose tracking
hobinjk-ptc May 9, 2023
d4409d2
Merge pull request #456 from ptcrealitylab/analytics-fallback-show-3d
dangond-ptc May 9, 2023
15e3010
Re-reverting hpa pretending to be spaghetti
dangond-ptc May 9, 2023
e5b5c67
Merge pull request #457 from ptcrealitylab/more-analytics-fixes
dangond-ptc May 9, 2023
7581d44
Made avatar animated lines fully opaque
Steve-KX-RL May 9, 2023
8aa95e8
Merge pull request #458 from ptcrealitylab/avatar-line-opaque
benptc May 9, 2023
88a5383
Revert "Re-reverting hpa pretending to be spaghetti"
dangond-ptc May 9, 2023
807ee0a
Merge pull request #459 from ptcrealitylab/revert-spaghetti-again
dangond-ptc May 9, 2023
6e38d25
Fix spaghetti interfering with spaghetti from other analytics sessions
dangond-ptc May 9, 2023
257fff3
bugfix
dangond-ptc May 9, 2023
253f040
Prevent touch events on spaghetti from triggering if associated analy…
dangond-ptc May 9, 2023
bf43ff9
Revert "Fix issue with human poses remaining visible when closed as a…
hobinjk-ptc May 9, 2023
6be8d2e
Target analytics api using msgData.frame where possible; Create analy…
hobinjk-ptc May 9, 2023
5565ba8
Merge pull request #460 from ptcrealitylab/multi-analytics-spaghetti-fix
dangond-ptc May 9, 2023
e00dd9d
Fixed avatar off screen arrow window resize bug & added clear animate…
Steve-KX-RL May 10, 2023
f9971eb
Fixed errors arising from spaghetti.analytics being null (used for ca…
dangond-ptc May 10, 2023
021be9c
Merge pull request #463 from ptcrealitylab/spaghetti-frameless-fix
dangond-ptc May 10, 2023
d2c2b66
Upon deletion fills recently used bar
hobinjk-ptc May 10, 2023
15d5a85
Fixed animated line window resize bug
Steve-KX-RL May 10, 2023
8fea7c6
Merge pull request #461 from ptcrealitylab/avatar-arrow-window-resize…
Steve-KX-RL May 10, 2023
12cf5cd
dragging directly from minimized icon now also allows dragging to trash
benptc May 10, 2023
544628f
Merge pull request #467 from benptc/drag-minimized-icons-to-trash
benptc May 10, 2023
ab0c32c
Added mitigation measure for occasional miss of UDP action message ab…
ptc-mklaudiny May 10, 2023
32413ba
disable google analytics
hobinjk-ptc May 11, 2023
531ee91
Makes setDisplayRegion get called on spaghettis for all lenses, not j…
dangond-ptc May 11, 2023
6465a55
minor change
dangond-ptc May 11, 2023
8f1e114
Minor fix
dangond-ptc May 11, 2023
2258d09
Only show scrollbar when necessary
hobinjk-ptc May 11, 2023
8317d76
Adjust pin animation offset calculation
hobinjk-ptc May 11, 2023
a685094
Merge pull request #468 from ptcrealitylab/lens-display-region-fix
dangond-ptc May 11, 2023
9fe3a4b
adds public method to set myUsername
benptc May 12, 2023
02a1a10
Merge pull request #469 from benptc/mm-username
benptc May 14, 2023
97e3fa6
Filter out duplicate poses
hobinjk-ptc May 14, 2023
b94a8d4
Reba scoring adjustments
dangond-ptc May 15, 2023
83fb9d0
Merge pull request #470 from ptcrealitylab/reba-tuning
dangond-ptc May 15, 2023
b031347
Bump eslint from 8.39.0 to 8.41.0
dependabot[bot] May 22, 2023
ac9891d
Analytics now properly keeps track of when analytics sessions are act…
dangond-ptc May 25, 2023
09c4f54
Merge pull request #472 from ptcrealitylab/analyticsPointerFix
dangond-ptc May 25, 2023
2d4c8a2
Reverting analytics pointer with other tool active fix, bug prevents …
dangond-ptc May 25, 2023
f717419
Fixes issues with tool opening focusing and blurring on reload, fixes…
dangond-ptc May 25, 2023
a890cd1
Merge pull request #473 from ptcrealitylab/loadPosesIntoCorrectAnalytics
dangond-ptc May 25, 2023
a637277
remove pointerevents from the invisible border around the minimized t…
benptc May 25, 2023
34de4b4
Merge pull request #474 from benptc/icon-border-pointerevents
benptc May 25, 2023
ccb1f5e
adds helpers to check whether AR mode or remote operator mode, in add…
benptc May 26, 2023
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
72209c7
Fix relative paths of pause/play icons
hobinjk-ptc Jun 14, 2023
41919ee
Upgrade eslint
hobinjk-ptc Jun 14, 2023
66e82a8
Update ground plane collider transform & spatial cursor raycast logic
Steve-KX-RL Jun 14, 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
6 changes: 6 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
thirdPartyCode/
frames/resources/
frames/pushMe.hyperesources/
frames/objectDefaultFiles/pep.min.js
docs/
.eslintrc.js
98 changes: 98 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
module.exports = {
"env": {
"browser": true,
"es6": 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",
"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": 2018,
"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
10 changes: 9 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# 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
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