這是我使用的代碼。當(dāng)我嘗試從手機(jī)加載此文件時(shí),相機(jī)縮放太多。這就像當(dāng)我試圖在筆記本電腦屏幕上顯示圖像時(shí),相機(jī)縮放得太多,以至于我無法正確顯示正確的圖像,以便可以通過NFT標(biāo)記識(shí)別圖像 <body style="margin : 0px; overflow: hidden;"> <a-scene vr-mode-ui="enabled: false;" renderer="logarithmicDepthBuffer: true;" embedded arjs="trackingMethod: best; sourceType: webcam;debugUIEnabled: false;"> <a-nft registerevents type="nft" url="/custom/generic/assests/nft/vc/vc" smooth="true" smoothCount="10" smoothTolerance=".01" smoothThreshold="5"> <a-text id="click_to_play_txt" position="17.06761 44.59457 5.43027" scale="20 20 1" text="color: #000" value="Click to play Video"></a-text> </a-nft> <a-entity camera></a-entity> </a-scene></body></body></html>
在移動(dòng)設(shè)備上使用AR.js時(shí),相機(jī)變焦過大
冉冉說
2022-08-18 10:26:28