On Apr 2, 2009, at 11:00 PM, Richard S. Wright Jr. wrote:
If the rotation is working based on the accelerometer, I'd say your
pretty much there. Why your not moving forward may depend on the
rest of your code... What do you draw after the
ApplyCameraTransform(), and what is your projection set up as.... I
hope not an orthographic one.... No foreshortening, and it would
look like you are not getting closer to anything because everything
would stay the same size as long as it isn't clipped. You need to
use glFrustum, or some type of gluPerspective replacement. Do you
have my GLFrustum class? This works on the iPhone too.
Yes, I am using frustrum.
I got it working now! Not sure why, but when I set it to move using
values from my drag it worked - not sure why just using 20 (for
testing) did not work.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Mac-opengl mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden