行歌
行歌
I run into same kina problem. I'm using THREEAR in an app environment which provides API for getting camera frame data. So I modified the THREEAR API to accept typedarray...
I got two examples to stress the problem. fixed size landscape video: https://www.xingway.com/ar2/basic2.html (works fine) fixed size portrait video: https://www.xingway.com/ar2/basic.html (camera aspect goes wrong)
hi @0b01001101 thanks for the reply. the examples use basic three camera which dosen't take fov, aspect ratio into acccount. I tried to use perspective camera and upateProjectionMatrix after the...
hi @0b01001101 thanks for the reply. cause I can only access the camera frame data(fixed size raw bufferarray), there is no way I can crop the display. or Maybe create...
test perspective camera with 3/4 aspect ratio, 3D model dosen't attach correctly, while 4/3 ratio is fine demo 4/3 https://www.xingway.com/ar2/basic2.html demo 3/4 https://www.xingway.com/ar2/basic.html
is it an issue ralated to camera parameters file?
目前的版本只能识别aruco的marker https://github.com/jcmellado/js-aruco, 而 jsartoolkit只支持4/3的视频源小程序提供的视频数据流是3/4的,还有一些问题需要解决。
@reaper12 不好意思刚看到,这里有aruco Marker 生成的试例 https://github.com/jcmellado/js-aruco
@allrightzhu Emscripten编译jsartookit的时候可以设置dynamic参数,具体可以看emscripten的CHANGELOG. ThreeAR刚刚上传。
@allrightzhu 我也是用其他人的标定文件,修改标定文件需要自己编译 https://github.com/artoolkit/artoolkit6-calibration https://github.com/artoolkitx/artoolkitX-calibration-android ios卡顿的问题可能要等官方来解决。