Click here to Skip to main content
15,885,278 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,

I used Opengl es 2.0 in android. i am doing like Autocad related app in android. i am struggle in panning functionality. here am used for 2d scene GLSurfaceview to draw the line, circle, dashed line etc.. here i am doing for panning option to that glsurfaceview..

i refered more links like this

VB
http://gamedev.stackexchange.com/questions/48372/all-of-my-matrix-functions-not-working-opengl-es-2-0

gamedev.stackexchange.com/questions/48372/all-of-my-matrix-functions-not-working-opengl-es-2-0

http://inst.eecs.berkeley.edu/~cs184/fa09/resources/sec09_camera.pdf

http://stackoverflow.com/questions/13246102/opengl-panning-with-glulookat?rq=1

http://www.felixgers.de/teaching/jogl/gluLookAt.html

http://songho.ca/opengl/gl_transform.html

http://vivin.net/2011/12/04/implementing-pinch-zoom-and-pandrag-in-an-android-view-on-the-canvas/

http://www.opengl.org/archives/resources/faq/technical/viewing.htm

http://stackoverflow.com/questions/3632327/proper-way-to-pan-and-move-camera-in-opengl

http://stackoverflow.com/questions/16115787/opengl-es-2-0-pinch-and-zoom



but, i cant do that pan functionality..
can u suggest any panning sample code for opengles2.0 in android
please anyone help me out from this struggle..

Thanks Advance....
HARI
vhkrishnan.v@gmail.com
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900