View Full Version : Movement
Katocan
01-19-2006, 11:46 AM
Hey, new around here and to OpenGL and I was wondering if any of you guys would be able to point me to a tutorial on how to make a picture move with arrow keys. I've got good understanding in langauges as I know quite alot, so I pick up things quick. So if anyone could help me out I would greatly appriciate it.
Thanks for any help. :)
You'll probably want to texture map a quad and either translate your vertexes manually or through the use of the modelview matrix. Here's some information on both:
http://www.rush3d.com/reference/opengl-redbook-1.1/chapter09.html
http://www.rush3d.com/reference/opengl-redbook-1.1/chapter03.html
I personally recommend reading the entire book to get firmly grounded in the basic concepts, if you're not already. Did me a world of good.
Cheers
:)
Katocan
01-19-2006, 12:59 PM
Thanks man I will read every word of these!
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.