I just started to use ARTool in a DirectX environment,
adapted from the artoolkit+vrml (2.62) implementation.
The detection goes fine, but the arGetTransMat results in a 3x4 matrix
with zeros,
whereas it is filled in the original version.
I expect this might be caused by an unproper initialization, since I do
not use the glut/opengl
rendering, but direct3d.
Any suggestions are welcome.
Anton Eliens
Vrije Universiteit
Amsterdam
arGetTransMat(&marker_info[k],
object[i].marker_center, object[i].marker_width,
object[i].trans);
|