Hi, I don't see any image except a blank screen. There may be, and quite likely, more reasons why your figure is not showing (if it is not showing). You may want to check your eye positioning, check your view port, check your frustum etc. More importantly close trace your sample that works and the one that doesn't.
Now coming to winding I believe the following triangles are would in the opposite to the rest The wrong ones are: 7,6,3 7,4,5 0,1,5 2,6,5 Because if you spin a right hand screw in that order the screw needs to go-in or come-out facing the outside of the cube's surface. By that logic they are likely 7,3,6 7,5,4 0,5,1 2,5,6 But again even if they were wrong you would have seen something on the screen. Here is a quick note on winding and hiding a hidden surface http://satyakomatineni.com/item/4230 Here is how to hide hidden surfaces http://satyakomatineni.com/item/4192 Here are my notes on as I have been working through OpenGL http://satyakomatineni.com/item/opengl If it helps here is a free chapter on OpenGL 1.1 and a bit on ES 2.0 http://www.satyakomatineni.com/akc/display?url=DisplayNoteIMPURL&reportId=4060&downerUserId=satya Hope that helps Satya http://satyakomatineni.com/android/training http://satyakomatineni.com http://androidbook.com http://twitter.com/SatyaKomatineni On Sun, Aug 19, 2012 at 7:57 PM, Braindrool <cawehk...@gmail.com> wrote: > I have returned to this group, once again. In search of assistance. > Dealing with OpenGL ES 1.0, I'm having trouble getting back face culling to > work. I have been following a variety of random tutorials that I've found > for OpenGL, but this > one<http://www.droidnova.com/android-3d-game-tutorial-part-v,376.html>in > particular. The sample code works fine, but I'm not sure what I'm doing > wrong. All I know is that it is about how I wind the vertices into the > index buffer. > > For instance, I try to create a cube. I get this. > > <http://imgur.com/07nbH.png> > > > The vertices / indices for that would be: > > [code]float[] coords = { > -0.5f, 0.5f, -0.5f, > -0.5f, -0.5f, -0.5f, > 0.5f, -0.5f, -0.5f, > 0.5f, 0.5f, -0.5f, > -0.5f, 0.5f, 0.5f, > -0.5f, -0.5f, 0.5f, > 0.5f, -0.5f, 0.5f, > 0.5f, 0.5f, 0.5f, > > }; > > short[] indices = new short[] { > //Front > 0,1,2, > 2,3,0, > //Right > 3,2,6, > 7,6,3, > //Back > 7,6,5, > 7,4,5, > //Left > 0,1,5, > 0,4,5, > //Bottom > 1,5,2, > 2,6,5, > //Top > 0,3,4, > 3,7,0, > > };[/code] > > > No idea what I'm doing wrong, help greatly appreciated! > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en