Posts Tagged ‘jitter’

FLARManager: control jitter with activityThreshold

Posted in to do on September 23rd, 2010 by ericsoco – 10 Comments

After learning today about a very clever trick by Deepanjan Das, I decided to implement it in FLARManager.

The trick, in short:
only send the camera source to FLARToolkit while there is noticeable motion.
The result:
less jitter when the marker is held still in front of the camera.

To implement in FLARManager:
Download the latest from svn, particularly FLARManager.as, FLARConfigLoader.as, and FLARCameraSource.as. the changes will automatically take effect.

To tweak the value, set activityThreshold within the <flarSourceSettings> element in flarConfig.xml. Set higher to further reduce jitter in stationary markers, and set lower to allow more freedom of motion with stationary markers.

Enjoy!