jeromeetienne / AR.js

Efficient Augmented Reality for the Web - 60fps on mobile!
MIT License
15.79k stars 2.22k forks source link

Loading an external .patt file out of memory on maxed out 64gb macbook pro... #724

Closed yosun closed 4 years ago

yosun commented 4 years ago

Describe the bug A clear and concise description of what the bug is.

"loadMarker(): Error loading pattern file /marker_0." "ARToolKitJS(): Unable to set up AR marker." "Out of memory!!"

To Reproduce Steps to reproduce the behavior:

Use a .patt file in lieu of the hiro one

You can use the patt file of hiro https://raw.githubusercontent.com/jeromeetienne/AR.js/master/three.js/examples/marker-training/examples/pattern-files/pattern-hiro.patt

See https://codepen.io/yosunchang/pen/rNVampj

Expected behavior Marker should load?

Screenshots "three Version (https://github.com/supermedium/three.js):" "^0.111.4" "WebVR Polyfill Version:" "^0.10.10" "%cdevice:error %cWebXR session support error: Failed to execute 'isSessionSupported' on 'XR': Access to the feature 'xr' is disallowed by feature policy.%c " "color: lightseagreen" "color: inherit" "color: lightseagreen" "AR.js" "1.7.5" "- trackingBackend:" "artoolkit" "ARjs.Anchor -" "changeMatrixMode:" "modelViewMatrix" "/ markersAreaEnabled:" false "THREEx.ArMarkerControls: 'markersAreaEnabled' is not a property of this material." "Allocated videoFrameSize 1228800" "Pattern detection mode set to 1." "Pattern ratio size set to 0.500000." "Pattern Data read error!!" "loadMarker(): Error loading pattern file /marker_0." "ARToolKitJS(): Unable to set up AR marker." "Out of memory!!"

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

nicolocarpignoli commented 4 years ago

Hi there, please feel free to re-open the issue at new AR.js repository: https://github.com/AR-js-org/AR.js

thank you!