I am using the last SDK 0.6 and trying to put the box at a fixed distance from the camera as well in your Scanner App. I referred to a post here to change it but it didn’t work for 0.6 when I changed the line like @jim_selikoff mentioned in his post: [quote=“jim_selikoff, post:8, topic:5065”]
You could try translating the final camera pose calculated by STCameraPoseInitializer in enterScanningState, e.g.:
_slamState.tracker.initialCameraPose = GLKMatrix4Translate(_slamState.cameraPoseInitializer.cameraPose, 0.0, 0.0, 0.05);
Here’s a video showing the results: https://drive.google.com/file/d/0B9qZaSOL3MF4bl9ZejlXb1FkbG8/view?usp=sharing
The box disappears after I press Scan and won’t scan anything. I want my cube to behave like it does in this video: https://drive.google.com/file/d/0B9qZaSOL3MF4bl9ZejlXb1FkbG8/view
Except I do not want the cube to constantly try to find a plane and I want it to put at a fixed distance in z-direction like for example 1 meter from the camera.
Thank you in advance.