hi,
I try to render a .obj in parallel projection but I have a problem with the z-culling :
I have attached 2 screenshots : the first with cam.setFrustumPerspective(45.0f, (float)width / (float)height, 0.0001f, 1000); and the second with cam.setParallelProjection(true);
I have set the z-function with :
ZBufferState buf = display.getRenderer().createZBufferState();
buf.setFunction(ZBufferState.TestFunction.LessThan);
buf.setWritable(true);
scene.setRenderState(buf);
(and I have tried the other z-functions but it doesn't solve the problem)
what can I do to solve this problem?
thanks,
delfare