object 3D registration in ARToolkit

Apr 24, 2012 at 10:51 PM

hai ...

I'm learning building AR with ARToolkit library.  I conducted some observation from the sourcecode provided by this library, let's say simpletest. and then in draw function I changed the translation value of z axis from 25.0 to 0.0 (original: glTranslatef(0.0, 0.0, 25.0) to glTranslatef(0.0, 0.0, 0.0)). when I did this, I found out that the cube I rendered as if "running" as I rotated my marker along x axis. Meanwhile using the original, it does not "running" when I rotated the marker. Can anyone explain why it was that?

glTranslatef(0.0, 0.0, 0.0)) yields


original: glTranslatef(0.0, 0.0, 25.0)




Apr 25, 2012 at 7:23 AM

Are you sure you're posting to the right forum? Please not that this project doesn't use OpenGL and it's not for the general ARToolkit.

- Rene Schulte