Integrate Three JS renderre with wikitude native sdk
M
Mehrdad Afzali
started a topic
over 3 years ago
Hi, I am trying to use the tracking information extracted from Wikitude native sdk in a gradle project. I created a scene using THREE js and I use the tracking data from wikitude to locate my objects, I calculated the translation matrix like: "transMat = new THREE.Matrix4().multiplyMatrices(prMat, mvMat);" And every thing works out. The problem is I need to use extended Tracking, and when I turn it on, it act wired, the rotation stuff work, but once I move the camera to any direction the objects aslo start to move with the camera where as they should not, coz the marker is not in the scene). Do you possibly know what is the reason? Thank you.
1 Comment
Wikitude Technical Support
said
over 3 years ago
Hi,
Could you please post a video of the issue? Just based on the description it's a bit difficult to figure out what might be wrong.
Does this issue happen with image or object tracking?
Mehrdad Afzali
Hi, I am trying to use the tracking information extracted from Wikitude native sdk in a gradle project. I created a scene using THREE js and I use the tracking data from wikitude to locate my objects, I calculated the translation matrix like: "transMat = new THREE.Matrix4().multiplyMatrices(prMat, mvMat);"
And every thing works out.
The problem is I need to use extended Tracking, and when I turn it on, it act wired, the rotation stuff work, but once I move the camera to any direction the objects aslo start to move with the camera where as they should not, coz the marker is not in the scene). Do you possibly know what is the reason? Thank you.