Android/OpenGL programming question

Thomas Milne thomas.bruce.milne-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Fri Sep 2 17:51:54 UTC 2011


Hey there,

A friend of mine posted this question on Facebook/Stackoverflow, thought I
would pass it along:

"Is it possible to create a MIP map in open gl es 1.x that only loads the
texture resolution it is currently rendering?

So instead of loading all the textures resolutions from the largest to the
smallest at once, have the mipmap only store the one it is currently
rendering. Then have the gl load the new resolution textures as I zoom in
and out. This way I could load many large textures onto a surface and zoom
out to view them all at once without having any VM budget issues.

If gl doesn't have a way to do this, is it possible to override the onDraw
function to determine what level of the mipmap is being requested to be
rendered so I can manually load a new texture?"

-- 
Thomas Milne
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gtalug.org/pipermail/legacy/attachments/20110902/127d89d2/attachment.html>


More information about the Legacy mailing list