Hi,
I have just began opengl programming in android and i am fairly
new to opengl as well. I've been using nehe's opengl tutorials as well
as insanitydesign's android ports. I successfully managed to create a
cube with a single texture mapped to all its 6 faces. I even mapped
multiple textures to different faces of the cube.
But the way I did it was to create 6 faces seperately, have 6
seperate index and texture buffers and then using glBindTexture() with
the selected texture for each face and then calling glDrawElements.
Isn't there an efficient way around this. Should i use a cube map
texture instead of a GL_TEXTURE_2D?
Any suggestions would be appreciated?
Thanks
--
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