开发者

What do the Android camera zoom numbers mathematically represent?

开发者 https://www.devze.com 2023-01-15 19:44 出处:网络
I\'m trying to write a basic augmented reality app in Android, but I\'m running into some trouble doing platform-uncoupled calculations becaus开发者_运维技巧e I don\'t know how to interpret the zoom l

I'm trying to write a basic augmented reality app in Android, but I'm running into some trouble doing platform-uncoupled calculations becaus开发者_运维技巧e I don't know how to interpret the zoom levels on Android.

The zoom levels range from 0 - params.getMaxZoom(), but I can't find any documentation about what those zoom levels actually mean (for example, zoom level 0 is obviously 0% zoomed in, but is zoom level 1 like 10% zoomed in?)

Are the zoom levels totally undefined and arbitrary abstractions? I hope not - that would make zoomed-in AR pretty hopeless.


D'oh - looks like I just needed to read the documentation more closely. The answer can be found here: getZoomRatios ()

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号