kirti, when doing OpenGL programming it's best to actually know what you do. Just copy and pasting code will lead to more problems that you can't solve due to a missing understanding of how OpenGL works. Consider following Robert's suggestion and get your hands on the Red Book and the OpenGL Superbible. Note that you can not directly use everything found in there as those books are for desktop OpenGL which offers functionality not available in OpenGL ES. I therefore also suggest reading the tutorial series on OpenGL ES for the IPhone. The examples are written in Objective-C/C++ but should be very easy to port over to Java. http://iphonedevelopment.blogspot.com/2009/05/opengl-es-from-ground-up-table-of.html.
hth On 15 Apr., 05:56, kirti kaul <[email protected]> wrote: > Thanks,can you give me an example/Snippet on how to use Atlas Texture > in openGL ES? > > On Apr 13, 4:08 pm, Lance Nanek <[email protected]> wrote: > > > Put all the images needed for texturing all the faces into a single > > texture. Then refer to coordinates inside the texture to use different > > parts of it in different places. This is called an atlas texture. I > > suppose it is also possible to draw the different parts in separate > > draw calls with a different texture object bound, or to use a second > > texture unit at the same time. > > > On Apr 12, 1:15 am,kirtikaul <[email protected]> wrote: > > > > Hello, > > > > Can anybody tell me how to apply apply different textures on different > > > faces of acylinder?I am able to apply one texture which covers the > > > wholecylinder.But I want one texture for each face. > > > > Thanks in advance!!!- Hide quoted text - > > > - Show quoted text - -- 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 To unsubscribe, reply using "remove me" as the subject.

