sabomate / AR-video_viewer

0 stars 0 forks source link

画像マーカ対応 #14

Closed tagahei closed 8 months ago

tagahei commented 8 months ago

やったこと

関連Isuue

画像マーカを変更するには

  1. 特徴量ファイルの取得 NFT Createorに画像をアップロードして3つのファイルを取得する あんまり小さい画像とか,大きすぎる画像はダメっぽい.生成には数分かかる
  2. 特徴量ファイルを配置(src/descriptors)
  3. ファイル指定 a-nftタグのurlを変更.特徴量ファイルの拡張子を抜いたファイル名飲み記述
    <a-nft
        type="nft"  
        url="/src/descriptors/Yoslab"
        smooth="true"
        smoothCount="10"
        smoothTolerance=".01"
        smoothThreshold="5"
      >
        <a-video src="#video_sample" position="0 -2 0" rotation = "-90 0 0"width="18" height="33"></a-video>
      </a-nft>
minari515 commented 8 months ago

すげえええええ

a-markerですらなくなってnftってのが存在するんやな a-frameが優秀なのも相まってすげえ

minari515 commented 8 months ago

これ今storageからじゃない通信してるよな,このまま通す?

tagahei commented 8 months ago

とおしません!