Querying Google Earth max texture size

1 回表示 (過去 30 日間)
Michael Sapper
Michael Sapper 2016 年 8 月 24 日
回答済み: Stephen Jue 2016 年 8 月 31 日
The maximum image size (per side) that Google Earth can display can be found through its Help menu. It's a function of one's graphics card.
I'd like to somehow query that value so that I don't create Google Earth image overlays that are too large. Is there any way to do this?

回答 (1 件)

Stephen Jue
Stephen Jue 2016 年 8 月 31 日
The maximum texture size of your graphics card can be queried in MATLAB by using the opengl function, like so:
>> d = opengl('data')
>> d.MaxTextureSize
ans =
16384

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by