|
|
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
http://i48.tinypic.com/2803f4.jpg
original: glTranslatef(0.0, 0.0, 25.0)
http://i50.tinypic.com/2hi8j1e.jpg
thanks
|
|
Coordinator
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
|
|