strange render behavior

Started by kelmer, January 20, 2013, 03:37:38 PM

Previous topic - Next topic

EgonOlsen

Can you provide me with a test case, so that i can see for myself? I have to see this in motion to understand what's going on...

Thomas.

I do not know what you are using for modeling, but blender had problem with normals (maybe were some triangles saved in clockwise and some in counterclockwise). Are these models exactly the same?

kelmer

I solved it. I feel stupid now, I had taken the renderFrame function from QCAR's native code and forgot to comment out the glDisable(DEPTH_TEST) line.

I kept looking in java code and it didn't occur to me that the problem might be in the native code.

Sorry guys and thanks for your kind help (especially EgonOlsen!).






EgonOlsen

Cool! My last resort would have been to try to enable DEPTH_TEST explicitly in an IRenderHook-implementation. That would have solved the problem but not the by finding the actual cause... ;)