Solved

implimenting zoom and Pan functionality in openGl ES

Posted on 2009-03-29
5
1,329 Views
Last Modified: 2013-12-06
I want to implement Zooming and Panning functionality into my application using openGL ES (as I am working in Pocket PC 2003 in VS 2005).I am using:

gluPerspectivef(FoVy, width/height, zNear, zFar);
gluLookAtf(eyex, eyey, eyez, centerx, centery, centerz, upx, upy,upz);

....to implement Zooming and panning but it is giving Linking error ( unresolved externals).
Can anyone suggest me any other wayout that will work in openGL ES.
0
Comment
Question by:Suchismita_b
  • 3
  • 2
5 Comments
 
LVL 20

Expert Comment

by:ikework
ID: 24016391
can you show the errors?
0
 

Author Comment

by:Suchismita_b
ID: 24017026
the errors are resolved .but whenever I am using glOrtho or glPerspectivef , result is same . the map image is not at all zooming . I tried several times to tune the parameters to render the image but cant able to solve it . Can you plz sugest me some reference that can clearly states the implementation of zooming functionality in openGL ?
0
 
LVL 20

Accepted Solution

by:
ikework earned 500 total points
ID: 24017105
well there are different ways, how you can have a *zooming* effect


for perspective view:

  just move the camera into the scene to zoom in, and to zoom out, move it out of the scene ..

for ortho-view:

its not that simple, you have to modify the first 4 params of glOrtho


references:

http://www.opengl.org/resources/faq/technical/viewing.htm
http://www.gamedev.net/community/forums/topic.asp?topic_id=390115


can you show us the code?

ike
0
 

Author Comment

by:Suchismita_b
ID: 24046645
thank you . the refernces helped m a lot . I am able to implment panning and zooming functionality
0
 
LVL 20

Expert Comment

by:ikework
ID: 24047761
great to hear that.. have fun and good luck :)

ike
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

Comparing Two Hi-Tech Remote Security Systems When looking at automotive security systems, I was quite intrigued with how far they have progessed. More like a PDA type applications, these newer and top end systems have remote displays to advise o…
I wrote this article because EE Articles rank high in search engines and anytime we can share our experiences where others may benefit from them then we all win. I have a 2002 dodge grand caravan that I bought used in '06 at 65k miles. It's been …
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
Learn how to download your full Prezi presentation for offline presenting. Prezi doesn’t have to be viewed and shared in a web browser, even with a free account you can download your full presentation to share with others. Be sure to download any vi…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now