<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Le 26/06/2012 15:54, Roch Jub a &eacute;crit&nbsp;:<br>
    </div>
    <blockquote
cite="mid:CAFq_TencrmiFFR3Wc69gonNEwz3_xWGss9vhTCz2tZDHQsKHAw@mail.gmail.com"
      type="cite">Hey !
      <div><br>
      </div>
      <div>So I send a mail some time ago to the list and got no answer,
        so I guess it was not really clear.</div>
      <div><br>
      </div>
      <div>I come now with a more simple version of my problem.</div>
      <div><br>
      </div>
      <div>
        I have two cubes,</div>
      <div><br>
      </div>
      <div>cube A</div>
      <div>translationXYZ 0 0 0</div>
      <div>rotationXYZ 0 0 0</div>
      <div><br>
      </div>
      <div>and cube B</div>
      <div>translationXYZ 12 5 6</div>
      <div>rotationXYZ 0 0 0</div>
      <div><br>
      </div>
      <div>now I want to calculate with only thoses informations, the
        rotations in X Y and Z for cube A to look at cube B. (numbers
        are irrelevent, I want to make the algorythme)</div>
      <div><br>
      </div>
      <div>I have tryed many things, with trigonometry, learned about
        Gimbal lock, read everything I could about euler angles, etc ...
        result is it's not working right.</div>
      <div><br>
      </div>
      <div>I attached an exemple patch. The math inside are based on the
        help I got on a math forum. It quite look like the thing I was
        trying to do but it doesn"t work better :)</div>
      <div><br>
      </div>
      <div>Anybody ? Any idea?</div>
      <div><br>
      </div>
      <div>cheers</div>
      <div><br>
      </div>
      <div>PS : I try to do that to calculate joint orientations of
        kinect skeleton. and even though there might be other
        solutions(wich I be glad to know about), now it's a personal
        affair, I WANT TO DO IT !!! 2 WEEKS I'VE BEEN TRYING !! AAARGH</div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
<a class="moz-txt-link-abbreviated" href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list
UNSUBSCRIBE and account-management -&gt; <a class="moz-txt-link-freetext" href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a></pre>
    </blockquote>
    <br>
    Is it what you are looking for ?<br>
    ++<br>
    <br>
    Jack<br>
    <br>
    <br>
    <br>
  </body>
</html>