jPCT-AE - a 3d engine for Android > Bugs

Wireframes not draw correctly

(1/1)

luftiguru:
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.

I use jPCT-AE from 2013-07-04.

[attachment deleted by admin]

EgonOlsen:
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.

--- End quote ---

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.

luftiguru:
What a pity.
Nevertheless, thanks for the fast reply.

Navigation

[0] Message Index

Go to full version