|08-29-2007, 04:40 AM||#1|
Join Date: Aug 2007
How to compute Distance from pixel size
I can compute the pixel size at a distance from the View.
pixelScale = view.computePixelSizeAtDistance(view.com puteHorizonDistance());
I can display the pixel size just calculated as my scale when the zoom value change i compute the new pixel size(Scale). Is their a way i can compute the distance for a given pixel size. Allow the user to change pixel size (scale) then i compute the distance and change the zoom to display the globe at the new scale(pixel size).
|Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)|
|Thread||Thread Starter||Forum||Replies||Last Post|
|How to go to a pixel size||hikme||Technical Support||0||08-28-2007 11:43 PM|
|Scaling Icons by distance from surface||dwilhelmCSC||Developers' Corner||3||06-06-2007 08:41 PM|
|Tilt View: Add Distance movement in the Interface||canosso||Suggestion Box||0||08-23-2005 04:04 PM|
|WorldCamera.cs: Remove distance for tilted view?||canosso||Developers' Corner||4||08-20-2005 11:51 PM|
|Pixel size||vassx||Developers' Corner||2||01-13-2005 07:15 AM|