Hi,
I try to detect the single marker position in the
fixed coordinate system (multimarker). My goal is to
draw virtual object in this position, my code is
below :
if (config->marker[1].visible>=0) :
arUtilMatInv(config->marker[1].trans, u1);
arUtilMatMul(u1, object[i].trans, u2);
argConvGlpara(u2, gl_para);
draw(object, gl_para);
My problem is, when I move my camera the virtual
object follow the camera position. Is someone have an
idea ?
Many thanks.
Haja
___________________________________________________________________________
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions !
Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses
http://fr.answers.yahoo.com
|