Leigh, you can't just hijack an existing discussion thread and post a completely unrelated question. Please open a new thread with your question.
On May 12, 11:04 am, Leigh McRae <[email protected]> wrote: > Hello, > > I am having a problem with what some of the triangles in my static > meshes not being drawn. The static meshes are created once and never > touched again. The class and all the data are marked final. The > triangles disappear based on view point. The code all works on the > BlackBerry and I have checked the data a couple of times. I have > managed to get a missing triangle on the screen and make a save game. > This at least allows me to reload the game with the problem and try > different things. > > So I have disabled all 3d rendering except this mesh and the UI. Here > is what I have tried. > - switched to vbo > - switch to interlaced vertex buffers > - tried float instead of fixed. > - removed IntBuffer and used ByteBuffer > - disabled pretty much every state I could just before the rendering. > Oddly enough disabling culling made one of two triangles appear. > > Really at a lose here. The game takes about 10min to load on the > emulator and then it renders about half of everything but there are no > errors. > > I am using the following: > > Android 2.0.1 > Milestone/Droid > > Here is my config that I use: > > EGL_BUFFER_SIZE: 16 > EGL_RED_SIZE: 5 > EGL_GREEN_SIZE: 6 > EGL_BLUE_SIZE: 5 > EGL_ALPHA_SIZE: 0 > EGL_DEPTH_SIZE: 24 > EGL_STENCIL_SIZE: 8 > EGL_NATIVE_RENDERABLE: 0 > EGL_CONFIG_CAVEAT: EGL_NONE > EGL_LEVEL: 0 > EGL_NATIVE_VISUAL_TYPE: unknown > EGL_SURFACE_TYPE: EGL_WINDOW_BIT EGL_PBUFFER_BIT > EGL_TRANSPARENT_TYPE: EGL_NONE > EGL_MAX_PBUFFER_WIDTH: 2048 > EGL_MAX_PBUFFER_HEIGHT: 2048 > EGL_MAX_PBUFFER_PIXELS: 4194304 > EGL_SAMPLES: 0 > EGL_SAMPLE_BUFFERS: 0 > > -- > > Leigh McRaewww.lonedwarfgames.com > > -- > 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 > athttp://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 [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

