Author
Topic: Wireframes not draw correctly (Read 2314 times)

Hello,I use World.drawWireframe(..., 1, true) to overlay my objects with a wireframe. This works fine most of the time.Recently, I stumbled over a object, whose faces are rendered correcly but the wireframe is not. It seems like some additional "wires" are added at very sharp edges of the object.I added the .obj file to this post. It seems to be consistent when viewing it using MeshLab.Can someone reproduce the error? Is it a bug in jPCT-AE or in my object file?Thank you.

That's well known (at least to me...) and not a bug. It's what i meant when i added this sentence to the docs:

Quote

Because of a "great" design decision in OpenGL ES, the result might not look particularly good though.

I can't remember the reason anymore, but it had something to do with the way in which OpenGL ES handles line drawing. There's no way to fix this, i'm afraid. If possible, revert to rendering points instead. They look fine.