Can somebody take me step-by-step how to draw 2D stuff over a 3D scene
(such as controls, etc.). What I've been doing so far has not been
working (it only draws the 3D scene), which is (in every frame): draw
the 3D scene as normal, projection matrix mode, load identity, call
GLU.gluOrtho2D(gl, 0, myScreenWidthInPixels, 0,
myScreenHeightInPixels), switch the array pointers (vertices and
texture coords) to the ones for my 2D stuff, then drawElements with an
appropriate index list. (then switch the array pointers back so the 3D
stuff works again).

I get nothing added to the screen (just the 3D stuff).

Do I need to be doing something else for it to draw? Can somebody take
me step-by-step?

-- 
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