Hi, i'm trying to realise AR in pd.
The problem: I can translate and rotate the cube only on 1 plans, if I try to rotate the marker toward another axis (or plan) the cube don't follow my movement.

How can I do to make all movements in 3d space?

I posted the patch and an image to explain clearly my problem.

Thx to everyone

http://img22.imageshack.us/img22/2696/tvv7.jpg

http://www.pdpatchrepo.info/hurleur/AR.pd