Monday, December 6, 2010

[android-developers] GL_LINES clipping problem in emulator?

Hi,

I'm having a problem that may be my fault, or may be an emulator
problem, but I'm not sure. I'm using OpenGL GL_LINES to draw a grid-
like object. When the grid is within the view, it draws fine, but
when I translate the grid towards camera, it looks like it's clipping
the lines incorrectly. You can see some sample images and source code
here:

https://docs.google.com/Doc?docid=0ATlFN-46mbTCZGh0ZHJ4ZGZfMTFndzRkNHFjMg&hl=en&authkey=CL3wzdwB

This example is a simplified version of the app I'm writing, which
requires lines drawn between adjacent grid points. I don't get the
artifact when I run the app on my Captivate, so could this be an
emulator bug? Or am I doing something wrong in the source code that's
showing up in the emulator but not my phone? Any help would be
appreciated...

Thanks,

Rob

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate