I don't know much of OpenGL too, but I think your triangle is getting the color gray because it has no color itself, and your lights are gray.
check this tutorial, might help you get some pointers: http://blog.jayway.com/2010/01/14/opengl-es-tutorial-for-android-%E2%80%93-part-iv-adding-colors/ On Jul 21, 12:55 am, dsl <[email protected]> wrote: > Hello all, > > I'm fairly new to OpenGL ES and am having a heck of a time trying to > get my material to show up. Right now all I'm looking at is a shaded > gray rotating triangle. At least it looks shaded (light and dark > parts), but now color other than gray. > > I've posted my code here: > > The triangle coordinates, normals, and > material:http://code.google.com/p/davidslamb/downloads/detail?name=Manual.java > > The > renderer:http://code.google.com/p/davidslamb/downloads/detail?name=regularRend... > > I'm using ambient, diffuse, and emission to create the material. And > ambient and diffuse for the light. > > I'm testing on a G1 running Android 1.6. > > Any insight will be helpful. > > Cheers, > David -- 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

