World Wind Forums

Go Back   World Wind Forums > WorldWind JAVA forums > Development Help

Development Help Help for building applications or diagnosing problems with WWJ

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 09-22-2007, 02:45 PM   #1
fabrizio.giudici
Senior Member
 
Join Date: May 2007
Location: Milan, Genoa (Italy)
Posts: 112
fabrizio.giudici is on a distinguished road
Default About the orbitView.setZoom()

Thanks to your suggestions of some weeks ago, now I'm able to control the view of my canvas. :-) Also with smooth animations. :-))

Now the question is: what are the proper values for the zoom parameter? I need to fit the view so a certain geographic sector is shown; I had initially wrote down some maths for computing the elevation of the camera, and that worked decently; but I see that the FlyToOrbitViewStateIterator only accepts a 'zoom' parameter. Now, after a few tries, it looks like my maths for the elevation works fine with the zoom too :-)) Is the zoom just an alias for the elevation?
__________________
--
Fabrizio Giudici, Ph.D. - Java Architect, Project Manager
Tidalwave s.a.s. - "We make Java work. Everywhere."
weblogs.java.net/blog/fabriziogiudici - www.tidalwave.it/blog
Fabrizio.Giudici@tidalwave.it - mobile: +39 348.150.6941
fabrizio.giudici is offline   Reply With Quote
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 11:16 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.