On Dec 11, 2013, at 8:05 AM, Jeffrey Oleander <jgo...@yahoo.com> wrote:

> * (The posted snippet from sample code was as clear as mud to me.  Why powers 
> of 4 (and -4) instead of 5 when we're talking about 5 levels of detail?
> 1/(2^2) - 2^2 = (1/4) - 4  means "...levelsOfDetail" should be set to 5?!? It 
> needs more words, more context.)


The base level of detail is a zoom level of 2^0 (1 level of detail only allows 
for a single representation like that). Each additional level of detail is a 
zoom level half that size smaller (thus a 2nd level if 2^-1x or 1/2x, then 
2^-2x or 1/4x, etc). The bias adds to the base level’s exponent, thus a bias of 
2 means the base level if 2^2x (4x) zoom instead of 2^0x zoom.

There are no powers of 4, (or 5 or any other except for 2). The level of detail 
is range of the exponent, not the base.
--
David Duncan

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to