On 19 April 2010 04:42, risha <[email protected]> wrote:

> Let me know how to set up a background image in opengl
>
Before you render your scene set up an ortho projection and render a quad
with aspect ratio equal to your screen aspect (or just square quad if your
background is a tiling image) then reset camera to your normal scene render
mode and proceed with the rest.
BTW, you can do overlays the same way except in reverse order -- first you
render your scene then you set camera to ortho projection and render your
UI.

HTH,
Max

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to