Solved

implimenting zoom and Pan functionality in openGl ES

Posted on 2009-03-29
5
1,341 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
This article was published in 2011 before the proliferation of "free" navigation apps for the iPhone. I have added some edits at the end of this article with some more recent information that applies to newer models of the iPhone. I have used the…
In this Micro Tutorial viewers will learn the basic shortcuts and functions in InDesign.
Learn the basics of inputting and editing your text components in Prezi. We will cover how to set styles, position, and group your text components. In your Prezi editor, click anywhere on the canvas to add text: A flashing cursor informs you that yo…

691 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