I am creating two relatively simple shapes that do not overlap in terms of their geometry.
Below is the code snippet for reference: http://jsfiddle.net/pGD4n/9/
Within this code, there is a Three.js Trackball feature allowing you to click and drag to rotate the objects in 3D space. However, while rotating the objects, some faces disappear, revealing the object underneath. Further rotation may bring back the missing face, but cause others to disappear.
I have experimented with BasicMaterial, Normal Material, and LambertMaterial using both SmoothShading and Flat Shading. I have also tested the scene with and without lighting. Increasing the distance between the objects seems to solve the issue, even though the meshes do not overlap in the provided code example. This problem occurs in both Chrome and Firefox browsers.
I believe switching to the OpenGL renderer could fix the problem, but we require compatibility with the Canvas renderer.
Any assistance or suggestions would be greatly appreciated.