Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2866 commits
Select commit Hold shift + click to select a range
9de8cc9
Merge branch 'master' into fullscreen-2d-mode
benptc Mar 13, 2023
0ba0dcd
cleanup fullscreenFull2D code
benptc Mar 13, 2023
a962318
undo change to sandbox attribute, for now
benptc Mar 13, 2023
9f433af
Merge pull request #378 from ptcrealitylab/fullscreen-2d-mode
benptc Mar 13, 2023
8f330f0
Merging master and resolving conflicts.
ptc-mklaudiny Mar 14, 2023
7fa4266
Bump eslint from 8.35.0 to 8.36.0
dependabot[bot] Mar 13, 2023
1fd28e5
Added joint coloring based on confidence to PoseObjectIdLens. Works f…
ptc-mklaudiny Mar 14, 2023
8ca8c6b
Added different skeleton rendering for original and fused human objec…
ptc-mklaudiny Mar 14, 2023
e0a676a
Added toggle to render child human pose objects (ones supporting fuse…
ptc-mklaudiny Mar 15, 2023
fbf1914
Merge pull request #376 from ptcrealitylab/Steve-KX-Mar-9
benptc Mar 15, 2023
9390acc
Laser pointer off screen arrow fix
Steve-KX-RL Mar 15, 2023
5000edc
Stopped rendering human poses which have not been updated recently.
ptc-mklaudiny Mar 16, 2023
1828e48
Fix RegionCard label persistence; Stop label keyboard event propagation
hobinjk-ptc Mar 16, 2023
2221e77
Never minimize pinned region cards
hobinjk-ptc Mar 17, 2023
ad3de33
Prevent fly mode from engaging while typing label
hobinjk-ptc Mar 17, 2023
7907cb0
Shorten large numbers
hobinjk-ptc Mar 17, 2023
0999d1e
Hide HumanPoseRenderers if all contained HumanPoseRenderInstances are…
hobinjk-ptc Mar 17, 2023
891f758
Fix display of csv link; Add padding to pinned region cards container
hobinjk-ptc Mar 20, 2023
cf1022d
Remove uv2 attribute from geometries when present
hobinjk-ptc Mar 16, 2023
d5df2ad
Merge pull request #380 from ptcrealitylab/Steve-KX-Mar-9
benptc Mar 20, 2023
3d996cd
Adjust handling of animation state
hobinjk-ptc Mar 20, 2023
13395ee
Clean up trailing whitespace
hobinjk-ptc Mar 20, 2023
416a993
option to update the groundplane grid color
benptc Mar 21, 2023
651e3cf
add onWindowResized listener and adjust various canvas sizes, tool di…
benptc Mar 22, 2023
b4a0e80
fix glRenderer onWindowResize event
benptc Mar 22, 2023
cc10b78
Merge pull request #386 from ptcrealitylab/dark-mode-support
benptc Mar 22, 2023
9e306e1
timeline updates width onWindowResize
benptc Mar 22, 2023
8202f7f
Sort persisted region cards by start time
hobinjk-ptc Mar 21, 2023
d25d5ff
Rename view -> show; Support showing/hiding region on timeline
hobinjk-ptc Mar 22, 2023
f72b8e3
Allow editing shown region cards on timeline
hobinjk-ptc Mar 22, 2023
452b506
Merge pull request #388 from ptcrealitylab/window-resize
benptc Mar 22, 2023
44f549f
Allow adding region cards during recording
hobinjk-ptc Mar 22, 2023
8bca217
Make getPosesInTimeInterval default to live instead of all
hobinjk-ptc Mar 23, 2023
3f83d38
Revert "Make getPosesInTimeInterval default to live instead of all"
hobinjk-ptc Mar 23, 2023
2410306
Filter out pinned region cards with no poses
hobinjk-ptc Mar 23, 2023
40f1655
Improve logic of getPosesInTimeInterval to swap based on filtered pos…
hobinjk-ptc Mar 23, 2023
464c835
Merge
dangond-ptc Mar 27, 2023
a03acbb
Comments for later
dangond-ptc Mar 27, 2023
5663bae
Added support for playing back with multiple overlapping poses
dangond-ptc Mar 27, 2023
0feb613
Made it so that animations only get clones within a second of the giv…
dangond-ptc Mar 27, 2023
03003fa
Adjusted animation current pose timestamp window
dangond-ptc Mar 27, 2023
93d5370
Fixed bug with displaying clones when setting cursor time
dangond-ptc Mar 27, 2023
9a55654
Removed extraneous log statement
dangond-ptc Mar 27, 2023
940bbec
backup method to load world_local into discoveryMap on cellular netwo…
benptc Mar 23, 2023
3f20856
minimize changes to system while enabling cellular/non-udp connectivity
benptc Mar 27, 2023
b05151f
guard against null msg when manually looking for world_local
benptc Mar 27, 2023
5538c9c
Merge pull request #393 from ptcrealitylab/cellular-support
benptc Mar 27, 2023
4055f8b
Merge pull request #392 from ptcrealitylab/multiPose
dangond-ptc Mar 28, 2023
66c4df4
Bump eslint from 8.36.0 to 8.37.0
dependabot[bot] Mar 29, 2023
bca4801
init vuforia even if no network permissions; remove popup for no netw…
benptc Mar 29, 2023
479484c
adds clarification about microphone access to modal
benptc Mar 29, 2023
8a5e82b
adds tall class to notification with longer description
benptc Mar 29, 2023
44b394b
slightly adjust loading progress bar position based on new height of …
benptc Mar 29, 2023
749f037
Merge pull request #395 from benptc/fix-local-network-req
benptc Mar 29, 2023
21df9a7
Export getRaycastCoordinates() helper function to be used in remote o…
Steve-KX-RL Mar 29, 2023
a0a51d2
Add API to get phone app's provider id
hobinjk-ptc Mar 29, 2023
832751e
Rename avatarUserProfiles, connectedAvatarNames; Add providerId to us…
hobinjk-ptc Mar 29, 2023
bc9a8cf
Unconditionally write user profile
hobinjk-ptc Mar 29, 2023
5f5d93d
change tool open animation
Steve-KX-RL Mar 30, 2023
8b96a4f
change tool close animation
Steve-KX-RL Mar 30, 2023
91fafa2
add temp anim div css
Steve-KX-RL Mar 30, 2023
ccc6d11
Fixed toogling of auxiliary poses for live visualisation again (but d…
ptc-mklaudiny Mar 31, 2023
f19f975
Adjusted spaghetti line to display only points from non-auxiliary pos…
ptc-mklaudiny Mar 31, 2023
78df597
Added toggling of auxiliary poses for playback of recorded data and s…
ptc-mklaudiny Mar 31, 2023
8ea3a08
Merge branch 'master' into human_tracking_multiple_cameras
ptc-mklaudiny Apr 3, 2023
db18448
Removed unused parameter.
ptc-mklaudiny Apr 3, 2023
45f0036
Merge pull request #391 from ptcrealitylab/human_tracking_multiple_ca…
ptc-mklaudiny Apr 3, 2023
98276e4
Added comments on how I obtained the hard-coded matrix3d end position…
Steve-KX-RL Apr 3, 2023
a5b4728
Merge pull request #397 from ptcrealitylab/change-tool-open-close-ani…
benptc Apr 3, 2023
b3c070f
WORKING envelope sync, no cleanup
benptc Mar 30, 2023
6d64048
refactor initNode and sendCreateNode into a createNode method instead…
benptc Mar 31, 2023
da7228a
cleanup envelope sync code
benptc Apr 3, 2023
1d81b44
Spatial cursor flickering bug
Steve-KX-RL Apr 3, 2023
496af1d
change spatial cursor to update relative to threejs scene, always
benptc Apr 3, 2023
8cdf52d
rename hasUpdated variable more clearly
benptc Apr 3, 2023
cc6a74d
Merge pull request #398 from benptc/envelope-sync
benptc Apr 3, 2023
26d7b18
Merge pull request #399 from ptcrealitylab/Spatial-cursor-flickering-bug
benptc Apr 3, 2023
6ee3fe5
Minor changes to accommodate a bug fix in server code.
ptc-mklaudiny Apr 4, 2023
2e54447
poseHasParent should be false when parent is null
hobinjk-ptc Apr 5, 2023
9c8d799
Remove trailing whitespace
hobinjk-ptc Apr 5, 2023
162f528
Additional fix of poseHasParent for live mode.
ptc-mklaudiny Apr 6, 2023
ed43b16
Updated AccelerationLens to work with multiple poses and use m/s^2 co…
dangond-ptc Apr 7, 2023
c50fb98
Addressing comments
dangond-ptc Apr 7, 2023
325df95
trigger onLocalizedWithinWorld immediately if already localized
benptc Apr 7, 2023
ccb9e4b
Bump eslint from 8.37.0 to 8.38.0
dependabot[bot] Apr 10, 2023
caffb19
Merge pull request #404 from benptc/localized-callback
benptc Apr 10, 2023
9b3fa67
Add basic recently-used-envelopes bar
hobinjk-ptc Apr 7, 2023
c7f87d1
Guard against multiple calls to analytics add/remove
hobinjk-ptc Apr 10, 2023
d5045e3
Store lastActive on envelopes
hobinjk-ptc Apr 10, 2023
36ec32a
Never add envelopes that would be hidden from recently used bar
hobinjk-ptc Apr 10, 2023
f8aa0a7
Adjust ruBar animations
hobinjk-ptc Apr 10, 2023
3fed2e8
Add border to mark open envelopes on bar
hobinjk-ptc Apr 10, 2023
7743a25
Always close any open envelopes before opening a new one
hobinjk-ptc Apr 10, 2023
ec4ae69
reimplement MINIMIZE_BUTTON for envelope, and use it to trigger blur …
benptc Apr 10, 2023
b3f80a2
Merge pull request #403 from ptcrealitylab/accelerationMultiPoseFix
dangond-ptc Apr 11, 2023
ee52f63
Merge branch 'master' into envelope-focus-blur
benptc Apr 11, 2023
3ab5bee
renders a temporary icon in the location of the tool iframe, if its f…
benptc Apr 11, 2023
7c50f79
cleanup envelope icon renderer
benptc Apr 11, 2023
2b3cd2d
recently used bar formatted for mobile
ktheo-ptc Apr 11, 2023
4b3fa5b
fix issue with onLocalized callback
benptc Apr 11, 2023
2c641cb
Adjust spacing for minimize button's existence
hobinjk-ptc Apr 11, 2023
d3c3a2b
Merge pull request #407 from benptc/envelope-focus-blur
benptc Apr 11, 2023
137611a
Merge pull request #409 from benptc/fix-localization-bug
benptc Apr 11, 2023
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
4ddcee4
Fixed the remote operator ESC key exit fly mode
Steve-KX-RL Apr 18, 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
0626743
Replace avatar laser beam with animated line from avatar icon to worl…
Steve-KX-RL May 5, 2023
5c5f4ad
Modify lines.js color parameter to support the new avatar animated li…
Steve-KX-RL May 5, 2023
6cf3603
Dynamic Far Plane Culling
Steve-KX-RL May 5, 2023
6325be8
Merge remote-tracking branch 'origin/master' into Frustum-shader-cull…
Steve-KX-RL May 5, 2023
b78bae3
Clean up avatar animated line
Steve-KX-RL May 5, 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