[android-developers] Textures are white on Droid (and not other phones)

2010-02-26 Thread Barrett_A
I'm using GLSurfaceView to render OpengGL 3D. It works great on my nexus one, the emulators, and at least the G1. However, on the droid, the textures are white. I've seen this problem before when textures aren't loaded, and also when they aren't powers of two dimensions (not the case here).

[android-developers] Re: Textures are white on Droid (and not other phones)

2010-02-26 Thread Barrett_A
? Thanks On Feb 26, 8:31 pm, Robert Green rbgrn@gmail.com wrote: Your textures are being scaled and are no longer power-of-two.  Either put them in drawable-nodpi or turn off scaling on the decoder configuration. On Feb 26, 4:05 pm, Barrett_A lbarrettander...@gmail.com wrote: I'm using

[android-developers] Re: Textures are white on Droid (and not other phones)

2010-02-26 Thread Barrett_A
, Barrett_A lbarrettander...@gmail.com wrote: I'm using GLSurfaceView to render OpengGL 3D.  It works great on my nexus one, the emulators, and at least the G1.  However, on the droid, the textures are white.  I've seen this problem before when textures aren't loaded, and also when they aren't

[android-developers] Re: OpenGL Texture Scaling Problem

2010-02-19 Thread Barrett_A
I'm shocked that no one else has had this problem, since all of the examples in the SDK would result in this issue. Here's my fix: glHint(GL_PERSPECTIVE_CORRECTION_HINT,GL10.GL_NICEST); On Feb 17, 11:47 pm, Barrett_A lbarrettander...@gmail.com wrote: I have a texture with 8 equally sized

[android-developers] OpenGL Texture Scaling Problem

2010-02-18 Thread Barrett_A
I have a texture with 8 equally sized stripes that I am using as a wall with OpenGL. On my Nexus One it scales it properly, as the stripes get smaller the further away they get ( http://lbarrettanderson.com/pongGood.png ). However, in emulators and on a G1 (and probably on other hardware), it