tracker.addImage(tmp, 1);
do {
try { tracker.waitForID(1); } catch (InterruptedException e) { continue; }
} while (false);
tracker.removeImage(tmp);
Shape3D model = new ImageModel(tmp, scale);
Appearance app = new Appearance();
app.setTexture(getTexture(img, false, null, alpha, true));
if (alpha != 1.0) app.setTransparencyAttributes(C.alphaTexture);